Martin Schmitz ha scritto: > Hi again, > > Your code works fine, but only for the latitude!? > > With your transformation code the UTM coordinates > N 978077.7664007092 > E 334064.125 > result in > lat: 8.8452338 degrees = 8 degrees, 50 minutes, 43 seconds > lon: 7.4911148 degrees = 7 degrees, 29 minutes, 28 seconds > > But the manual conversion on > http://www.ngs.noaa.gov/cgi-bin/utm_getgp.prl (with utm zone 31) results in > 08 50 42.84189 N > 358 30 31.98673 W > which seems to be "more" correct, if I look at my world map. > > Or is 358:30:32W equivalent to 7:29:28E?
Yes it is. Longitude is usually bound in the -180,180 range. 0 is the Greenwich meridian, 180/-180 is the antimeridian of Greenwich. 358W° is really an unusual way to express a longitude to me. Cheers Andrea ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
