Link to home
Start Free TrialLog in
Avatar of anilgajjala
anilgajjala

asked on

converting WGS1984 lan/long into X,Y coordinates in Java

HI All,

How to convert WGS1984 latitude/longitude in DMS(Degree, Minutes,Seconds)  format into X,Y coordinates in Java.

Any help regaring this will be appreciated. Its very urgent.

Thanks
AnilGajjala
Avatar of Otana
Otana

Something like this should do it:

X = D*1000000 + (M/60)*10000 + (S/60)*100

and the same for Y
ASKER CERTIFIED SOLUTION
Avatar of rjkimble
rjkimble

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Fine by me.