[Gdal-dev] Problem in Transforming Lat long to UTM
Vidhiyadharan Nadarajah
vdharan2001 at gmail.com
Thu Aug 31 05:06:22 EDT 2006
Hello,
I have a problem is converting lat long to UTM. My init function is as
follows
///////////////////
oSourceSRS.SetGeogCS("My geographic coordinate system",
"WGS_1984",
"My WGS84 Spheroid",
SRS_WGS84_SEMIMAJOR,
SRS_WGS84_INVFLATTENING,
"Greenwich",
0.0,
"degree",
0.0174532925199433);
oTargetSRS.SetProjCS( "UTM (WGS84) in northern hemisphere." );
oTargetSRS.SetWellKnownGeogCS( "WGS84" );
oTargetSRS.SetUTM(28,TRUE );
//////////////////
When i do a transform on the point Lat=33 deg 59 Min North and Lon= 6 deg
51 Min West, the resultant UTM are Easting = 2536499 and Northing = 3985824.
This resultant UTM appears to be for Lon = 6 deg 51 Min East. What should i
do do get the correct UTM. Please Help.
Best Regards,
N.Vidhiyadharan
--
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.5/426 - Release Date: 23/08/2006
More information about the Gdal-dev
mailing list