Error when loading track

Started by twoten, September 11, 2020, 12:05:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

twoten

When trying to import a GPX file to us a track I get an error "error when loading track.
The file appears to work when loading into online viewers.
The GPX file I'm trying to laod is:

<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.1"
creator="ViewRanger/10.4.4 http://www.viewranger.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.topografix.com/GPX/1/1"
xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1"
xmlns:viewranger="http://www.viewranger.com/xmlschemas/GpxExtensions/v3"
xmlns:gpx_style="http://www.topografix.com/GPX/gpx_style/0/2"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.topografix.com/GPX/gpx_style/0/2
http://www.topografix.com/GPX/gpx_style/0/2/gpx_style.xsd http://www.viewranger.com/xmlschemas/GpxExtensions/v3 http://www.viewranger.com/xmlschemas/GpxExtensions/v3/GpxExtensionsV3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd">
<rte>
<name><![CDATA[Essendon And little Berkhamstead]]></name>
<cmt><![CDATA[Parking in street at essendon<BR />Pub at essendon and little berkhamstead]]></cmt>
<type><![CDATA[Route]]></type>
<extensions><gpx_style:line><gpx_style:color>0000ff</gpx_style:color></gpx_style:line>
</extensions>
<rtept lat="51.763450" lon="-0.156958">
<name><![CDATA[Start]]></name>
</rtept>
<rtept lat="51.763200" lon="-0.157099">
<name><![CDATA[WP2]]></name>
</rtept>
<rtept lat="51.762762" lon="-0.157291">
<name><![CDATA[WP3]]></name>
</rtept>
<rtept lat="51.762123" lon="-0.157809">
<name><![CDATA[WP4]]></name>
</rtept>
<rtept lat="51.761335" lon="-0.156870">
<name><![CDATA[WP5]]></name>
</rtept>
<rtept lat="51.760409" lon="-0.157473">
<name><![CDATA[WP6]]></name>
</rtept>
<rtept lat="51.759712" lon="-0.159458">
<name><![CDATA[WP7]]></name>
</rtept>
<rtept lat="51.758846" lon="-0.162695">
<name><![CDATA[WP8]]></name>
</rtept>
<rtept lat="51.758801" lon="-0.166175">
<name><![CDATA[WP9]]></name>
</rtept>
<rtept lat="51.757278" lon="-0.165990">
<name><![CDATA[WP10]]></name>
</rtept>
<rtept lat="51.756480" lon="-0.166081">
<name><![CDATA[WP11]]></name>
</rtept>
<rtept lat="51.755779" lon="-0.165573">
<name><![CDATA[WP12]]></name>
</rtept>
<rtept lat="51.754280" lon="-0.165720">
<name><![CDATA[WP13]]></name>
</rtept>
<rtept lat="51.753658" lon="-0.165079">
<name><![CDATA[WP14]]></name>
</rtept>
<rtept lat="51.752998" lon="-0.162513">
<name><![CDATA[WP15]]></name>
</rtept>
<rtept lat="51.752579" lon="-0.161631">
<name><![CDATA[WP16]]></name>
</rtept>
<rtept lat="51.751950" lon="-0.161092">
<name><![CDATA[WP17]]></name>
</rtept>
<rtept lat="51.751201" lon="-0.160325">
<name><![CDATA[WP18]]></name>
</rtept>
<rtept lat="51.750554" lon="-0.159207">
<name><![CDATA[WP19]]></name>
</rtept>
<rtept lat="51.749545" lon="-0.157959">
<name><![CDATA[WP20]]></name>
</rtept>
<rtept lat="51.749510" lon="-0.156816">
<name><![CDATA[WP21]]></name>
</rtept>
<rtept lat="51.749463" lon="-0.155543">
<name><![CDATA[WP22]]></name>
</rtept>
<rtept lat="51.750053" lon="-0.153621">
<name><![CDATA[WP23]]></name>
</rtept>
<rtept lat="51.749927" lon="-0.153032">
<name><![CDATA[WP24]]></name>
</rtept>
<rtept lat="51.749542" lon="-0.152599">
<name><![CDATA[WP25]]></name>
</rtept>
<rtept lat="51.749133" lon="-0.152297">
<name><![CDATA[WP26]]></name>
</rtept>
<rtept lat="51.749040" lon="-0.150968">
<name><![CDATA[WP27]]></name>
</rtept>
<rtept lat="51.749199" lon="-0.150208">
<name><![CDATA[WP28]]></name>
</rtept>
<rtept lat="51.749531" lon="-0.149006">
<name><![CDATA[WP29]]></name>
</rtept>
<rtept lat="51.749757" lon="-0.147969">
<name><![CDATA[WP30]]></name>
</rtept>
<rtept lat="51.750346" lon="-0.146510">
<name><![CDATA[WP31]]></name>
</rtept>
<rtept lat="51.750387" lon="-0.145683">
<name><![CDATA[WP32]]></name>
</rtept>
<rtept lat="51.750424" lon="-0.144638">
<name><![CDATA[WP33]]></name>
</rtept>
<rtept lat="51.750389" lon="-0.143002">
<name><![CDATA[WP34]]></name>
</rtept>
<rtept lat="51.750707" lon="-0.139237">
<name><![CDATA[WP35]]></name>
</rtept>
<rtept lat="51.751595" lon="-0.136216">
<name><![CDATA[WP36]]></name>
</rtept>
<rtept lat="51.751920" lon="-0.135218">
<name><![CDATA[WP37]]></name>
</rtept>
<rtept lat="51.752304" lon="-0.134463">
<name><![CDATA[WP38]]></name>
</rtept>
<rtept lat="51.752965" lon="-0.134189">
<name><![CDATA[WP39]]></name>
</rtept>
<rtept lat="51.753552" lon="-0.133223">
<name><![CDATA[WP40]]></name>
</rtept>
<rtept lat="51.754104" lon="-0.132838">
<name><![CDATA[WP41]]></name>
</rtept>
<rtept lat="51.754574" lon="-0.132413">
<name><![CDATA[WP42]]></name>
</rtept>
<rtept lat="51.754848" lon="-0.131011">
<name><![CDATA[WP43]]></name>
</rtept>
<rtept lat="51.755280" lon="-0.129313">
<name><![CDATA[WP44]]></name>
</rtept>
<rtept lat="51.756321" lon="-0.129762">
<name><![CDATA[WP45]]></name>
</rtept>
<rtept lat="51.757561" lon="-0.129711">
<name><![CDATA[WP46]]></name>
</rtept>
<rtept lat="51.758601" lon="-0.130624">
<name><![CDATA[WP47]]></name>
</rtept>
<rtept lat="51.759315" lon="-0.131435">
<name><![CDATA[WP48]]></name>
</rtept>
<rtept lat="51.759983" lon="-0.132190">
<name><![CDATA[WP49]]></name>
</rtept>
<rtept lat="51.760192" lon="-0.132892">
<name><![CDATA[WP50]]></name>
</rtept>
<rtept lat="51.761293" lon="-0.133672">
<name><![CDATA[WP51]]></name>
</rtept>
<rtept lat="51.762096" lon="-0.134422">
<name><![CDATA[WP52]]></name>
</rtept>
<rtept lat="51.763504" lon="-0.135334">
<name><![CDATA[WP53]]></name>
</rtept>
<rtept lat="51.763717" lon="-0.135702">
<name><![CDATA[WP54]]></name>
</rtept>
<rtept lat="51.763726" lon="-0.137427">
<name><![CDATA[WP55]]></name>
</rtept>
<rtept lat="51.763797" lon="-0.138496">
<name><![CDATA[WP56]]></name>
</rtept>
<rtept lat="51.763273" lon="-0.139474">
<name><![CDATA[WP57]]></name>
</rtept>
<rtept lat="51.762697" lon="-0.142874">
<name><![CDATA[WP58]]></name>
</rtept>
<rtept lat="51.762603" lon="-0.143733">
<name><![CDATA[WP59]]></name>
</rtept>
<rtept lat="51.762636" lon="-0.144659">
<name><![CDATA[WP60]]></name>
</rtept>
<rtept lat="51.762536" lon="-0.145736">
<name><![CDATA[WP61]]></name>
</rtept>
<rtept lat="51.762338" lon="-0.146889">
<name><![CDATA[WP62]]></name>
</rtept>
<rtept lat="51.762198" lon="-0.147677">
<name><![CDATA[WP63]]></name>
</rtept>
<rtept lat="51.762096" lon="-0.148637">
<name><![CDATA[WP64]]></name>
</rtept>
<rtept lat="51.761988" lon="-0.149787">
<name><![CDATA[WP65]]></name>
</rtept>
<rtept lat="51.761880" lon="-0.150921">
<name><![CDATA[WP66]]></name>
</rtept>
<rtept lat="51.761834" lon="-0.152590">
<name><![CDATA[WP67]]></name>
</rtept>
<rtept lat="51.761740" lon="-0.154622">
<name><![CDATA[WP68]]></name>
</rtept>
<rtept lat="51.762448" lon="-0.155014">
<name><![CDATA[WP69]]></name>
</rtept>
<rtept lat="51.762877" lon="-0.155445">
<name><![CDATA[WP70]]></name>
</rtept>
<rtept lat="51.763321" lon="-0.155645">
<name><![CDATA[WP71]]></name>
</rtept>
<rtept lat="51.763338" lon="-0.156731">
<name><![CDATA[Finish]]></name>
</rtept>
</rte>
</gpx>


twoten

Having played with this for a bit longer, I uploaded the GPX file to Alltrails as a recording and saved it.
I then downloaded it from Alltrails (as below) and loaded it into Oruxmaps without a problem.
As can be seen, the original GPX file was from downloaded from Viewranger.
Are there any easy changes I can make to the original Viewranger GPX file that would allow me to load in Oruxmaps without having to use AllTrails first to change it?
<?xml version="1.0"?>
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" creator="AllTrails.com" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
  <metadata>
    <name><![CDATA[Essendon And little Berkhamstead temp]]></name>
    <desc><![CDATA[]]></desc>
    <link href="http://www.alltrails.com">
      <text>AllTrails, LLC</text>
    </link>
    <bounds minlat="51.74904" minlon="-0.16618" maxlat="51.7638" maxlon="-0.12931"/>
  </metadata>
  <trk>
    <name><![CDATA[Essendon And little Berkhamstead on AllTrails]]></name>
    <desc><![CDATA[]]></desc>
    <trkseg>
      <trkpt lat="51.76345" lon="-0.15696">
        <ele>84.74</ele>
      </trkpt>
      <trkpt lat="51.7632" lon="-0.1571">
        <ele>78.11</ele>
      </trkpt>
      <trkpt lat="51.76276" lon="-0.15729">
        <ele>79.01</ele>
      </trkpt>
      <trkpt lat="51.76212" lon="-0.15781">
        <ele>90.88</ele>
      </trkpt>
      <trkpt lat="51.76134" lon="-0.15687">
        <ele>97.13</ele>
      </trkpt>
      <trkpt lat="51.76041" lon="-0.15747">
        <ele>112.79</ele>
      </trkpt>
      <trkpt lat="51.75971" lon="-0.15946">
        <ele>90.81</ele>
      </trkpt>
      <trkpt lat="51.75885" lon="-0.1627">
        <ele>47.58</ele>
      </trkpt>
      <trkpt lat="51.7588" lon="-0.16618">
        <ele>73.4</ele>
      </trkpt>
      <trkpt lat="51.75728" lon="-0.16599">
        <ele>60.14</ele>
      </trkpt>
      <trkpt lat="51.75648" lon="-0.16608">
        <ele>79.83</ele>
      </trkpt>
      <trkpt lat="51.75578" lon="-0.16557">
        <ele>69.91</ele>
      </trkpt>
      <trkpt lat="51.75428" lon="-0.16572">
        <ele>87.24</ele>
      </trkpt>
      <trkpt lat="51.75366" lon="-0.16508">
        <ele>77.09</ele>
      </trkpt>
      <trkpt lat="51.753" lon="-0.16251">
        <ele>70.39</ele>
      </trkpt>
      <trkpt lat="51.75258" lon="-0.16163">
        <ele>74.26</ele>
      </trkpt>
      <trkpt lat="51.75195" lon="-0.16109">
        <ele>66.79</ele>
      </trkpt>
      <trkpt lat="51.7512" lon="-0.16033">
        <ele>71.36</ele>
      </trkpt>
      <trkpt lat="51.75055" lon="-0.15921">
        <ele>73.41</ele>
      </trkpt>
      <trkpt lat="51.74955" lon="-0.15796">
        <ele>77.01</ele>
      </trkpt>
      <trkpt lat="51.74951" lon="-0.15682">
        <ele>89.79</ele>
      </trkpt>
      <trkpt lat="51.74946" lon="-0.15554">
        <ele>92.84</ele>
      </trkpt>
      <trkpt lat="51.75005" lon="-0.15362">
        <ele>95.08</ele>
      </trkpt>
      <trkpt lat="51.74993" lon="-0.15303">
        <ele>100.92</ele>
      </trkpt>
      <trkpt lat="51.74954" lon="-0.1526">
        <ele>95.36</ele>
      </trkpt>
      <trkpt lat="51.74913" lon="-0.1523">
        <ele>94.53</ele>
      </trkpt>
      <trkpt lat="51.74904" lon="-0.15097">
        <ele>110.3</ele>
      </trkpt>
      <trkpt lat="51.7492" lon="-0.15021">
        <ele>114.36</ele>
      </trkpt>
      <trkpt lat="51.74953" lon="-0.14901">
        <ele>111.97</ele>
      </trkpt>
      <trkpt lat="51.74976" lon="-0.14797">
        <ele>114.36</ele>
      </trkpt>
      <trkpt lat="51.75035" lon="-0.14651">
        <ele>113.74</ele>
      </trkpt>
      <trkpt lat="51.75039" lon="-0.14568">
        <ele>109.3</ele>
      </trkpt>
      <trkpt lat="51.75042" lon="-0.14464">
        <ele>106.49</ele>
      </trkpt>
      <trkpt lat="51.75039" lon="-0.143">
        <ele>101.03</ele>
      </trkpt>
      <trkpt lat="51.75071" lon="-0.13924">
        <ele>87.94</ele>
      </trkpt>
      <trkpt lat="51.7516" lon="-0.13622">
        <ele>103.15</ele>
      </trkpt>
      <trkpt lat="51.75192" lon="-0.13522">
        <ele>106.54</ele>
      </trkpt>
      <trkpt lat="51.7523" lon="-0.13446">
        <ele>113.56</ele>
      </trkpt>
      <trkpt lat="51.75297" lon="-0.13419">
        <ele>109.71</ele>
      </trkpt>
      <trkpt lat="51.75355" lon="-0.13322">
        <ele>113.83</ele>
      </trkpt>
      <trkpt lat="51.7541" lon="-0.13284">
        <ele>110.08</ele>
      </trkpt>
      <trkpt lat="51.75457" lon="-0.13241">
        <ele>115.37</ele>
      </trkpt>
      <trkpt lat="51.75485" lon="-0.13101">
        <ele>111.77</ele>
      </trkpt>
      <trkpt lat="51.75528" lon="-0.12931">
        <ele>117.91</ele>
      </trkpt>
      <trkpt lat="51.75632" lon="-0.12976">
        <ele>103.32</ele>
      </trkpt>
      <trkpt lat="51.75756" lon="-0.12971">
        <ele>89.1</ele>
      </trkpt>
      <trkpt lat="51.7586" lon="-0.13062">
        <ele>74.08</ele>
      </trkpt>
      <trkpt lat="51.75932" lon="-0.13144">
        <ele>76.06</ele>
      </trkpt>
      <trkpt lat="51.75998" lon="-0.13219">
        <ele>81.5</ele>
      </trkpt>
      <trkpt lat="51.76019" lon="-0.13289">
        <ele>77.8</ele>
      </trkpt>
      <trkpt lat="51.76129" lon="-0.13367">
        <ele>79.06</ele>
      </trkpt>
      <trkpt lat="51.7621" lon="-0.13442">
        <ele>62.26</ele>
      </trkpt>
      <trkpt lat="51.7635" lon="-0.13533">
        <ele>71.93</ele>
      </trkpt>
      <trkpt lat="51.76372" lon="-0.1357">
        <ele>70.62</ele>
      </trkpt>
      <trkpt lat="51.76373" lon="-0.13743">
        <ele>71.0</ele>
      </trkpt>
      <trkpt lat="51.7638" lon="-0.1385">
        <ele>63.66</ele>
      </trkpt>
      <trkpt lat="51.76327" lon="-0.13947">
        <ele>69.94</ele>
      </trkpt>
      <trkpt lat="51.7627" lon="-0.14287">
        <ele>55.87</ele>
      </trkpt>
      <trkpt lat="51.7626" lon="-0.14373">
        <ele>48.94</ele>
      </trkpt>
      <trkpt lat="51.76264" lon="-0.14466">
        <ele>51.11</ele>
      </trkpt>
      <trkpt lat="51.76254" lon="-0.14574">
        <ele>66.43</ele>
      </trkpt>
      <trkpt lat="51.76234" lon="-0.14689">
        <ele>62.53</ele>
      </trkpt>
      <trkpt lat="51.7622" lon="-0.14768">
        <ele>65.7</ele>
      </trkpt>
      <trkpt lat="51.7621" lon="-0.14864">
        <ele>79.22</ele>
      </trkpt>
      <trkpt lat="51.76199" lon="-0.14979">
        <ele>87.98</ele>
      </trkpt>
      <trkpt lat="51.76188" lon="-0.15092">
        <ele>104.6</ele>
      </trkpt>
      <trkpt lat="51.76183" lon="-0.15259">
        <ele>103.43</ele>
      </trkpt>
      <trkpt lat="51.76174" lon="-0.15462">
        <ele>85.1</ele>
      </trkpt>
      <trkpt lat="51.76245" lon="-0.15501">
        <ele>99.16</ele>
      </trkpt>
      <trkpt lat="51.76288" lon="-0.15545">
        <ele>104.33</ele>
      </trkpt>
      <trkpt lat="51.76332" lon="-0.15565">
        <ele>103.54</ele>
      </trkpt>
      <trkpt lat="51.76334" lon="-0.15673">
        <ele>85.02</ele>
      </trkpt>
    </trkseg>
  </trk>
</gpx>