Kaydet (Commit) 075f13e4 authored tarafından Sergey Fedoseev's avatar Sergey Fedoseev Kaydeden (comit) Tim Graham

Refs #27556, #27488 -- Updated support backends docs for isvalid lookup.

üst b00ee547
......@@ -306,7 +306,8 @@ SpatiaLite ``Intersects(poly, geom)``
``isvalid``
-----------
*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.
......@@ -314,9 +315,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment