Why does GPSBabel turn a short GPX route into a big KML with waypoints?

المشرف العام

Administrator
طاقم الإدارة
I read the online help file before asking but didn't find what's wrong with the following command to convert a small GPX file from www.cycle.travel to a KML that I can use with a smartphone application:

c:\GPSBabel>gpsbabel.exe -N -i gpx -f input.gpx -o kml -F output.kmlHere's the input file (1,216 bytes):

ACTIVE LOG And here's the output file (17,254 bytes):

GPS device Created mer. juil. 15 18:12:19 2015 2.336205 48.859880 3505.359392 .5 http://earth.google.com/images/kml-icons/track-directional/track-none.png 0 1.2 http://earth.google.com/images/kml-icons/track-directional/track-none.png normal #track_n highlight #track_h http://maps.google.com/mapfiles/kml/pal4/icon61.png 1.2 http://maps.google.com/mapfiles/kml/pal4/icon61.png normal #waypoint_n highlight #waypoint_h 99ffac59 6 Tracks ACTIVE LOG Distance 1.9 mi ]]> Points ACTIVE LOG-0 Longitude: 2.350270 Latitude: 48.853240 Heading: 2.1 ]]> 2.350270 48.853240 66 #track 2.350270,48.853240 ACTIVE LOG-1 Longitude: 2.350560 Latitude: 48.853150 Heading: 115.3 ]]> 2.350560 48.853150 66 #track 2.350560,48.853150 ACTIVE LOG-2 Longitude: 2.350900 Latitude: 48.853630 Heading: 25.0 ]]> 2.350900 48.853630 66 #track 2.350900,48.853630 ACTIVE LOG-3 Longitude: 2.349750 Latitude: 48.854380 Heading: 314.7 ]]> 2.349750 48.854380 66 #track 2.349750,48.854380 ACTIVE LOG-4 Longitude: 2.350250 Latitude: 48.855070 Heading: 25.5 ]]> 2.350250 48.855070 66 #track 2.350250,48.855070 ACTIVE LOG-5 Longitude: 2.350820 Latitude: 48.855820 Heading: 26.6 ]]> 2.350820 48.855820 66 #track 2.350820,48.855820 ACTIVE LOG-6 Longitude: 2.350630 Latitude: 48.856090 Heading: 335.2 ]]> 2.350630 48.856090 66 #track 2.350630,48.856090 ACTIVE LOG-7 Longitude: 2.351070 Latitude: 48.856800 Heading: 22.2 ]]> 2.351070 48.856800 66 #track 2.351070,48.856800 ACTIVE LOG-8 Longitude: 2.351480 Latitude: 48.857470 Heading: 21.9 ]]> 2.351480 48.857470 66 #track 2.351480,48.857470 ACTIVE LOG-9 Longitude: 2.351510 Latitude: 48.857510 Heading: 26.3 ]]> 2.351510 48.857510 66 #track 2.351510,48.857510 ACTIVE LOG-10 Longitude: 2.349690 Latitude: 48.858070 Heading: 295.1 ]]> 2.349690 48.858070 66 #track 2.349690,48.858070 ACTIVE LOG-11 Longitude: 2.348230 Latitude: 48.858540 Heading: 296.1 ]]> 2.348230 48.858540 66 #track 2.348230,48.858540 ACTIVE LOG-12 Longitude: 2.342330 Latitude: 48.860390 Heading: 295.5 ]]> 2.342330 48.860390 66 #track 2.342330,48.860390 ACTIVE LOG-13 Longitude: 2.341950 Latitude: 48.860520 Heading: 297.5 ]]> 2.341950 48.860520 66 #track 2.341950,48.860520 ACTIVE LOG-14 Longitude: 2.333770 Latitude: 48.863210 Heading: 296.6 ]]> 2.333770 48.863210 66 #track 2.333770,48.863210 ACTIVE LOG-15 Longitude: 2.332200 Latitude: 48.863720 Heading: 296.3 ]]> 2.332200 48.863720 66 #track 2.332200,48.863720 ACTIVE LOG-16 Longitude: 2.331990 Latitude: 48.863780 Heading: 293.5 ]]> 2.331990 48.863780 66 #track 2.331990,48.863780 ACTIVE LOG-17 Longitude: 2.324260 Latitude: 48.866360 Heading: 296.9 ]]> 2.324260 48.866360 66 #track 2.324260,48.866360 ACTIVE LOG-18 Longitude: 2.323560 Latitude: 48.866390 Heading: 273.7 ]]> 2.323560 48.866390 66 #track 2.323560,48.866390 ACTIVE LOG-19 Longitude: 2.323440 Latitude: 48.866390 Heading: 270.0 ]]> 2.323440 48.866390 66 #track 2.323440,48.866390 ACTIVE LOG-20 Longitude: 2.323400 Latitude: 48.866390 Heading: 270.0 ]]> 2.323400 48.866390 66 #track 2.323400,48.866390 ACTIVE LOG-21 Longitude: 2.321970 Latitude: 48.866610 Heading: 283.2 ]]> 2.321970 48.866610 66 #track 2.321970,48.866610 ACTIVE LOG-22 Longitude: 2.320900 Latitude: 48.865880 Heading: 224.0 ]]> 2.320900 48.865880 66 #track 2.320900,48.865880 Path #lineStyle 1 2.350270,48.8532402.350560,48.8531502.350900,48.8536302.349750,48.8543802.350250,48.8550702.350820,48.8558202.350630,48.8560902.351070,48.8568002.351480,48.8574702.351510,48.8575102.349690,48.8580702.348230,48.8585402.342330,48.8603902.341950,48.8605202.333770,48.8632102.332200,48.8637202.331990,48.8637802.324260,48.8663602.323560,48.8663902.323440,48.8663902.323400,48.8663902.321970,48.8666102.320900,48.865880 The output is much bigger and, when imported into the smartphone, the route is displayed as a line + waypoints instead of a simple line.

Why is it? What should I do?

Thank you.



أكثر...
 
أعلى