On Sat, 2009-12-12 at 10:47 +0100, Nop wrote:
> Hi!
> 
> 
> On second thought, maybe I do understand the problem now.
> 
> Is the evaluation of the tags cumulative? That means if _any_ of the 
> tags attached to a way is declared as polygon in the import style, 
> closed ways are considered polygons?
> 
> This would explain the behaviour, as the name Tag occurs with all types 
> of objects, so it currently is declared as polygon:
> 
> node,way   highway      text         linear
> 
> node,way   name         text         polygon

Yes it is cumulative. name should be listed as a linear tag

If you refer back to one of my previous answer in this thread I had
tried to explain this already:
https://lists.berlios.de/pipermail/mapnik-users/2009-November/002562.html


> 
> What is the inteded way to resolve this?
> - Change the name tag to linear also?

yes, this is how it is in the default.style as supplied with osm2pgsql.

> - Or always provide an area=no to override the polygon assumption?
> bye
>       Nop
> 


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

Reply via email to