The pEasting value is not correct UTM value. The smallest Easting value for
zone 32 is 291386.
Russ Berckmoes
-----Original Message-----
From: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com]On
Behalf Of OPW Abbenhuis
Sent: Thursday, January 03, 2002 4:35 AM
To: Donald Dietrick; OpenMap Users
Subject: Re: OpenMap demo question
Hi Donald,
Had a nice holiday?
I just looked into my lat/lon to UTM conversion problem.
What happens is the following (code snippets):
pNorthing = 5700000f
pEasting = 0f
pZone = 32
pLetter = U
UTMPoint utm = new UTMPoint(pNorthing, pEasting, pZone, pLetter);
LatLonPoint ll = utm.toLatLonPoint();
mMapBean.setCenter(ll);
At this the lat/lon coordinate is: 51.231476, -4.1653447
Yet when I do the following:
UTMPoint up = new UTMPoint(new LatLonPoint(51.231476, -4.1653447));
Then up contains the following:
- Zone: 30
- Letter: U
- easting: 418636.97, 5676211.5
All is supposed to work with the same default ellipsoid WGS_84.
I must be doing something wrong, it's just that I can't see it.
Thanks for your help,
Oscar Abbenhuis
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"] -- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Thu Jan 3 14:18:53 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT