logo separator

[mkgmap-dev] Need help with string handling in mkgmap

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Feb 15 14:30:48 GMT 2018

Hi Manfred,

I've just noticed that you set tags mkgmap:height and mkgmap:ele .
This looks strange. They are not used in mkgmap and therefore I think you
should not use the mkgmap: prefix.
Or maybe you expect something special by using this prefix?

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Manfred Haiduk <mhaiduk at t-online.de>
Gesendet: Donnerstag, 15. Februar 2018 15:01:21
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] Need help with string handling in mkgmap

Hi, i'm struggling with the following problem and until now, i didn't
find a solution. It seems, that in osm sometimes the height or elevation
tag is filled with the unit sign, i.e 'm' and sometimes not. So with my
current point file i either get elevation without the unit letter or
with double unit letter - i.e 'Mm'. How to handle this ?

I tried with this

height=* { set mkgmap:height='${height|subst:"m=>"}'}
ele=* { set mkgmap:ele='${ele|subst:"m=>"}'}

but it doesn't work

--

  Mit freundlichen Grüßen

#####################################################
Manfred Haiduk,
Zum Fischbach 9,
52393 Hürtgenwald
e-mail mhaiduk at t-online.de
#####################################################

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list