[OSM-talk] unkown coordinate encoding
immanuel.scholz at gmx.de
immanuel.scholz at gmx.de
Mon Mar 27 21:32:51 BST 2006
Hi,
> <trkpt lat="44.477135" lon="26.114385">
...
> 219065058 and 373101418
Well. if there ratio fits, then they are linear dependend of the real
latitude/longitude. So why "break" the coding? Just go out, measure some more
points with your working unit and calculate
factor1 = 373101418 / 44.477135
factor2 = 219065058 / 26.114385
factor3 = ...
...
factor = median(factor1, factor2, ...)
and then
lon = measured_first_uint * factor
lat = measured_second_uint * factor
Ciao, Imi.
More information about the talk
mailing list