[mkgmap-dev] RE Commit r3801: merge split-shape branch
From Gerd Petermann GPetermann_muenchen at hotmail.com on Tue Feb 21 11:45:49 GMT 2017
Hi Andrzej, no, it causes lots of problems. For example, the bounding box for planet is (-90.0, -180.0, 90.0, 180.0). If we don't distinct the positions of the left side from the right the area is a line with width 0. The funny thing is that the precision in OSM doesn't even use all possible 32 bit integers, only those for -180 * 10_000_000 to 180 * 10_000_000 so the extreme values near Integer.MAX_VALUE are never used (at least that is the conversion done in pbf or o5m format). I think about using this format for Coord and maybe also Area. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <popej at poczta.onet.pl> Gesendet: Dienstag, 21. Februar 2017 12:23:57 An: mkgmap-dev at lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] RE Commit r3801: merge split-shape branch Hi Gerd, > I found new problems, e.g. 180.0 degrees and -180.0 degrees started > to give the same 32 bit value. Isn't it good? The same is true for 24 bit precision and even for 8bit angles. -- Best regards, Andrzej _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] RE Commit r3801: merge split-shape branch
- Next message: [mkgmap-dev] RE Commit r3801: merge split-shape branch
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list