24.07.2016, 08:11
(24.07.2016, 07:17)Akira F Wrote: Thank you very much for developing a great software Routeconverter.
Dear Akira,
thank you very much for your posting. Makes me smile
(24.07.2016, 07:17)Akira F Wrote: However, recently the tracks drawn on the map were shifted by about 500m eastward as shown on the attached screen shots. I also attach the GPS file (nmea format, compressed in zip)).
I think this problem did not occur before early June.
There is a new feature in RouteConverter 2.18 that tries to automatically reverse map distortions for China. I choose a very simple definition for what China not is:
Code:
public static boolean outOfChina(double lat, double lng) {
if ((lng < 72.004) || (lng > 137.8347)) {
return true;
}
if ((lat < 0.8293) || (lat > 55.8271)) {
return true;
}
return false;
}You happen to have a track that is definitely outside of China but fails with my automatism.
There is a solution: turn the automatic fix off in Extras/Options/Map/Fix for China
--
Christian
Christian
