Fixed #17423 -- Fixed three typos in GeoDjango docs. Thanks, DavidEklund

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2011-12-17 02:00:20 +00:00
parent 6cca104be0
commit a848ef4e57
2 changed files with 4 additions and 5 deletions

View File

@ -200,7 +200,7 @@ Geography Type
^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
In PostGIS 1.5, the geography type was introduced -- it provides In PostGIS 1.5, the geography type was introduced -- it provides
provides native support for spatial features represented with geographic native support for spatial features represented with geographic
coordinates (e.g., WGS84 longitude/latitude). [#fngeography]_ coordinates (e.g., WGS84 longitude/latitude). [#fngeography]_
Unlike the plane used by a geometry type, the geography type uses a spherical Unlike the plane used by a geometry type, the geography type uses a spherical
representation of its data. Distance and measurement operations representation of its data. Distance and measurement operations

View File

@ -650,7 +650,7 @@ a coordinate system specific to south Texas **only** and in units of
>>> from django.contrib.gis.geos import * >>> from django.contrib.gis.geos import *
>>> pnt = Point(954158.1, 4215137.1, srid=32140) >>> pnt = Point(954158.1, 4215137.1, srid=32140)
Note that ``pnt`` may also constructed with EWKT, an "extended" form of Note that ``pnt`` may also be constructed with EWKT, an "extended" form of
WKT that includes the SRID:: WKT that includes the SRID::
>>> pnt = GEOSGeometry('SRID=32140;POINT(954158.1 4215137.1)') >>> pnt = GEOSGeometry('SRID=32140;POINT(954158.1 4215137.1)')
@ -771,8 +771,7 @@ First, there are some important requirements and limitations:
* :class:`~django.contrib.gis.admin.OSMGeoAdmin` requires that the * :class:`~django.contrib.gis.admin.OSMGeoAdmin` requires that the
:ref:`spherical mercator projection be added <addgoogleprojection>` :ref:`spherical mercator projection be added <addgoogleprojection>`
to the to be added to the ``spatial_ref_sys`` table (PostGIS 1.3 and to the ``spatial_ref_sys`` table (PostGIS 1.3 and below, only).
below, only).
* The PROJ.4 datum shifting files must be installed (see the * The PROJ.4 datum shifting files must be installed (see the
:ref:`PROJ.4 installation instructions <proj4>` for more details). :ref:`PROJ.4 installation instructions <proj4>` for more details).