Re: [Gpsbabel-misc] Text to mapsource mps
Brought to you by:
robertl
From: Robert L. <rob...@us...> - 2004-07-22 19:55:13
|
Hi, Helen. > upload them to Mapsource. Looking at the Babel site, it seemed that creating > a xcvs style file + a txt file containing a formatted set of data from the > spreadsheet and using babel to convert this to mps format would be the way It seems like you're close, but have one mismatch: > IFIELD LAT_DIRDECIMAL, "", "%c%f" > IFIELD LON_DIRDECIMAL, "", "%c%f" > > And fed in: > > arethu 12345678901234567890123 Shipwreck N5019.580 E00411.190 The problem is that your lat and lon aren't in the format of Lxx_DIRDECIMAL. I'm not really certain what format they ARE in, but DIRDECIMAL have the hemisphere followed by the coordindate in decimal degrees - and "5019" is definitely not a valid degree marker. Yeah, we probably should detect this at this point and fuss about it... I have a feeling that these numbers are actually that kind of weird format used by NMEA and its mutants where it's degrees * 100 + minutes. (Does anybody know what this format is called?) If you can confirm that first coordinate is 50 degrees and 19.580 minutes (i.e. 50.326333 degrees north, 4.186500 degrees east) we can probably add a new style format specifier to handle those. If it's something else, we'll need help to understand what it is. RJL |