Hello Sean, thanks a lot for your prompt response...and for all the work at shapely: I'm pratically fond of it :)
No problem then, I'll wait for the trunk to stabilize. Btw the change into numpy interoperability is very welcome: I find myself using zip a lot of times to get back and forth the two representation. Mario On Mon, Apr 27, 2009 at 5:38 PM, Sean Gillies <[email protected]> wrote: > Mario, the trunk is unstable until later this week, when I hope to be > able to tag a 1.1 alpha. > > There will be a change in 1.1 that affects interoperability with > Numpy. Shapely 1.0 expected Numpy arrays that were out of synch with > the way arrays are used with matplotlib. Shapely 1.1 uses Python > arrays to store coordinates and it's more natural now to expect Numpy > arrays like: array((x1, x2, ... xN), (y1, y2, ... yN)). Better > performance too. > > Sean > > On Apr 27, 2009, at 5:20 AM, Mario Ceresa wrote: > >> Hi everybody! >> I checked out Shapely r1237 (1.1) from svn because I'd like to use the >> prepared geometries, but I have an error for this simple case: >> >> import numpy as np >> from shapely.geometry.multipoint import asMultiPoint >> points = np.random.random((100,2)) >> mp = asMultiPoint(points) >> ch = mp.convex_hull >> ch.exterior is None >> >> True. >> >> with version 1.0.12 it was working. >> >> Is there something that I'm missing? >> >> Thanks and regards >> >> Mario >> _______________________________________________ >> Community mailing list >> [email protected] >> http://lists.gispython.org/mailman/listinfo/community > > _______________________________________________ > Community mailing list > [email protected] > http://lists.gispython.org/mailman/listinfo/community > _______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
