|Reported by:||rcoup||Owned by:||jbronn|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When you're messing with geometries it's handy to find out the reason why they're invalid. GEOS >= v3.1 supports GEOSisValidReason() for that purpose - returning a string about why a geometry is invalid. The attached patch adds support to the GeoDjango GEOS bindings as GEOSGeometry.valid_reason.
Tests, docs, and error-chucking for GEOS <v3.1 are included.
Change History (5)
Changed 5 years ago by rcoup
Changed 5 years ago by jbronn
comment:1 Changed 5 years ago by jbronn
- Needs documentation unset
- Needs tests unset
- Owner changed from nobody to jbronn
- Patch needs improvement unset
- Status changed from new to assigned