mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #27488 -- Added SpatiaLite suppport for IsValid, MakeValid, and __isvalid.
This commit is contained in:
parent
3ce212a23c
commit
45e01df373
4 changed files with 25 additions and 9 deletions
|
@ -298,11 +298,15 @@ intersection between them.
|
|||
|
||||
.. versionadded:: 1.10
|
||||
|
||||
*Availability*: PostGIS
|
||||
*Availability*: PostGIS, SpatiaLite (LWGEOM)
|
||||
|
||||
Accepts a geographic field or expression and tests if the value is well formed.
|
||||
Returns ``True`` if its value is a valid geometry and ``False`` otherwise.
|
||||
|
||||
.. versionchanged:: 1.11
|
||||
|
||||
SpatiaLite support was added.
|
||||
|
||||
``Length``
|
||||
==========
|
||||
|
||||
|
@ -327,13 +331,17 @@ resource-intensive) with the ``spheroid`` keyword argument.
|
|||
|
||||
.. versionadded:: 1.10
|
||||
|
||||
*Availability*: PostGIS
|
||||
*Availability*: PostGIS, SpatiaLite (LWGEOM)
|
||||
|
||||
Accepts a geographic field or expression and attempts to convert the value into
|
||||
a valid geometry without losing any of the input vertices. Geometries that are
|
||||
already valid are returned without changes. Simple polygons might become a
|
||||
multipolygon and the result might be of lower dimension than the input.
|
||||
|
||||
.. versionchanged:: 1.11
|
||||
|
||||
SpatiaLite support was added.
|
||||
|
||||
``MemSize``
|
||||
===========
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue