TimmiT
clear
complete
communication

UTM lat,long bulk converters

SUMMARY:

Overview

We measure geographic coordinates on the Earth's surface several ways. Among the most useful of these are latitude and longitude (lat,long) and Universal Transverse Mercator (UTM). This page provides converters to convert one to the other.

These converters convert many sets of coordinates at a time. The typical use case is that the coordinates are records in a spreadsheet with latitude and longitude (or UTM zone, easting, and northing) in separate columns along with other data associated with those coordinates in still other columns.

Isolating the columns containing the coordinates (maybe by copy/pasting to a blank spreadsheet and deleting everything else) and exporting the result in comma separated variable (CSV) format gives a text file, the contents of which can be pasted directly into the input of these converters. After conversion, the output is records of the coordinates in the target format in comma separated format that can be copy/pasted into a text file to be imported into a spreadsheet for further manipulation.

Conversion assumes ellipsoid WGS-84.


Convert lat,long to UTM

Input: Input data is records of the form id,lat,long

Note that if the input records contain more than three comma separated fields, the converter ignores anything to the right of long.

A realistic input might be:

1,60.74296,-135.17701
2,60.74424,-135.17551
3,60.74190,-135.17111

Output: Output data is of the form id,lat,long,zone,east,north

Note that the converter inserts this explanatory field line in the output before the first converted record: id,lat,long,zone,east,north.

The output corresponding to the input example would be:

id,lat,long,zone,east,north
1,60.74296,-135.17701,8V,490349,6734171
2,60.74424,-135.17551,8V,490431,6734313
3,60.74190,-135.17111,8V,490670,6734052

Output accuracy is within 1 m for easting and northing.

Convert lat,long to UTM application, new window

Range checking: The lat parameter must be between +84 and -80 degrees and the long parameter must be in the range ±180 degrees. If not, then following changes appear in the output for the record containing the out-of-range parameter(s):

In the following input, the latitude in the first record and the longitude in the second record are out of range.

1,160.74296,-135.17701
2,60.74424,-180.17551
3,60.74190,-135.17111

The corresponding output would be:

id,lat,long,zone,east,north
*1,0.00000,-135.17701,xx,0,0
*2,60.74424,0.00000,xx,0,0
3,60.74190,-135.17111,8V,490670,6734052

Convert lat,long to UTM application, new window


Convert UTM to lat,long

Input: Input data is records of the form id,zone,east,north

Note that if the input records contain more than four comma separated fields, the converter ignores anything to the right of north.

A realistic input might be:

1,8V,490349,6734171
2,8V,490431,6734313
3,8V,490670,6734052

Output: Output data is of the form id,zone,east,north,lat,long

Note that the converter inserts this explanatory field line in the output before the first converted record: id,zone,east,north,lat,long.

The output corresponding to the input example would be:

id,zone,east,north,lat,long
1,8V,490349,6734171,60.74296,-135.17701
2,8V,490431,6734313,60.74424,-135.17551
3,8V,490670,6734052,60.74190,-135.17112

Output accuracy is within 0.00001 degree for latitude and longitude.

Convert UTM to lat,long application, new window

Range checking: The UTM zone is of the form nx where n is one or two digits that together must be in the range 1–60 and x is a letter that must be in the range C–X. If the zone is outside these ranges, then the following changes appear in the output record containing the invalid zone:

In the following input, the zones in the first two records are invalid.

1,62V,490349,6734171
2,8A,490431,6734313
3,8V,490670,6734052

The corresponding output would be:

id,zone,east,north,lat,long
*1,xx,490349,6734171,0.00000,0.00000
*2,xx,490431,6734313,0.00000,0.00000
3,8V,490670,6734052,60.74190,-135.17112

Convert UTM to lat,long application, new window

TimmiT editing, writing, procurement