logo       

Re: Magellan Route and Track Files: msg#00019

hardware.gps.gpsbabel.general

Subject: Re: Magellan Route and Track Files

On Saturday 10 March 2007 4:07 pm, Robert Lipe wrote:
> You didn't show us that file, did you?
Not yet. Here it is, with the track section removed for clarity:

<?xml version="1.0" encoding="utf-8"?>
<gpx version="1.0" creator="Quantum GIS">
<wpt lat="44.25090058" lon="-71.23387069">
<name>Start Here</name>
<src>Digitized in QGIS</src>
<ele>3500</ele>
</wpt>
<wpt lat="44.25100585" lon="-71.23609448">
<name>3200</name>
<src>Digitized in QGIS</src>
<ele>3200</ele>
</wpt>
<wpt lat="44.25047883" lon="-71.23809873">
<name>3000</name>
<src>Digitized in QGIS</src>
</wpt>
<wpt lat="44.25050164" lon="-71.24030787">
<name>2900</name>
<src>Digitized in QGIS</src>
<ele>2900</ele>
</wpt>
<wpt lat="44.25180418" lon="-71.24133502">
<name>2800</name>
<src>Digitized in QGIS</src>
<ele>2800</ele>
</wpt>
<wpt lat="44.25323965" lon="-71.24190718">
<name>2700</name>
<src>Digitized in QGIS</src>
<ele>2700</ele>
</wpt>
<wpt lat="44.25395608" lon="-71.24204945">
<name>2600</name>
<src>Digitized in QGIS</src>
<ele>2600</ele>
</wpt>
<wpt lat="44.25552949" lon="-71.24275344">
<name>2500</name>
<src>Digitized in QGIS</src>
<ele>2500</ele>
</wpt>
<wpt lat="44.25680936" lon="-71.24325074">
<name>2400</name>
<src>Digitized in QGIS</src>
<ele>2400</ele>
</wpt>
<wpt lat="44.25797299" lon="-71.24335255">
<name>end</name>
<src>Digitized in QGIS</src>
<ele>2300</ele>
</wpt>
<rte>
<name>test</name>
<src>Digitized in QGIS</src>
<rtept lat="44.25090058" lon="-71.23387069">
</rtept>
<rtept lat="44.25100585" lon="-71.23609448">
</rtept>
<rtept lat="44.25047883" lon="-71.23809873">
</rtept>
<rtept lat="44.25050164" lon="-71.24030787">
</rtept>
<rtept lat="44.25180418" lon="-71.24133502">
</rtept>
<rtept lat="44.25323965" lon="-71.24190718">
</rtept>
<rtept lat="44.25395608" lon="-71.24204945">
</rtept>
<rtept lat="44.25552949" lon="-71.24275344">
</rtept>
<rtept lat="44.25680936" lon="-71.24325074">
</rtept>
<rtept lat="44.25797299" lon="-71.24335255">
</rtept>
</rte>
</gpx>

I hand edited the above route points to exactly match the waypoints.
Then:
gpsbabel -i gpx -o magellanx -f Southside_Brook.gpx -r -F test.rte
produces:

$PMGNWPL,4415.054,N,07114.032,W,0000000,M,RPT001,,a*26
$PMGNWPL,4415.060,N,07114.166,W,0000000,M,RPT002,,a*22
$PMGNWPL,4415.029,N,07114.286,W,0000000,M,RPT003,,a*23
$PMGNWPL,4415.030,N,07114.418,W,0000000,M,RPT004,,a*2D
$PMGNWPL,4415.108,N,07114.480,W,0000000,M,RPT005,,a*27
$PMGNWPL,4415.194,N,07114.514,W,0000000,M,RPT006,,a*2D
$PMGNWPL,4415.237,N,07114.523,W,0000000,M,RPT007,,a*22
$PMGNWPL,4415.332,N,07114.565,W,0000000,M,RPT008,,a*2B
$PMGNWPL,4415.409,N,07114.595,W,0000000,M,RPT009,,a*2A
$PMGNWPL,4415.478,N,07114.601,W,0000000,M,RPT010,,a*2A
$PMGNRTE,5,1,c,1,test,RPT001,a,RPT002,a*38
$PMGNRTE,5,2,c,1,test,RPT003,a,RPT004,a*3F
$PMGNRTE,5,3,c,1,test,RPT005,a,RPT006,a*3A
$PMGNRTE,5,4,c,1,test,RPT007,a,RPT008,a*31
$PMGNRTE,5,5,c,1,test,RPT009,a,RPT010,a*37

And here is the route file manually created on the Magellan Explorist 210 from
the waypoints: ( route name = "TEST-M" )

$PMGNWPL,4415.054,N,07114.032,W,0003500,M,Start Here,,a*1D
$PMGNWPL,4415.060,N,07114.166,W,0003200,M,3200,,a*46
$PMGNWPL,4415.029,N,07114.286,W,0000000,M,3000,,a*45
$PMGNWPL,4415.030,N,07114.418,W,0002900,M,2900,,a*4F
$PMGNWPL,4415.108,N,07114.480,W,0002800,M,2800,,a*44
$PMGNWPL,4415.194,N,07114.514,W,0002700,M,2700,,a*4D
$PMGNWPL,4415.237,N,07114.523,W,0002600,M,2600,,a*43
$PMGNWPL,4415.332,N,07114.565,W,0002500,M,2500,,a*45
$PMGNWPL,4415.409,N,07114.595,W,0002400,M,2400,,a*45
$PMGNWPL,4415.478,N,07114.601,W,0002300,M,end,,a*23
$PMGNRTE,5,1,c,1,TEST-M,Start Here,a,3200,a*00
$PMGNRTE,5,2,c,1,TEST-M,3000,a,2900,a*50
$PMGNRTE,5,3,c,1,TEST-M,2800,a,2700,a*56
$PMGNRTE,5,4,c,1,TEST-M,2600,a,2500,a*5D
$PMGNRTE,5,5,c,1,TEST-M,2400,a,end,a*36
$PMGNCMD,END*3D

The Magellan loaded the "test" route file!
I saw some questionable stuff in the GPX files I was using, so that's most
likely the cause, I guess. One file did have two route sections. I'll inquire
on the QGIS list to see if garbage GPX output is a known issue.

--
Carl Brown
Whitefield, NH USA

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
Gpsbabel-misc@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise