Skip to content
  • Categories
  • Recent
  • Popular
  • Support
  • MyRoute-app
Collapse
Brand Logo

MRA Community Forum

  1. Home
  2. MyRoute-app Routeplanner
  3. [Web] Problems, Bugs and other Issues
  4. Importing a GPX file

Importing a GPX file

Scheduled Pinned Locked Moved [Web] Problems, Bugs and other Issues
7 Posts 5 Posters 257 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Brett Bartickundefined Offline
    Brett Bartickundefined Offline
    Brett Bartick
    wrote last edited by
    #1

    As a longtime Garmin Basecamp user, I sometimes have an issue understanding the way MRA Routeplanner works. When using Basecamp, if I import a GPX file into a folder, I will see in that folder the Waypoints (or POIs), Routes and Tracks. provided each type exists.
    Within the MRA Routeplanner, is it possible to do something similar in one step? Or do I need to do this in three separate steps? ie

    1. Import Route
    2. Import Track
    3. POI --> Library --> Add
    1 Reply Last reply
    0
    • Con Hennekensundefined Offline
      Con Hennekensundefined Offline
      Con Hennekens
      Alpha tester
      wrote last edited by
      #2

      Yes, if you need the route as well as the track or POI when those are available in the GPX, it will be separate steps indeed. They also remain separate items after import (not linked to each other).

      I am just an enthusiastic MRA user, and hope you will be one too!

      Most motorcycle problems are caused by the nut that connects the handlebar to the saddle.

      Streetpilot 2610 / Zumo 660 / Zumo 395 / Motorola Thinkphone + MRA app

      1 Reply Last reply
      0
      • Brett Bartickundefined Offline
        Brett Bartickundefined Offline
        Brett Bartick
        wrote last edited by Brett Bartick
        #3

        The issue really isn't "need", but not knowing what is actually in the GPX file. So, if someone sends you a GPX file or maybe you download a GPX file from a link provided in a magazine article or a website, as a "best practices", one needs to actually execute the above three steps in post 1 when one isn't aware what actually is in the GPX file?

        Andy Wundefined 1 Reply Last reply
        0
        • Con Hennekensundefined Offline
          Con Hennekensundefined Offline
          Con Hennekens
          Alpha tester
          wrote last edited by
          #4

          Indeed, it currently is "trial and error".

          I am just an enthusiastic MRA user, and hope you will be one too!

          Most motorcycle problems are caused by the nut that connects the handlebar to the saddle.

          Streetpilot 2610 / Zumo 660 / Zumo 395 / Motorola Thinkphone + MRA app

          1 Reply Last reply
          1
          • Brett Bartickundefined Brett Bartick

            The issue really isn't "need", but not knowing what is actually in the GPX file. So, if someone sends you a GPX file or maybe you download a GPX file from a link provided in a magazine article or a website, as a "best practices", one needs to actually execute the above three steps in post 1 when one isn't aware what actually is in the GPX file?

            Andy Wundefined Offline
            Andy Wundefined Offline
            Andy W
            wrote last edited by
            #5

            @Brett-Bartick said in Importing a GPX file:

            The issue really isn't "need", but not knowing what is actually in the GPX file.

            You can see the contents of a GPX file without having to load it into MRA. This will also allow you to understand the internal structure of the file and perhaps, why things work they way they do. The internal format of a GPX file is basically XML so you can use an XML formatter to easily see what's inside. I use https://jsonformatter.org/xml-formatter which is one of the options from the https://codebeautify.org/ site.

            On the formatter, use the Open File option, then navigate to and select your GPX file:

            80dd44fd-fea6-4fd8-a341-32dac5b190bb-image.png

            The input XML is shown on the left side panel and a formatted view is on the right. You can scroll up and down that if you wish but it can help further if you use the XML Tree function which will give you a collapsed view of the file:

            b7a51c7f-ab69-48da-bfe0-3834124e9acf-image.png

            You can then use the expand/collapse arrows to gradually expand the elements to see what is there.

            I created a small sample route that has three route points, 2 via points (hand symbols) at the start and end of the route and one shaping point (number 2) part way along. I have also added two POI fuel stations and given them names which can been seen when you hover a mouse pointer over them.

            a1286f4c-63da-42ba-861f-82ee3fa73cc9-image.png

            I added a note to the final point (number 3) which can be seen on when you click on that point:

            fa1cc897-ca25-481f-bd1a-f163ff652197-image.png

            Going back to the XML tree, we can see that in this example there are 16 items under gpx. If we click the arrow to expand it, we see:

            0b9ffb2f-680c-4b1f-9a82-81ebe4966d01-image.png

            The metadata element contains the date and time the route was saved (not shown here) but probably the most interesting elements are the next three which are wpt, rte and trk.

            The wpt elements contain the POI details that were added to the route including the lat & long coordinates and the names given to those points:

            15ba6352-35a3-4c7e-9d05-5d135ad39bc5-image.png

            The rte element contains the route name plus a rtept (Route Point) element for each point on the route. In this case there are 3, and they are numbered 0, 1 and 2.

            9f0408f3-d467-4ae4-a01f-6c0f75e02ee1-image.png

            The following image shows expanded route points 1 and 2 plus the extensions element within each of those. We can see the name plus lat & long coordinates for each point. We can also see if the point is defined as a ShapingPoint or ViaPoint. The note that was added to the final point is also shown and MRA Navigation can read that out to you as you approach it (other navigation devices also have this capability).

            7034b15b-adfc-460b-8df1-2aeb15ed9289-image.png

            The trk element contains the track name and the track segment of the file. Expanding the trkseg element shows that there are 274 track points in this example route that is less than 5 miles long. Each trkpt is a lat & long coordinate from a point on the line shown on the map when you view your route.

            93d602d2-7816-408e-958a-4d496be6e4d4-image.png

            The distance between each trkpt can be measured in tens of metres/yards so for a long route, there can be thousands of them.

            Hope that helps.

            Nick Carthewundefined Guzzistundefined 2 Replies Last reply
            1
            • Andy Wundefined Andy W

              @Brett-Bartick said in Importing a GPX file:

              The issue really isn't "need", but not knowing what is actually in the GPX file.

              You can see the contents of a GPX file without having to load it into MRA. This will also allow you to understand the internal structure of the file and perhaps, why things work they way they do. The internal format of a GPX file is basically XML so you can use an XML formatter to easily see what's inside. I use https://jsonformatter.org/xml-formatter which is one of the options from the https://codebeautify.org/ site.

              On the formatter, use the Open File option, then navigate to and select your GPX file:

              80dd44fd-fea6-4fd8-a341-32dac5b190bb-image.png

              The input XML is shown on the left side panel and a formatted view is on the right. You can scroll up and down that if you wish but it can help further if you use the XML Tree function which will give you a collapsed view of the file:

              b7a51c7f-ab69-48da-bfe0-3834124e9acf-image.png

              You can then use the expand/collapse arrows to gradually expand the elements to see what is there.

              I created a small sample route that has three route points, 2 via points (hand symbols) at the start and end of the route and one shaping point (number 2) part way along. I have also added two POI fuel stations and given them names which can been seen when you hover a mouse pointer over them.

              a1286f4c-63da-42ba-861f-82ee3fa73cc9-image.png

              I added a note to the final point (number 3) which can be seen on when you click on that point:

              fa1cc897-ca25-481f-bd1a-f163ff652197-image.png

              Going back to the XML tree, we can see that in this example there are 16 items under gpx. If we click the arrow to expand it, we see:

              0b9ffb2f-680c-4b1f-9a82-81ebe4966d01-image.png

              The metadata element contains the date and time the route was saved (not shown here) but probably the most interesting elements are the next three which are wpt, rte and trk.

              The wpt elements contain the POI details that were added to the route including the lat & long coordinates and the names given to those points:

              15ba6352-35a3-4c7e-9d05-5d135ad39bc5-image.png

              The rte element contains the route name plus a rtept (Route Point) element for each point on the route. In this case there are 3, and they are numbered 0, 1 and 2.

              9f0408f3-d467-4ae4-a01f-6c0f75e02ee1-image.png

              The following image shows expanded route points 1 and 2 plus the extensions element within each of those. We can see the name plus lat & long coordinates for each point. We can also see if the point is defined as a ShapingPoint or ViaPoint. The note that was added to the final point is also shown and MRA Navigation can read that out to you as you approach it (other navigation devices also have this capability).

              7034b15b-adfc-460b-8df1-2aeb15ed9289-image.png

              The trk element contains the track name and the track segment of the file. Expanding the trkseg element shows that there are 274 track points in this example route that is less than 5 miles long. Each trkpt is a lat & long coordinate from a point on the line shown on the map when you view your route.

              93d602d2-7816-408e-958a-4d496be6e4d4-image.png

              The distance between each trkpt can be measured in tens of metres/yards so for a long route, there can be thousands of them.

              Hope that helps.

              Nick Carthewundefined Online
              Nick Carthewundefined Online
              Nick Carthew
              RouteXpert
              wrote last edited by Nick Carthew
              #6

              @Andy-W Great advice and explanation, but nevermind that, you're making demo routes in my manor! 😂

              Always willing to help if I can.
              Triumph Tiger 1200 XRT called Tina.
              MRA Navigation Next and SilverFox BJ8

              1 Reply Last reply
              0
              • Andy Wundefined Andy W

                @Brett-Bartick said in Importing a GPX file:

                The issue really isn't "need", but not knowing what is actually in the GPX file.

                You can see the contents of a GPX file without having to load it into MRA. This will also allow you to understand the internal structure of the file and perhaps, why things work they way they do. The internal format of a GPX file is basically XML so you can use an XML formatter to easily see what's inside. I use https://jsonformatter.org/xml-formatter which is one of the options from the https://codebeautify.org/ site.

                On the formatter, use the Open File option, then navigate to and select your GPX file:

                80dd44fd-fea6-4fd8-a341-32dac5b190bb-image.png

                The input XML is shown on the left side panel and a formatted view is on the right. You can scroll up and down that if you wish but it can help further if you use the XML Tree function which will give you a collapsed view of the file:

                b7a51c7f-ab69-48da-bfe0-3834124e9acf-image.png

                You can then use the expand/collapse arrows to gradually expand the elements to see what is there.

                I created a small sample route that has three route points, 2 via points (hand symbols) at the start and end of the route and one shaping point (number 2) part way along. I have also added two POI fuel stations and given them names which can been seen when you hover a mouse pointer over them.

                a1286f4c-63da-42ba-861f-82ee3fa73cc9-image.png

                I added a note to the final point (number 3) which can be seen on when you click on that point:

                fa1cc897-ca25-481f-bd1a-f163ff652197-image.png

                Going back to the XML tree, we can see that in this example there are 16 items under gpx. If we click the arrow to expand it, we see:

                0b9ffb2f-680c-4b1f-9a82-81ebe4966d01-image.png

                The metadata element contains the date and time the route was saved (not shown here) but probably the most interesting elements are the next three which are wpt, rte and trk.

                The wpt elements contain the POI details that were added to the route including the lat & long coordinates and the names given to those points:

                15ba6352-35a3-4c7e-9d05-5d135ad39bc5-image.png

                The rte element contains the route name plus a rtept (Route Point) element for each point on the route. In this case there are 3, and they are numbered 0, 1 and 2.

                9f0408f3-d467-4ae4-a01f-6c0f75e02ee1-image.png

                The following image shows expanded route points 1 and 2 plus the extensions element within each of those. We can see the name plus lat & long coordinates for each point. We can also see if the point is defined as a ShapingPoint or ViaPoint. The note that was added to the final point is also shown and MRA Navigation can read that out to you as you approach it (other navigation devices also have this capability).

                7034b15b-adfc-460b-8df1-2aeb15ed9289-image.png

                The trk element contains the track name and the track segment of the file. Expanding the trkseg element shows that there are 274 track points in this example route that is less than 5 miles long. Each trkpt is a lat & long coordinate from a point on the line shown on the map when you view your route.

                93d602d2-7816-408e-958a-4d496be6e4d4-image.png

                The distance between each trkpt can be measured in tens of metres/yards so for a long route, there can be thousands of them.

                Hope that helps.

                Guzzistundefined Offline
                Guzzistundefined Offline
                Guzzist
                Valued contributor
                wrote last edited by
                #7

                @Andy-W wow, what an answer for a easy question! Rspect 👍
                I would call it extra teaching lesson 👏

                Nothing is impossible ;-)
                In past: GARMIN Zumo 210->GARMIN Zumo 395->GARMIN XT=> now: DMD T865-X + MyRoute-App, LocusMaps, OsmAnd.
                In past: GARMIN MapSource ->GARMIN BaseCamp->Tyre->Kurviger->Calimoto=> now: MRA-Routplanner.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                ACTIVE USERS
                Nick Carthewundefined
                Nick Carthew
                Guzzistundefined
                Guzzist
                Con Hennekensundefined
                Con Hennekens
                Andy Wundefined
                Andy W
                Brett Bartickundefined
                Brett Bartick
                POPULAR TOPICS
                • MRA 5.0.1-430 Limit of 1000 POIs
                  Hubert Thoringundefined
                  Hubert Thoring
                  0
                  9
                  13

                • New beta! 5.0.1 (430)
                  Nick Carthewundefined
                  Nick Carthew
                  6
                  3
                  20

                • Audio cuttet via Bluetooth
                  M. Schrijverundefined
                  M. Schrijver
                  0
                  13
                  506

                • Importing a GPX file
                  Guzzistundefined
                  Guzzist
                  0
                  7
                  257

                • Disappearing keyboard issue
                  Hubert Thoringundefined
                  Hubert Thoring
                  2
                  23
                  172

                • POI Library Question
                  Con Hennekensundefined
                  Con Hennekens
                  0
                  8
                  246

                • Route naar bestemming
                  Ad lundefined
                  Ad l
                  0
                  13
                  614
                MY GROUPS
                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Popular
                • Support
                • MyRoute-app