[GRASS5] Need help converting GPS waypoint data

Allan Metts ametts2 at mindspring.com
Tue Jun 1 18:58:52 EDT 2004

I'm trying to overlay some GPS waypoints onto a city street map.  The GPS 
drive test data has somehow formed a mirror image (flipped in the east-west 
direction).  And it's shifted several miles due east.

All I have are cryptic GPS files like the excerpt you see below, and not 
much else.  Using C++ code, I'm reading in the $G lines, and interpreting 
the 4th and 5th fields in various ways.  I've tried Decimal Degrees, 
Degrees + Decimal Minutes (with the degrees being the most significant 
digits), and Degrees, Minutes, and Decimal Seconds. Different Map 
projections don't help much.

I convert to Decimal Degrees by dividing Minutes by 60 and Seconds by 3600.

I'm obviously landing in the right part of the world, but obviously 
something is quite wrong.  Any idea what could cause the mirror-image flip 
and eastward shift?

Thanks in advance,

$H,UNIT ID,none,1.110702tc,2,,3.03

More information about the grass-dev mailing list