Search code examples
geolocationutm

From Latitude and Longitude to absolute X, Y coordinates


I have a series of Lat/Long coords. I need to transform it in X, Y coordinates. I've read about UTM, but the problem is that UTM coordinates are relatives to a single zone.

For example, this two coordinates UTM has the same Easting (x) and Northing (y) but different code zone, and so each coords point to a completly different location (one in spain and one in italy):

I need a method to automatically transform that relatives coord in absolute X, Y coordinates. Ideas?


Solution

  • Does it have to be UTM? If not, you can also use Mercator, which is a simpler projection that doesn't rely on zones.

    See, for example, the Bing Maps system.