Re: [Gpsbabel-misc] Issue converting PCX5 data in DMS format to GPX
Brought to you by:
robertl
From: Robert L. <rob...@gp...> - 2011-07-19 15:05:53
|
On Tue, Jul 19, 2011 at 2:32 AM, Jeff Robinson <gps...@je...>wrote: > ** > I am trying to convert some old PCX5 files to GPX format, and appear to be > running into a units problem for latitude/longitude. > > The PCX5 header suggests the data in in DMS format: > > U LAT LON DMS > > Various vendors extended PCX in several incompatible ways before it faded into obscurity in the early 90's. That's not a variation of PCX that we've seen before, so that's not supported. We support "DEG" there. It's not obvious to me how N381448.476 would be DMS anyway.14 minutes and 48.476 seconds? That's pretty fictional precision. It would be relatively easy to add support to pcx.c for this format. If you do so, please contribute the patch back to benefit the next person that finds his data locked in this format. RJL > > And the entries look to me like the values are listed in DDMMSS.sss > format: > > H LATITUDE LONGITUDE DATE TIME ALT ;track > T N381448.475 W1201604.373 06-JUL-02 21:46:55 -9999 > > However, when I try to convert this to GPX, it appears that GPSBabel is > treating the data as if it were in DDMM.mmm format, resulting in all digits > from the "hundreds" column and left being treated as degrees (from GPSBabel > 1.4.2): > > <trkpt lat="3814.807916667" lon="-12016.072883333"> > <ele>-9999.000000</ele> > <time>2002-07-06T21:46:55Z</time> > </trkpt> > > Is there some menu option I am missing to get GPSBabel to understand the > input format is in DDMMSS.sss? Or is there some other easy work-around I am > missing? > > I'm attaching a truncated PCX5 track log to give a more complete picture. > > Thanks. > --Jeff > > > > ------------------------------------------------------------------------------ > Magic Quadrant for Content-Aware Data Loss Prevention > Research study explores the data loss prevention market. Includes in-depth > analysis on the changes within the DLP market, and the criteria used to > evaluate the strengths and weaknesses of these DLP solutions. > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > _______________________________________________ > Gpsbabel-misc mailing list http://www.gpsbabel.org > Gps...@li... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc > > |