DriveSmart 61 Saved Trips Sort Order

Discussion in 'General GPS Discussion' started by Bernie_Kamerman, Mar 1, 2021.

  1. Bernie_Kamerman

    Bernie_Kamerman

    Joined:
    Feb 28, 2021
    Messages:
    7
    Likes Received:
    0
    I create trip files for each day there are about 100 days in a long trip. I import these but can not figure out a way to affect the order in which they are presented on the device.
    I have tried the date is the rte line (<name>TR7-5</name>) but that have no effect.
    I have tried incrementing the number in the ret line (<number>1</number>) also no effect.

    The software in the device must use something to create the order does anyone which field effect effects the presentation order?
    Thanks,
    Bernie
     
    Bernie_Kamerman, Mar 1, 2021
    #1
    1. Advertisements

  2. Bernie_Kamerman

    Nuvi-Nebie Moderator

    Joined:
    Aug 16, 2015
    Messages:
    1,569
    Likes Received:
    133
    Location:
    UK
    I would guess that each file created on the 61 is initially displayed in date order, are you copying files from the 61 to a computer renaming them and then copying them back to the 61?
     
    Nuvi-Nebie, Mar 1, 2021
    #2
    1. Advertisements

  3. Bernie_Kamerman

    Bernie_Kamerman

    Joined:
    Feb 28, 2021
    Messages:
    7
    Likes Received:
    0
    I create them on my computer and copy them to them drivesmart 61.
     
    Bernie_Kamerman, Mar 1, 2021
    #3
  4. Bernie_Kamerman

    Nuvi-Nebie Moderator

    Joined:
    Aug 16, 2015
    Messages:
    1,569
    Likes Received:
    133
    Location:
    UK
    Are you creating Routes or Tracks on your computer?, either way the files may be being sorted by the date the file was generated, rather than reading a field in the file or using the file name
     
    Nuvi-Nebie, Mar 1, 2021
    #4
  5. Bernie_Kamerman

    Bernie_Kamerman

    Joined:
    Feb 28, 2021
    Messages:
    7
    Likes Received:
    0
    Route File <rte> and <rtept> types.
    Not the Date generated because when I change a file, delete the one from the device and upload the new version it does not sort either first or last.
    I'd love to be able to see the code, it should not be too difficult the figure out if the order is determine on the display or the insertion and how they decide the order.
     
    Bernie_Kamerman, Mar 2, 2021
    #5
  6. Bernie_Kamerman

    Nuvi-Nebie Moderator

    Joined:
    Aug 16, 2015
    Messages:
    1,569
    Likes Received:
    133
    Location:
    UK
    OK so you are creating Routes on a computer and copying them to the 61, which computer program are you using to generate the Routes?, I am familiar with creating Routes using Garmin Basecamp but I am guessing you are not using that, what file type is the Route (or Routes) contained in?, e.g. gpx, rte etc

    There are some file structures detsiled here that might help :-
    https://www.topografix.com/GPX/1/1/#SchemaProperties
     
    Nuvi-Nebie, Mar 2, 2021
    #6
  7. Bernie_Kamerman

    Bernie_Kamerman

    Joined:
    Feb 28, 2021
    Messages:
    7
    Likes Received:
    0
    I've written my own code. I create my routes in Streets and Trips and Export the GPX file and import it into excel and do some manipulation with excel then from and an excel VB procedure create the GPX files for the Drive Smart 61. This has worked great for me. Last year we had 96 driving days on the trip so 96 files. It is a pain it the neck going through the non-order list to find a file. Gets easier toward the end of the trip.
    I'm trying every optional GPX format field to see if I can figure out what the Garmin uses to establish the order, No lick so far.
     
    Bernie_Kamerman, Mar 2, 2021
    #7
  8. Bernie_Kamerman

    Nuvi-Nebie Moderator

    Joined:
    Aug 16, 2015
    Messages:
    1,569
    Likes Received:
    133
    Location:
    UK
    I created 3 Routes using Garmin Basecamp e.g.:-

    file 1111.gpx containing route Name AAAA
    file 2222.gpx containing route Name BBBB
    file 3333.gpx containing route Name CCCC

    I sent these 3 Routes to Nuvi56 in the order 1111.gpx, then 3333.gpx and then 2222.gpx and the 3 Routes were displayed in AAAA then BBBB then CCCC order, using :- Main Menu >> Apps >> Trip Planner, so my Nuvi56 is displaying Routes in alphabetical Route Name order, the 1111.gpx file has Route Name AAAA recorded like this :-

    Code:
     <rte>
        <name>AAAA</name>
        <extensions>
    Here is an edited 1111.gpx file :-

    Code:
    <?xml version="1.0" encoding="utf-8"?><gpx creator="Garmin Desktop App" version="1.1" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/WaypointExtension/v1 http://www8.garmin.com/xmlschemas/WaypointExtensionv1.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www8.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/ActivityExtension/v1 http://www8.garmin.com/xmlschemas/ActivityExtensionv1.xsd http://www.garmin.com/xmlschemas/AdventuresExtensions/v1 http://www8.garmin.com/xmlschemas/AdventuresExtensionv1.xsd http://www.garmin.com/xmlschemas/PressureExtension/v1 http://www.garmin.com/xmlschemas/PressureExtensionv1.xsd http://www.garmin.com/xmlschemas/TripExtensions/v1 http://www.garmin.com/xmlschemas/TripExtensionsv1.xsd http://www.garmin.com/xmlschemas/TripMetaDataExtensions/v1 http://www.garmin.com/xmlschemas/TripMetaDataExtensionsv1.xsd http://www.garmin.com/xmlschemas/ViaPointTransportationModeExtensions/v1 http://www.garmin.com/xmlschemas/ViaPointTransportationModeExtensionsv1.xsd http://www.garmin.com/xmlschemas/CreationTimeExtension/v1 http://www.garmin.com/xmlschemas/CreationTimeExtensionsv1.xsd http://www.garmin.com/xmlschemas/AccelerationExtension/v1 http://www.garmin.com/xmlschemas/AccelerationExtensionv1.xsd http://www.garmin.com/xmlschemas/PowerExtension/v1 http://www.garmin.com/xmlschemas/PowerExtensionv1.xsd http://www.garmin.com/xmlschemas/VideoExtension/v1 http://www.garmin.com/xmlschemas/VideoExtensionv1.xsd" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wptx1="http://www.garmin.com/xmlschemas/WaypointExtension/v1" xmlns:gpxtrx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3" xmlns:trp="http://www.garmin.com/xmlschemas/TripExtensions/v1" xmlns:adv="http://www.garmin.com/xmlschemas/AdventuresExtensions/v1" xmlns:prs="http://www.garmin.com/xmlschemas/PressureExtension/v1" xmlns:tmd="http://www.garmin.com/xmlschemas/TripMetaDataExtensions/v1" xmlns:vptm="http://www.garmin.com/xmlschemas/ViaPointTransportationModeExtensions/v1" xmlns:ctx="http://www.garmin.com/xmlschemas/CreationTimeExtension/v1" xmlns:gpxacc="http://www.garmin.com/xmlschemas/AccelerationExtension/v1" xmlns:gpxpx="http://www.garmin.com/xmlschemas/PowerExtension/v1" xmlns:vidx1="http://www.garmin.com/xmlschemas/VideoExtension/v1">
    
      <metadata>
        <link href="http://www.garmin.com">
          <text>Garmin International</text>
        </link>
        <time>2021-03-02T16:40:56Z</time>
        <bounds maxlat="51.577355861663818" maxlon="0.070102214813232" minlat="51.54510498046875" minlon="-0.102267265319824" />
      </metadata>
    
      <rte>
        <name>AAAA</name>
        <extensions>
          <gpxx:RouteExtension>
            <gpxx:IsAutoNamed>false</gpxx:IsAutoNamed>
            <gpxx:DisplayColor>Magenta</gpxx:DisplayColor>
          </gpxx:RouteExtension>
          <trp:Trip>
            <trp:TransportationMode>Automotive</trp:TransportationMode>
          </trp:Trip>
        </extensions>
        <rtept lat="51.54611349105835" lon="-0.102267265319824">
          <time>2021-03-02T16:19:32Z</time>
          <name>Highbury Corner and St Paul's Road</name>
          <sym>Waypoint</sym>
          <extensions>
            <trp:ViaPoint>
              <trp:CalculationMode>FasterTime</trp:CalculationMode>
              <trp:ElevationMode>Standard</trp:ElevationMode>
            </trp:ViaPoint>
            <gpxx:RoutePointExtension>
              <gpxx:Subclass>00009A9AAA01522063060F24FF00AFA762ED</gpxx:Subclass>
              <gpxx:rpt lat="51.54611349105835" lon="-0.102267265319824">
                <gpxx:Subclass>03009A9AAA01B22D0E002116000000000000</gpxx:Subclass>
              </gpxx:rpt>
              <gpxx:rpt lat="51.54611349105835" lon="-0.102267265319824" />
              <gpxx:rpt lat="51.54611349105835" lon="-0.102267265319824" />
              <gpxx:rpt lat="51.54611349105835" lon="-0.102267265319824" />
              <gpxx:rpt lat="51.54611349105835" lon="-0.102267265319824">
                <gpxx:Subclass>03009A9AAA013D2B0E001F0058001B2E7000</gpxx:Subclass>
              </gpxx:rpt>
    
    ******
    
    [NOTE :- Further gpxx:rpt lines have been omitted because the file was too big to post]
    
    ******
    
              <gpxx:rpt lat="51.556863784790039" lon="0.068321228027344" />
              <gpxx:rpt lat="51.556863784790039" lon="0.068321228027344" />
              <gpxx:rpt lat="51.556863784790039" lon="0.068321228027344" />
              <gpxx:rpt lat="51.55657066963613" lon="0.067873802036047">
                <gpxx:Subclass>0600B79AAA0166AB08002117000021001300</gpxx:Subclass>
              </gpxx:rpt>
            </gpxx:RoutePointExtension>
          </extensions>
        </rtept>
        <rtept lat="51.556519959121943" lon="0.06795996800065">
          <time>2021-03-02T16:19:34Z</time>
          <name>Ilford</name>
          <sym>Waypoint</sym>
          <extensions>
            <trp:ViaPoint>
              <trp:CalculationMode>FasterTime</trp:CalculationMode>
              <trp:ElevationMode>Standard</trp:ElevationMode>
            </trp:ViaPoint>
            <gpxx:RoutePointExtension>
              <gpxx:Subclass>000000000000FFFFFFFFFFFFFFFFFFFFFFFF</gpxx:Subclass>
            </gpxx:RoutePointExtension>
          </extensions>
        </rtept>
      </rte>
    
    </gpx>

    I suggest you experiment with Garmin Basecamp (free to download), so you can see how it constructs an Route

    Here is a full downloadable 1111.gpx zip file :-
     

    Attached Files:

    Nuvi-Nebie, Mar 2, 2021
    #8
  9. Bernie_Kamerman

    Bernie_Kamerman

    Joined:
    Feb 28, 2021
    Messages:
    7
    Likes Received:
    0
    Thank You,
    This is very revealing.
    I copied your gpx code and made made 1111-5555 with name AAAAA-EEEE and mine are displayed CCCC, BBBB, AAAA,EEEE, and dddd (I made dddd lowercase).
    So it is apparently something about my DriveSmart 61.
    My software Version: 6.30
    GPS Firmware: 9.00.00
    FMI: 3.6
     
    Bernie_Kamerman, Mar 3, 2021
    #9
  10. Bernie_Kamerman

    Nuvi-Nebie Moderator

    Joined:
    Aug 16, 2015
    Messages:
    1,569
    Likes Received:
    133
    Location:
    UK
    Take a look at this thread :-
    http://forums.gpsreview.net/discussion/31307/sorting-imported-trips-on-a-drivesmart-51
    It's probably worth reading all the posts but the last two refers to sorting by "trip departure time in Basecamp"

    I set the Route departure time to 12:34:56 in Basecamp

    Code:
      <trp:ViaPoint>
              <trp:DepartureTime>2021-03-03T12:34:56Z</trp:DepartureTime>
              <trp:CalculationMode>FasterTime</trp:CalculationMode>
              <trp:ElevationMode>Standard</trp:ElevationMode>
            </trp:ViaPoint>
    Full GPX below :-
     

    Attached Files:

    Nuvi-Nebie, Mar 3, 2021
    #10
  11. Bernie_Kamerman

    Bernie_Kamerman

    Joined:
    Feb 28, 2021
    Messages:
    7
    Likes Received:
    0
    I put 4 routes in the same gpx file alphabetically in order so that they would have to stored in order and they still display out of order. So I suspect it is a display side problem in the Drive Smart 61/51 devices.
    Definitely not a show stopped but I am curios about it.
     
    Bernie_Kamerman, Mar 3, 2021
    #11
  12. Bernie_Kamerman

    Nuvi-Nebie Moderator

    Joined:
    Aug 16, 2015
    Messages:
    1,569
    Likes Received:
    133
    Location:
    UK
    Did you see my post #10?, I think the problem has been identified
     
    Nuvi-Nebie, Mar 3, 2021
    #12
  13. Bernie_Kamerman

    Bernie_Kamerman

    Joined:
    Feb 28, 2021
    Messages:
    7
    Likes Received:
    0
    Yes I put in <trip:departuretimes> and I still see the files in the incorrect order. I made the departure dates and times both ascending. That is why I suspect display side.
    Also, incidentally, i testing with the same five fields with various combination of options those always display in the same incorrect order. Even when I put five <rte> structures in a single gpx file.
     
    Bernie_Kamerman, Mar 3, 2021
    #13
    1. Advertisements

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.