Search code examples
google-mapsgpsopenstreetmapweather-apiapple-maps

Weird Coordinate System


I get these coordinates from a weather API which is totally undocumented :

"coordinates":["2615074.270000","6050614.270000"],"zoom":1

Do you have any idea what coordinate system it represents? How can I convert it to a lat/long system?

Thank you in advance!


Solution

  • I'm fairly certain the location is in Romania.

    The coordinate system appears to be EPSG:3857 WGS 84 / Pseudo-Mercator and we're more used to EPSG:4326 WGS 84 (what gmaps is using).

    Tip: proj4js is pretty useful for converting coords. Here's an example.