[OSM-talk] areas without holes
Robert Vollmert
rvollmert-lists at gmx.net
Tue Mar 11 15:02:34 GMT 2008
Hello,
the attached script joins up the ways in multipolygons that satisfy
the following:
all members are non-closed ways with role=""
all members share the same tags (apart from created_by)
by reversing some of the ways, they form one long way
The member ways are merged into one long way and the relation is
deleted.
I've run it on relations with id below 1000. It fixed about 300.
Cheers
Robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: connectmulti.py
Type: text/x-python-script
Size: 2156 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080311/a482ddf6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osm.py
Type: text/x-python-script
Size: 3006 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080311/a482ddf6/attachment-0001.bin>
More information about the talk
mailing list