[OSM-talk] areas without holes

Robert Vollmert rvollmert-lists at gmx.net
Wed Mar 12 17:36:45 GMT 2008


On Mar 11, 2008, at 23:02, Jon Burgess wrote:
> 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.

I've gone through relations with id below 3000 now, joining up the  
easy outer rings and setting inner/outer roles where possible (but  
not removing tags from inner ways yet). There's 1122 multipolygons  
left, of which 956 now have a member of role=outer. That should be  
enough to switch to role-based rendering. What do you think?

I think the remaining ones are mostly on the Thames (multipolygons of  
two opposing waterway=riverbank's that are also natural=coastline --  
I'm not sure how the coastline checker would handle closing these  
up). There's also a couple of broken multipolygons from the AND  
imports, e.g. 1445. I've fixed a few, the rest could be left for JOSM 
+validator.

Cheers
Robert





More information about the talk mailing list