Easting northing to latitude longitude

Bahamut picture Bahamut · Oct 24, 2011 · Viewed 66.3k times · Source

I've got coordinates of location in easting/northing format but I need to convert it to proper lat long to center it in bing maps. Any formula or details how to convert easting/northing to lat/lon?

EDIT: To be more specific, I need to convert SVY21 coordinates to the to WGS84

Answer

Peter O. picture Peter O. · Oct 29, 2011

Eastings and northings are distances east and north, respectively, of a base point. The base point is usually a latitude and longitude, and eastings and northings are normally expressed in meters or feet. The easting and northing, however, is usually offset a particular value to make them positive and allow them to express places west and south of the base point.

In general, converting from one coordinate system to another is not simple, since both may have different ellipsoids (Earth models) and datums. As I understand, the formulas for converting from one coordinate system to another are rather complex.

SVY21, however, uses the exact same datum and ellipsoid as WGS84, making the task simpler. In SVY21, the base point for eastings and northings is Base 7 at Pierce Reservoir, 1 deg. 22 min. 02.9154 sec. north and 103 deg. 49 min 31.9752 sec. east (that is, a latitude of about 1.3674765 degrees and a longitude of about 103.8255487 degrees; the well known text, however, uses 1.3666... degrees and 103.8333... degrees, respectively). The offset for the easting is 28001.642 meters, and the offset for the northing is 38744.572 meters. The EPSG code is 3414. I will assume your eastings and northings are expressed in meters.

Since SVY21 uses the same system as WGS84, all you have to do is:

  • Subtract the easting and northing by their respective offset values. (The values will be in meters.)
  • Find the longitude of the given point by finding the destination point given the base point, the absolute value of the easting, and the bearing of 90 degrees if the easting is positive, or 270 degrees if it's negative. This link contains the relevant formulas. (For this calculation, you can use either the spherical law of cosines, as given in the section "Destination point given distance and bearing from start point", or the more accurate Vincenty's direct formula. The first linked page, however, doesn't use the Haversine formula for this calculation.)
  • Find the latitude of the given point by finding the destination point given the base point, the absolute value of the northing, and the bearing of 0 degrees if the northing is positive, or 180 degrees if it's negative.