[mkgmap-dev] rounding hyper-accurate elevations ${ele}
From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Feb 12 13:09:18 GMT 2020
Hi, I think the conv filter does what you want. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von J J <joern.de at gmail.com> Gesendet: Mittwoch, 12. Februar 2020 13:42 An: Development list for mkgmap Betreff: [mkgmap-dev] rounding hyper-accurate elevations ${ele} I was slightly surprised when I discovered the altitude "241.934997558594" on my map. This is actually the hyper-accurate information from the database: https://www.openstreetmap.org/node/32969675 (there's any more such examples). Since I do not know the reason for this value, I don't want to change the database. Does mkgmap provide a function similar to Math.round() or should I simply use ${ele|part:".:1"} to skip the decimals?
- Previous message: [mkgmap-dev] rounding hyper-accurate elevations ${ele}
- Next message: [mkgmap-dev] rounding hyper-accurate elevations ${ele}
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list