Jump to content

Convert UMC to Lat/Lon

Featured Replies

I've have the following formulae to convert latitude and longitude to UTM:

 

lon_utm = lon * 20037508.34 / 180

lat_utm = Math.log(Math.tan((90 + lat) * Math.PI / 360)) / (Math.PI / 180) * 20037508.34 / 180

 

I need the equivalent formulae to reverse this. Longitude I can do:

 

lon = lon_utm / 20037508.34 * 180

 

but I'm completely stuck on latitude (I'm a programmer not a mathematician!)

 

Can anybody give me some help or point me in the right direction please?

Edited by mossoi

You are using some nonstandard terminology. As far as I can tell, UMC means United Methodist Church. Note: 20037508.34 is pi times the radius of the Earth.

  • Author

You're right, meant UTM rather than UMC, serves me right for not checking my acronyms!

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.