#14318: Add GEOSGeometry.valid_reason -------------------+-------------------------------------------------------- Reporter: rcoup | Owner: nobody Status: new | Milestone: Component: GIS | Version: SVN Keywords: geos | Stage: Unreviewed Has_patch: 1 | -------------------+-------------------------------------------------------- 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. -- Ticket URL: <http://code.djangoproject.com/ticket/14318> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
