Changes between Version 2 and Version 3 of GeoDjango
- Timestamp:
- Feb 25, 2007, 12:27:25 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GeoDjango
v2 v3 5 5 == Custom Manager == 6 6 A custom manager (and queryset) to support lookups like: 7 8 {{{ 9 Schools.objects.filter(geom__overlaps=bbox.geom) # && 10 11 Schools.objects.filter(geom__contains=bbox.geom) # ~ 12 13 Schools.objects.filter(geom__sameas=bbox.geom) # ~= 14 15 Schools.objects.filter(geom__inside=bbox.geom) # @ 16 }}} 17 18 == Field Types == 19 Field type for a geometry 20 21 22 == GIS wrapper = 23 wrapper for geos, have the ability to do something like 24 from django.contrib.gis import area 25 26 area(foo) 27 28 7 29 ... more to come :P 30