Version 10 (modified by Jeremy Dunck <jdunck@…>, 12 years ago) (diff)


The gis branch intends to add a contrib app implementing geographic support.


Custom Manager

A custom manager (and queryset) to support lookups like:

Schools.objects.filter(geom__overlaps=bbox.geom)   # &&

Schools.objects.filter(geom__contains=bbox.geom)  # ~

Schools.objects.filter(geom__sameas=bbox.geom)  # ~=

Schools.objects.filter(geom__inside=bbox.geom)  # @

Field Types

Field type for a geometry

GIS wrapper

wrapper for geos, have the ability to do something like

from django.contrib.gis import area

... more to come :P

Back to Top