objects with line and polygon

Hi, I have some problems to create a style with draws objects correct, which have a line and polygon tag. For example http://www.openstreetmap.org/browse/way/37712194 On my maps, only "barrier = fence" is drawn, but the landuse tag is ignored. On www.streetmap.org, it is mapped "correct". How can I modify the style file, so that the line and landuse are drawn? Thanks, Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Markus Rex, HRB 16746 (AG Nuernberg)

On 20/02/2011 03:51, Thorsten Kukuk wrote:
Hi,
I have some problems to create a style with draws objects correct, which have a line and polygon tag.
For example http://www.openstreetmap.org/browse/way/37712194
On my maps, only "barrier = fence" is drawn, but the landuse tag is ignored. On www.streetmap.org, it is mapped "correct".
How can I modify the style file, so that the line and landuse are drawn?
Thanks, Thorsten
Use a continue statement in the lines definitions, e.g. barrier=fence [0x?? resolution 23 continue] This enables the landuse to be processed by the polygons style file subsequent to the lines processing. You can see a working example of this in this screenshot: http://www.cferrero.net/maps/shot_AD_detail2.html (park with wall around the outside). -- Charlie

On Sun, Feb 20, Charlie Ferrero wrote:
Use a continue statement in the lines definitions, e.g.
barrier=fence [0x?? resolution 23 continue]
This enables the landuse to be processed by the polygons style file subsequent to the lines processing.
Thanks! It's working fine. Didn't know that this works now cross files, I only found an older discussion where it did not work.
You can see a working example of this in this screenshot: http://www.cferrero.net/maps/shot_AD_detail2.html (park with wall around the outside).
Between, your link to your style file is broken. Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Markus Rex, HRB 16746 (AG Nuernberg)
participants (2)
-
Charlie Ferrero
-
Thorsten Kukuk