[Community] Shapely: LineMerger
Sean Gillies
sean.gillies at gmail.com
Thu Jan 14 11:41:39 EET 2010
On Jan 14, 2010, at 9:06 AM, Oliver Tonnhofer wrote:
> Hi everyone,
>
> I would like to see GEOS LineMerger in Shapely (1.2 if possible).
> There is already a ctypes declaration but there is no Python function.
> I can provide a patch but against which version/branch? I can't get
> trunk to work, the 1.2 branch works fine.
>
> I would suggest to put it in shapely.ops. Maybe
> linemerge(linestringiterator_or_multilinestring)?
>
> Regards,
> Oliver
I'm open to new features for 1.2. Nevermind about the trunk for now. A
patch would be great, especially if you'll add a test that gets
included in shapely/tests/__init__.py and thereby runs under "setup.py
test". The function name seems right to me.
What GEOS version will this require? If 3.2, which I'm leaning toward
supporting, we're going to need to make Shapely a little more user
friendly in how it fails in the case of inadequate GEOS version.
Will you register on the wiki and attach the patch to a new ticket?
http://trac.gispython.org/lab/wiki
Cheers,
--
Sean
More information about the Community
mailing list