Hi!

Jon Burgess schrieb:
> Everything should work fine if you:
> - leave highway set as linear
> - add the area=yes tag to your pedestrian areas.
> 
> The area=yes tag will trigger osm2pgsql to emit this closed way as a
> polygon.

I have remapped the pedestrian areas to no longer use the highway tag, 
so they are out of the equation.

The import style is now

node,way   highway      text         linear


But still, some roundabouts are imported as lines and rendered correctly 
and some are imported into the *osm_polygon table. The only difference 
seems to be the name-Tag. Circular highways without a name seem to be 
treated as lines while circular highways with a name are imported as 
polygons.

E.g.

<way id="14986398">
   <nd ref="148008213"></nd>
   <nd ref="508823771"></nd>
...
   <nd ref="508823784"></nd>
   <nd ref="148008213"></nd>
     <tag k="ref" v="SP 118"></tag>
     <tag k="highway" v="primary"></tag>
     <tag k="name" v="Strada Provinciale 118"></tag>
     <tag k="render_layer" v="4"></tag></way>

=> imported as a polygon, not rendered


<way id="14986396">
   <nd ref="299652852"></nd>
   <nd ref="304028403"></nd>
...
   <nd ref="304028414"></nd>
   <nd ref="299652852"></nd>
     <tag k="ref" v="SS 45 bis"></tag>
     <tag k="highway" v="primary"></tag>
     <tag k="render_layer" v="4"></tag></way>

=> imported as a line, rendered properly


Can you please explain what rules osm2pgsql is applying here?
Which tags are needed to force all imports as lines?

thanks
        Nop
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to