On Tue, 2008-03-11 at 16:02 +0100, Robert Vollmert wrote: > 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.
That is great, it should fixup a lot of multipolygons which would give problems in the new proposal. I've just fixed another 248 which were shown up by locating all polygons output by the old osm2pgsql algorithm whose outer ring had more than a single way. Jon _______________________________________________ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk