Jules
Jules

Reputation: 660

convert eastings and northings to latitude and longitude on ios

I have a data set of eastings and northings and I need to convert these to a latitude and longitude value. Does anyone have any idea how to do this on iOS. I have tried using convert eastings and northings javascript function but I got stuck in an infinite loop in the do while statement.

If anyone has any thoughts or experience on the matter please do share, I would really appreciate it.

Many thanks

Jules

Upvotes: 0

Views: 1267

Answers (1)

acraig5075
acraig5075

Reputation: 10756

You need a projection library, and proj4 is a dominant one. Here's a helpful description of using it with iOS: https://gis.stackexchange.com/questions/6658/how-to-integrate-proj4-into-an-ios-iphone-project

You'll need to know what the source coordinate system is, e.g. UTM, NAD, mercator, etc.

Upvotes: 1

Related Questions