Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XY pixel coordinate to map coordinate!

807607Jan 17 2007 — edited Jan 18 2007
Hi,
I don't know if anyone is able to help me or direct me in the right path.
My situation is as follows:
I'm writing an web-app to generate a map (which I am successfully doing). I display the map (GIF) on the browser.

Now, what I would like is to be able to click on a point on the map, take the X Y pixel coordinate and convert that to a mapping coordinate so I can requery the server and generate a new map.

Now, in terms of mapping coordinates,
how would one convert XY pixel to LAT LON?
how would one convert XY pixel to Mercator?
how would one convert XY pixel to GeoMinSec?
hou would one convert XY pixel to GeoDecimal?

Now, I don't mind if can get an answer to one of either of those questions, but my ideal answer would be on how to convert XY pixel to GeoDecimal because unfortunately the server I am using has all of its map coordinates in GeoDecimal.

Any help would be appreciated.
Steve.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2007
Added on Jan 17 2007
9 comments
535 views