From b0207ac674949c67e2a81da57ea33b2c82d7b517 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Wed, 29 Jan 2020 09:35:18 +0100 Subject: [PATCH] [3.0.x] Updated the GeoJSON format specification link to RFC 7946. Backport of 5978de2ec0787c8912349a72a7143c33f62b980b from master --- docs/ref/contrib/gis/db-api.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/ref/contrib/gis/db-api.txt b/docs/ref/contrib/gis/db-api.txt index ad896f3e5d..769be1a906 100644 --- a/docs/ref/contrib/gis/db-api.txt +++ b/docs/ref/contrib/gis/db-api.txt @@ -78,9 +78,9 @@ transform procedure:: Thus, geometry parameters may be passed in using the ``GEOSGeometry`` object, WKT (Well Known Text [#fnwkt]_), HEXEWKB (PostGIS specific -- a WKB geometry in -hexadecimal [#fnewkb]_), and GeoJSON [#fngeojson]_. Essentially, if the input is -not a ``GEOSGeometry`` object, the geometry field will attempt to create a -``GEOSGeometry`` instance from the input. +hexadecimal [#fnewkb]_), and GeoJSON (see :rfc:`7946`). Essentially, if the +input is not a ``GEOSGeometry`` object, the geometry field will attempt to +create a ``GEOSGeometry`` instance from the input. For more information creating :class:`~django.contrib.gis.geos.GEOSGeometry` objects, refer to the :ref:`GEOS tutorial `. @@ -413,7 +413,6 @@ Aggregate PostGIS Oracle SpatiaLite .. rubric:: Footnotes .. [#fnwkt] *See* Open Geospatial Consortium, Inc., `OpenGIS Simple Feature Specification For SQL `_, Document 99-049 (May 5, 1999), at Ch. 3.2.5, p. 3-11 (SQL Textual Representation of Geometry). .. [#fnewkb] *See* `PostGIS EWKB, EWKT and Canonical Forms `_, PostGIS documentation at Ch. 4.1.2. -.. [#fngeojson] *See* Howard Butler, Martin Daly, Allan Doyle, Tim Schaub, & Christopher Schmidt, `The GeoJSON Format Specification `_, Revision 1.0 (June 16, 2008). .. [#fndistsphere15] *See* `PostGIS documentation `_ on ``ST_DistanceSphere``. .. [#fnmysqlidx] *See* `Creating Spatial Indexes `_ in the MySQL Reference Manual: