logo separator

[mkgmap-dev] objects with line and polygon

From Charlie Ferrero charlie at cferrero.net on Sun Feb 20 04:20:51 GMT 2011

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



More information about the mkgmap-dev mailing list