diff options
Diffstat (limited to 'docs/ref/contrib/gis/layermapping.txt')
-rw-r--r-- | docs/ref/contrib/gis/layermapping.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/ref/contrib/gis/layermapping.txt b/docs/ref/contrib/gis/layermapping.txt index 8aef4a1614..9d9fee988f 100644 --- a/docs/ref/contrib/gis/layermapping.txt +++ b/docs/ref/contrib/gis/layermapping.txt @@ -25,8 +25,8 @@ then inserting into a GeoDjango model. that :class:`LayerMapping` is using too much memory, set :setting:`DEBUG` to ``False`` in your settings. When :setting:`DEBUG` is set to ``True``, Django :ref:`automatically logs <faq-see-raw-sql-queries>` - *every* SQL query -- thus, when SQL statements contain geometries, it is - easy to consume more memory than is typical. + *every* SQL query -- and when SQL statements contain geometries, this may + consume more memory than is typical. Example ======= @@ -75,10 +75,10 @@ Example Saved: Name: 2 Saved: Name: 3 -Here, :class:`LayerMapping` just transformed the three geometries from the -shapefile in their original spatial reference system (WGS84) to the spatial -reference system of the GeoDjango model (NAD83). If no spatial reference -system is defined for the layer, use the ``source_srs`` keyword with a +Here, :class:`LayerMapping` transformed the three geometries from the shapefile +in their original spatial reference system (WGS84) to the spatial reference +system of the GeoDjango model (NAD83). If no spatial reference system is +defined for the layer, use the ``source_srs`` keyword with a :class:`~django.contrib.gis.gdal.SpatialReference` object to specify one. ``LayerMapping`` API |