Re: OpenMap demo question

From: OPW Abbenhuis <abbenhuis@fel.tno.nl>
Date: Mon Jan 07 2002 - 02:52:42 EST

Hi,

Thanks for your help!!!

So if I'm right, the conversions are working OK, as I expected.
Meaning that somehow the coordinates in my app. are screwed...?

Thanks, I hope I can sort this bug out...

Kind regards,
Oscar Abbenhuis

"S. Russell Berckmoes" wrote:

> 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"]

--
[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 Mon Jan 7 02:55:34 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT