logo separator

[mkgmap-dev] Is it possible with --add-poi-to-lines option and style rules to create pois only for ways with a min/max/equal length?

From WanMil wmgcnfg at web.de on Sun Oct 27 12:30:15 GMT 2013

Hi Gert,

as you found out yourself it does not work with current mkgmap releases.

Instead you might use the additional tag mkgmap:line2poitype to reduce 
the poi clutter.
Example in the points file:
mgkmap:line2poitype!=mid { set mkgmap:line2poi=false }

This sets the mkgmap:line2poi tag to false for all points that are not 
the mid point of a line.

WanMil

> Hi,
>
> i try to create a map including hiking trail markings usin r2748.
>
> So far i succeded using --add-poi-to-lines option and making the needed setting  within relation and points style files.
> For every way part of a hiking route a poi is created.
>
> But to prevent map to be overcrowded by those trail marking pois, i would like to create those kind of POIs only for way parts with a minimum length.
>
> Something like "highway=* & length() >100 {set mkgmap:line2poi=false}" in the lines file, doesn't seems to work.
> (As far as i read meanwhile, points are processed before lines, so this can't work.)
>
> Is there a way with actuall code version to achieve it?
>
> best regards
>
> Gert
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



More information about the mkgmap-dev mailing list