I want to convert Lat/Long to UTM. When I search on net I am getting completely different formulas.
e.g. Lat/Long, 21.0909,79.067635
How to convert it to UTM?
I want to convert Lat/Long to UTM. When I search on net I am getting completely different formulas.
e.g. Lat/Long, 21.0909,79.067635
How to convert it to UTM?
The open source GIS Whitebox Geospatial Analysis Systems (http://www.uoguelph.ca/~hydrogeo/Whitebox/) contains a tool called Coordinate System Transformations that can be used to convert either shapefile or raster files to UTM from lat/long or vice versa. You can also look at the specific algorithm that I used for the conversions here: http://code.google.com/p/whitebox-geospatial-analysis-tools/source/browse/trunk/ConversionTools/src/plugins/CoordinateSystemTransformation.java

I suppose you are not interested in studying geodesy, so you should just use proj4 C++ API for your project for coordinate transformation tasks.
As to the formulas, you may read this guide (one of the EPSG Guiding notes). Coordinate transformation for TM/UTM described there starting from page 45.
You are most welcome to copy my calculations from here Test of ORACLE DB functions converting lat-long to utm and mgrs with real data known to be correct? As far as i know the utm function works for everywhere while the MGRS works for everywhere except the poles. That formulas has been random check with www.earthpoint.us/Convert.aspx