[mkgmap-dev] rounding hyper-accurate elevations ${ele}
From J J joern.de at gmail.com on Wed Feb 12 12:42:51 GMT 2020
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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200212/03b207b8/attachment.html>
- Previous message: [mkgmap-dev] Minor documentation update
- Next message: [mkgmap-dev] rounding hyper-accurate elevations ${ele}
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list