diff options
| author | Claude Paroz <claude@2xlibre.net> | 2015-01-30 20:23:23 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2015-04-22 19:54:17 +0200 |
| commit | 1b1b58bc7b2917b203ee3eb3b9e8b3a1fafaee64 (patch) | |
| tree | 325439a12e28703ad1cfc9f9d18acb6309cdd665 /docs/ref/contrib/gis/tutorial.txt | |
| parent | ea27e26b0907e74ab8d6c46a9694775a310fdc67 (diff) | |
Documented GeoQuerySet replacement by functions
Diffstat (limited to 'docs/ref/contrib/gis/tutorial.txt')
| -rw-r--r-- | docs/ref/contrib/gis/tutorial.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt index ea78274781..977e059d4b 100644 --- a/docs/ref/contrib/gis/tutorial.txt +++ b/docs/ref/contrib/gis/tutorial.txt @@ -631,8 +631,8 @@ a ``contains`` lookup using the ``pnt_wkt`` as the parameter:: >>> qs [<WorldBorder: United States>] -Here, you retrieved a ``GeoQuerySet`` with only one model: the border of -the United States (exactly what you would expect). +Here, you retrieved a ``QuerySet`` with only one model: the border of the +United States (exactly what you would expect). Similarly, you may also use a :doc:`GEOS geometry object <geos>`. Here, you can combine the ``intersects`` spatial lookup with the ``get`` @@ -718,8 +718,12 @@ the GEOS library:: >>> pnt.contains(sm.mpoly) False -``GeoQuerySet`` Methods ------------------------ +Geographic annotations +---------------------- + +GeoDjango also offers a set of geographic annotations to compute distances and +several other operations (intersection, difference, etc.). See the +:doc:`functions` documentation. Putting your data on the map |
