Open joeldebruijn opened 4 months ago
Hi @joeldebruijn
I created the GPX file on the web Sat Jul 20 2024 - 2.gpx.zip :
After I opened this file by OsmAnd:
Tapping to "Plan a route" tool opens this route with Profile with OsmAnd and preparing route:
This file has two types of tags inside :
<rte>
<rtept lat="51.4595155" lon="19.7813988">
<extensions>
<osmand:profile>bicycle</osmand:profile>
<osmand:trkpt_idx>0</osmand:trkpt_idx>
</extensions>
</rtept>
<rtept lat="51.4452346" lon="19.8312664">
<extensions>
<osmand:profile>bicycle</osmand:profile>
<osmand:trkpt_idx>43</osmand:trkpt_idx>
</extensions>
</rtept>
<rtept lat="51.430093" lon="19.8674011">
<extensions>
<osmand:profile>bicycle</osmand:profile>
<osmand:trkpt_idx>55</osmand:trkpt_idx>
</extensions>
</rtept>
<rtept lat="51.4104495" lon="19.8491192">
<extensions>
<osmand:profile>bicycle</osmand:profile>
<osmand:trkpt_idx>75</osmand:trkpt_idx>
</extensions>
</rtept>
<rtept lat="51.3934756" lon="19.8487759">
<extensions>
<osmand:profile>bicycle</osmand:profile>
<osmand:trkpt_idx>144</osmand:trkpt_idx>
</extensions>
</rtept>
<rtept lat="51.3726377" lon="19.8429394">
<extensions>
<osmand:profile>bicycle</osmand:profile>
<osmand:trkpt_idx>282</osmand:trkpt_idx>
</extensions>
</rtept>
<rtept lat="51.352916" lon="19.8306656">
<extensions>
<osmand:profile>bicycle</osmand:profile>
<osmand:trkpt_idx>344</osmand:trkpt_idx>
</extensions>
</rtept>
</rte>
classic point-to-point
<trk>
<trkseg>
<trkpt lat="51.459559" lon="19.7814786">
<ele>201</ele>
</trkpt>
<trkpt lat="51.4591662" lon="19.7820264">
<ele>201</ele>
</trkpt>
<trkpt lat="51.4591428" lon="19.7820586">
<ele>199.7</ele>
</trkpt>
<trkpt lat="51.4591161" lon="19.7820157">
<ele>201</ele>
</trkpt>
<trkpt lat="51.4587768" lon="19.7824985">
<ele>200.2</ele>
</trkpt>
<trkpt lat="51.4558053" lon="19.7865567">
<ele>201.8</ele>
</trkpt>
<trkpt lat="51.455476" lon="19.7869912">
<ele>201</ele>
</trkpt>
............
The Komoot app can open one or second variants:
choosing of variants | |
---|---|
But the Organics maps app opens as you wrote with a mix:
Oh thnx for reproducing and sharing this, never new GPX could have these 2 "types of Tour". 🙏
Is there a way for OSMand to generate with only point-to-point and without route segment?
Otherwise I make an issue for Organic Maps to treat GPX import the way Komoot does.
Oh thnx for reproducing and sharing this, never new GPX could have these 2 "types of Tour". 🙏
Is there a way for OSMand to generate with only point-to-point and without route segment?
Otherwise I make an issue for Organic Maps to treat GPX import the way Komoot does.
While you can do it on the OsmAnd App Open track menu > Plan a route button (Edit track) > Opitons > Save as new track > choose the "Simplified Track" option and save it. and only after that this track will be have only point-to-point
https://osmand.net/docs/user/plan-route/create-route/#save-as-new-track
Your explanation helped me looking into the GPX standard, learned about rtept en trkpt differences. eg https://gis.stackexchange.com/questions/403664/how-route-points-rtept-and-track-points-trkpt-can-exist-in-a-gpx-file-togeth
I was inclined to close this issue and make a new one, asking for the "Simplefied Track" option for OSM web. Preferably somewhere here:
But I dont know if OSMand web is meant to have the same features as OSMand Android/iOS? Because then the backlog for web becomes huge I guess?
@joeldebruijn Yes, it's a good decision to make a new issue. Please, create it here. yesterday we had a short discussion about this case and the "Simplified track" is needed for the Options list.
Background:
Symptom: When opening a GPX file (made by OSMand) in another app it shows a straight returning line.
I tested it in 2 other apps and it shows. Imported in OSMand Android this line is absent though.
Questions: