Open SirVer opened 5 years ago
Hmm, that's interesting. I wonder where the error comes form:
There is more information about this coordinate system here: https://alastaira.wordpress.com/2011/01/23/the-google-maps-bing-maps-spherical-mercator-projection/
Unfortunately it does not contain any information about the tiling system, but that one seems quite simple in comparison.
I'd be happy if you could tell me what you are able to find if you manage to dig through all of this. More test data is of course very welcome, in any case.
Unfortunately I cannot provide much more insights. I treat webmercator -> lat/lng/alt as a blackbox in my tooling currently. But I know that the answer from the web tool are consistent with what I was expecting to get and also aligns with what qGis is requesting and displaying.
This code snippet:
Results in this output in my case:
The lat lng are very wrong here. The correct output is given by for example this tool: http://oms.wff.ch/calc.htm
lon: -122.15011596679688 lat: 37.408346344484976