On Mon, Jun 14, 2010 at 12:15 PM, Peter Freimuth <[email protected]> wrote: > Hi, > i asked for this allready on the gdal-dev list because i am using the > python gdal/ogr api to check incoming features from shapefiles. > The main problem is, that i would like to get the reason for IsValid() > failed. As shapely is somehow a wrapper for geos i would like to know if > there is a version available which allready support this method and if > possible to get an usage example. > > Thanks
Hi Peter, Not currently implemented in Shapely. If you will submit a ticket to http://trac.gispython.org/lab/newticket I will be happy to do something about it. In the meantime, you could write code to access libgeos_c via ctype. It's not too tricky, but as you can see in the Shapely or GeoDjango code you need to be careful with strings allocated by GEOS. Cheers, -- Sean _______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
