From 02:00 AM CST Saturday, February 4 - 06:00 AM CST Saturday, February 4, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for
Did you mean:

How to convert WGS84 gps coordinates to xyz

I am using a Garmin handheld GPS 76 to determine vehicle speed and travel path. The serial output gives altitude and latitude/longitude in WGS84 coordinates. I need to get the distance between two points to calculate speed. Does anyone know how to perform the conversion between the this coordinate system and an xyz system?
Thanks,
Kevin Gildea
Message 1 of 7
(29,333 Views)

Re: How to convert WGS84 gps coordinates to xyz

Look on Google for gps rectangular coordinates latitude longitude .

I found the following link that seemps promising:
http://www.ngs.noaa.gov/TOOLS/XYZ/xyz.html
Message 2 of 7
(29,333 Views)

Re: How to convert WGS84 gps coordinates to xyz

or post your question on sci.geo.satellite-nav
I have done it for you...

"Jeremy Braden" wrote in message news:506500000005000000041A0100-1042324653000@exchange.ni.com...
> Look on Google for gps rectangular coordinates latitude longitude
Message 3 of 7
(29,333 Views)

Re: How to convert WGS84 gps coordinates to xyz

See: http://www.ngs.noaa.gov/TOOLS/XYZ/xyz.html

Conversion from ECEF XYZ to Latitude, Longitude, and Height

Conversion from Latitude, Longitude, and Height to ECEF XYZ.
Message 4 of 7
(29,333 Views)

Re: How to convert WGS84 gps coordinates to xyz

old post, but someone may find this solution helpful:

http://forums.ni.com/t5/LabVIEW/Problem-create-executable/m-p/286248/highlight/true#M150728

Message 5 of 7
(21,268 Views)

Re: How to convert WGS84 gps coordinates to xyz

yeah you can use these formulas to convert GPS data into xyz coordinates

x=R*cos(lat)*cos(lon)

y=R*cos(lat)*sin(lon)

z=R*sin(lat)

if you want to find change in position subtract previous value from present value