GPSBabel <name> variable when converting from GPX to KML

Discussion in 'GPS Software' started by Ron, Apr 24, 2018.

  1. Ron

    Ron

    Joined:
    Apr 24, 2018
    Messages:
    1
    Likes Received:
    0
    Greetings,

    I am converting a GPX file to a KML file and the <name> variable in the KML file is always set to GPS device. Is there a way to set this to the file name or a name of my choosing? When I load all the converted files into maps.me it concatenates all the files since they all have the <name> set to the same. I am NOT running the command line version. The input file type I select is GPX XML and the output file type I select is Google Earth (Keyhole) Markup Language.

    Windows10
    GPSBabel 1.5.4
    Code:
    GPX FILE
    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    <gpx xmlns="http://www.topografix.com/GPX/1/1" creator="CompeGPS" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1">
       <metadata>
        <link href="http://www.compegps.com">
          <text>CompeGPS TEAM, SL</text>
        </link>
        <time>2016-04-06T07:11:17Z</time>
        <bounds maxlat="45.327150" maxlon="8.594950" minlat="45.274683" minlon="8.423048"/>
      </metadata>
      <trk>
        <name>tappa-10-da-vercelli-robbio</name>
                  .
                  .
                  .            
    
    Code:
    KML FILE
    <?xml version="1.0" encoding="UTF-8"?>
    <kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2">
      <Document>
        <name>GPS device</name>
        <snippet>Created Tue Apr 24 07:35:14 2018</snippet>
                  .
                  .
                  .
    
     
    Ron, Apr 24, 2018
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.