Hello Shapely users,

Since version 1.2, you may have been seeing KeyError exceptions when
you try to use a method that isn't supported by your GEOS library,
such as with the linear interpolation methods (object.project or
object.interpolate) when GEOS version < 3.1. I propose that Shapely
raise AttributeError instead as I've been discussing at
http://github.com/sgillies/shapely/issues/#issue/1.

Now, the exceptions we raise are a facet of the API, and therefore
this constitutes an API change that I'd like to run by users before
committing. Is anyone currently catching KeyError in their own
Shapely-using code. Any objections to a change to AttributeError?

-- 
Sean
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to