diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2017-03-23 22:07:50 +0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-03-23 13:08:46 -0400 |
| commit | 37b28c9d7aab12e52c7f93fe91a3d357e669139e (patch) | |
| tree | bf431e653c455a4fbd288f949260d8b8b0c510f0 /docs | |
| parent | 04a2fd5e009893cf44be0481a140391b3710ec83 (diff) | |
[1.11.x] Refs #27556, #27488 -- Updated support backends docs for isvalid lookup.
Backport of 075f13e44f203ee04f0c3abffc7d7a86c672cfe8 master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/gis/geoquerysets.txt | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/docs/ref/contrib/gis/geoquerysets.txt b/docs/ref/contrib/gis/geoquerysets.txt index 29856e10ab..12c7460b97 100644 --- a/docs/ref/contrib/gis/geoquerysets.txt +++ b/docs/ref/contrib/gis/geoquerysets.txt @@ -314,7 +314,8 @@ SpatiaLite ``Intersects(poly, geom)`` .. versionadded:: 1.10 -*Availability*: `PostGIS <https://postgis.net/docs/ST_IsValid.html>`__ +*Availability*: `PostGIS <https://postgis.net/docs/ST_IsValid.html>`__, +Oracle, SpatiaLite Tests if the geometry is valid. @@ -322,9 +323,16 @@ Example:: Zipcode.objects.filter(poly__isvalid=True) -PostGIS equivalent:: +=================== ================================================================ +Backend SQL Equivalent +=================== ================================================================ +PostGIS, SpatiaLite ``ST_IsValid(poly)`` +Oracle ``SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(poly, 0.05) = 'TRUE'`` +=================== ================================================================ + +.. versionchanged:: 1.11 - SELECT ... WHERE ST_IsValid(poly) + Oracle and SpatiaLite support was added. .. fieldlookup:: overlaps |
