Fixed #14318 -- Added GEOSGeometry.valid_reason property. Thanks, Rob Coup.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Justin Bronn 2010-11-04 01:29:37 +00:00
parent 877033b479
commit cabc21ca60
5 changed files with 54 additions and 7 deletions

View file

@ -219,6 +219,12 @@ definition.
Returns a boolean indicating whether the geometry is valid.
.. attribute:: GEOSGeometry.valid_reason
.. versionadded:: 1.3
Returns a string describing the reason why a geometry is invalid.
.. attribute:: GEOSGeometry.srid
Property that may be used to retrieve or set the SRID associated with the