Hi,

Thank you Gerd !

My tests…

1.
mkgmap:line2poi=true & noexit=yes {delete noexit}
mkgmap:line2poi=true & mkgmap:line2poitype=end & noexit=yes [0x2802
resolution 24]
noexit=yes [0x2802 resolution 24]

-> no icon on ways. Just icon if the way was not tagged (but just a
node). Not good.

2.
#mkgmap:line2poi=true & noexit=yes {delete noexit}
mkgmap:line2poi=true & mkgmap:line2poitype=end & noexit=yes [0x2802
resolution 24]
noexit=yes [0x2802 resolution 24]

-> all the icons. Not good.

3.
#mkgmap:line2poi=true & noexit=yes {delete noexit}
mkgmap:line2poi=true & mkgmap:line2poitype=end & noexit=yes [0x2802
resolution 24]
#noexit=yes [0x2802 resolution 24]

-> icon at the end of the ways but no icon if the way was not tagged
(but just a node). Not good.

An idea what I am doing wrong ?

Le 29/04/2016 16:52, Gerd Petermann a écrit :
> Hi Steph,
> 
> please check the help:
> --add-pois-to-lines
>       Generate POIs for lines. For each line (must not be closed) POIs are
>       created at several points of the line. Each POI is tagged with the
>       same tags like the line and additional tags added by mkgmap:
>       mkgmap:line2poi=true and tag mkgmap:line2poitype having
>       the following values:
>          * start  - The first point of the line
>          * end    - The last point of the line
>          * inner  - Each point of the line except the first and the last 
>          * mid    - The middle point
>  
> So you probably want to add & mkgmap:line2poitype=end to your rule.
> I see one open problem: When the mapper did not check the direction of the way
> the POI will be at the wrong end
> 
> Gerd
> 
> ________________________________________
> Von: mkgmap-dev <[email protected]> im Auftrag von 
> Stéphane MARTIN <[email protected]>
> Gesendet: Freitag, 29. April 2016 16:14
> An: [email protected]
> Betreff: [mkgmap-dev] Just one icon for "noexit" ?
> 
> Hi,
> 
> Does someone have a tip to display a no exit icon only at the end of a way ?
> 
> http://wiki.openstreetmap.org/wiki/Key:noexit
> The tag "noexit" can be on a way or on a point.
> 
> I use "--add-pois-to-lines", resulting in an icon for all the points of
> the line and it's too much !
> 
> Got just "noexit=yes [0x2802 resolution 24]" in my points file.
> 
> Steph

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to