GeodeticUTMConverter 1.0.7

GeodeticUTMConverter 1.0.7

TestsTested
LangLanguage Obj-CObjective C
License BSD
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total3,037
Week0
Month0

Installs

Apps80
Test Targets9
powered by Segment

GitHub

Stars30
Watchers3
Forks12
Issues1
Contributors0
Pull Requests1

Code

Files2
LOCLines of Code 261


Geodetic UTM Coordinate Converter

UTM or Universal Transverse Mercator is an older system for specifying a global position on the planet similar to the Latitude and Longitude except the values are called Northing and Easting and requires a Zone.

In Norway, this UTM system is a standard way for governmental organizations to define location. For example, Ruter, the public transit agency, uses it in their public transit APIs. This library will tranlate between a UTM coordinate and the Lat/Long coordinates that are more commonly used on modern platforms like iOS.

Sample Code

UTMCoordinates coordinates;
coordinates.gridZone = 32;
coordinates.northing = 6643010;
coordinates.easting = 598430;
coordinates.hemisphere = kUTMHemisphereNorthern;

CLLocationCoordinate2D groenland = [GeodeticUTMConverter UTMCoordinatesToLatitudeAndLongitude:coordinates];

If you want to supply your own Datum, then

GeodeticUTMConverter *converter = [[GeodeticUTMConverter alloc] initWithDatum:UTMDatumMake(6378137, 6356752.3142)];