Re: Converting cartesian coordinates to geographical gps



On Mon, 15 Dec 2008 01:22:56 -0800 (PST), carmelo <csaffi@xxxxxxxxxx>
wrote:

Hi everybody,
I need to convert cartesian coordinates to geographical gps. Knowing
X,Y coordinates how can I calculate Latitude and Longitude?

A friend of mine give me this formula:

/*gps coordinates of zero local point*/
X0POL = 38.4758676627; # 1° ZERO POINT POLAR
Y0POL = 15.9189614895; # 2° ZERO POINT POLAR

/*convert zero point from DD coordinate to DDM*/
B5 = (60 * X0POL) - (38 * 60) + 3800;#3828.5521 # 1° ZERO POINT
B6 = (60 * Y0POL) - (15 * 60) + 1500;#1555.1377 # 2° ZERO POINT

G5 = 4.12841392; # TERRESTRIAL ROTATION RADIANS DEGREE

COEFFX = 1849.94;
COEFFY = 1454.88;

VALORE1 = (X * SIN(G5) + B5 * COEFFX + Y * COS(G5)) / COEFFX;
VALORE2 = (VALORE1 * COEFFX * COT(G5) - Y * (SIN(G5) + COS(G5) * COT
(G5)) - B5 * COEFFX * COT(G5) + B6 * COEFFY) / COEFFY;

/*transform from DDM to DD*/
LatGPS = (VALORE1+38*60-3800)/60;
LongGPS = (VALORE2+15*60-1500)/60;


But he doesn't remember how he got COEFFX and COEFFY.
Using these formula the gps coordinates I get are enough precise, they
correspond "enough" to what they should be considering the position of
some points about which I know the correct Lat/Lon coordinates.

But I need a better precision, therefore I hope you can help me
finding some formulas to convert cartesian coordinates to geographical
gps.

Thank you very much in advance
Carmelo

There isn't enough information to do this, I am afraid. There is no
single way of converting X,.Y coordinates to Latitude and Longitude or
the other way round; there are millions! And without knowing which
method (known as a "projection") was used, you simply can't do it.

Paul Cooper
.



Relevant Pages

  • Re: estimating error in my GPS position.
    ... longitude coordinate and convert them to meters. ... longitude and latitude data respectively. ... The manual says the GPS is good to within 30m but this is for the ... on the surface of the ocean. ...
    (sci.geo.satellite-nav)
  • Re: estimating error in my GPS position.
    ... velocity of surface drift. ... longitude coordinate and convert them to meters. ... longitude and latitude data respectively. ... The manual says the GPS is good to within 30m but this is for the ...
    (sci.geo.satellite-nav)
  • Re: estimating error in my GPS position.
    ... GPS errors are correlated. ... velocity of surface drift. ... longitude coordinate and convert them to meters. ... longitude and latitude data respectively. ...
    (sci.geo.satellite-nav)
  • Re: cycle cumputer results
    ... over a hilly course there's a bigger error in the mileage. ... GPS 'measures' latitude, longitude and altitude. ...
    (rec.bicycles.tech)
  • Re: Geotagging
    ... Alternatively, what is the best way to add latitude and longitude to the photos you took, assuming your camera has no inbuilt GPS receiver? ...
    (rec.photo.digital)

Loading