0
0
mirror of https://github.com/django/django.git synced 2024-11-30 07:06:18 +01:00

Fixed GEOSGeometry reference in GIS tutorial.

This commit is contained in:
Sergey Fedoseev 2017-06-27 01:10:07 +06:00 committed by Tim Graham
parent c432927160
commit 964e490847

View File

@ -657,9 +657,10 @@ __ http://spatialreference.org/ref/epsg/32140/
Lazy Geometries
---------------
GeoDjango loads geometries in a standardized textual representation. When the
geometry field is first accessed, GeoDjango creates a `GEOS geometry object
<ref-geos>`, exposing powerful functionality, such as serialization properties
for popular geospatial formats::
geometry field is first accessed, GeoDjango creates a
:class:`~django.contrib.gis.geos.GEOSGeometry` object, exposing powerful
functionality, such as serialization properties for popular geospatial
formats::
>>> sm = WorldBorder.objects.get(name='San Marino')
>>> sm.mpoly