brouter-web
brouter-web copied to clipboard
Improving the Brouter gpx export.
Locus 3.50.1 Navigation Commands & Icons_2p.pdf
The current BRouter gpx export does not fully reflect the planner quality.
What bothers me most ? You need to add a separate preset for each individual app. The waypoint list is polluted by many Locus turn waypoints. Multiple turn wpt pollute the map view by imports in other apps.
Expected:
A compact neat waypoint list with only desired waypoints. A track with ALL data discreetly present in the trackpoints. The existing apps are not badly affected by the extra data.
Is this the same or a related request as in this Groups entry? Gpx export by Brouter web. (OSM Android bikerouting group)
Correct.
Adding turn data info in trackpoints is discrete without any interference in existing applications displays. Existing applications simply ignore the 'extra' data and the information added in the trackpoints. The most important tag is the trkpt [EN]sym which provides the Turn Command and Turn Icon. The gpx [EN]sym method is comparable with the [EN]PointType in Garmin tcx course files. But here resolutely is choosen NOT to make use of the "associated" waypoints method. In this way, a gpx waypoint list is not additionally polluted by multiple turn waypoints. The navigation app "scans" the trkpt's and promotes those with a correct [EN]sym to be turn points. And additionally by the [EN]type routeplanner points are promoted into a Shaping or Via point. The "Locus" standard [EN]sym text list contains more instructions than only L/R/S as with tcx.
Info in the Locus map forum link: https://t.ly/XRai
From a quick glance I'm not sure I understand what kind of export the linked file is and what the use case is.
I will only take time to look into this after the upcoming release, maybe someone else can help figuring this out?
Hello 0709wiwiwi!
You suggest to use the tag "trkpt [EN]sym" in future to store turn instructions in the GPX file? I think, it is a good idea to try to use a standardize way to store the turn instructions ... But.... I only found this documentation about "sym":
Text of GPS symbol name. For interchange with other programs, use the exact spelling of the symbol on the GPS, if known.
2 questions:
- Could you provide the approved GPX documentation saying, "sym" is used for turn instruction?
- Can you list the navigation-app that support this "sym" tag for turn instruction? (Osman, Oruxmaps and Locusmaps are the more interesting)
A further remark: I think, the GPX file is generated in the Brouter, not in the Brouter-web, that for it should be better to move the request to Brouter.
Hello EssBee59.
The gpx standard only provides the necessary tools to produce something nice with it. Just like you go into a craft shop and buy a hammer and chisel and a piece of marble. An artist will probably carve a nice sculpture out of it, another will smash the marble.
The gpx [EN] sym is used here to add the basic turn instructions and to generate the turnsymbols. The correct [EN]sym and [EN]type are important, other tags can be edited in a local language..
The gpx [EN]sym for turns idea comes from Garmin tcx course where [EN]PointType is used for the same purpose.
Garmin tcx course standard offers only a limited turn list by correct text expression to be used into the [EN]PointType. In tcx courses the [EN]PointType text is used to generate the (in app translated) turn instructions and the turn Icon. The [EN]sym in gpx track files usage is so very similar with the [EN]PointType in a tcx course (track) file.
In the Locus the navigation by a gpx track by associated waypoints is operational.
As such this is a tcx clone by gpx without the limitations by the Garmin tcx standard.
Locus so had already a
Find the list in the document with supported turn instructions by the Locus [EN]sym. The listed serial is the figure for turns as applied in the original Locus waypoint extension. Find that turnlist here: https://t.ly/sC0t
The idea by [EN]sym has been started already about 10 years ago. The method to navigate by gpx in Locus is still a little bit unknown.
The idea then evolved to a more simple and tested application by the [EN]sym in trackpoints. I can't imagine to use it in a more simple robust way than by instructions in the trackpoints.
The mode by trackpoints is super simple to understand, discrete and friendly for older apps, very robust, and delivers you an immediate TRUE real tracknavigation at import in the navigation app, inclusive Shaping and Via Planner Point support. This allows you to fastly replan or modify any existing track design quite fast and easy.
What apps currently can use such a navigation trackfile ? Locus app at import. What routers generate such a navigation trackfile ? The RouteYou web planner.
Better move to Github Brouter ? Sure ?
Hello @0709wiwiwi,
Thank for the clarification! The Brouter allready supports currently 5 versions for the turn instructions...
But your comment above about "polluation" is not correct: Brouter-web users have the choice for a version (default is "turninstructionmode=autochoose = no turn instruction!) Only a problem remains when the GPX is intended for many friends using different navi.apps...
Anyway: Yes, I prefered to have only one standard version... but have no idea which version can/will get "standard" or at leat "industry standard".
Yes, please move the request (including the clarification above) to the Brouter for further discussion. Regards
Better move to Github Brouter ? Sure ?
No, not sure yet.
We're about to switch to client-side formatting, where it might be easier to add additional format options and features.
Quote: Yes, I prefered to have only one standard version... but have no idea which version can/will get "standard" or at leat "industry standard".
This plug and play gpx track file delivers TRUE track navigation ready upon import in the navigation app.
Messy route planner point positions causes wrong results. A route planner with U-turn warnings could prevent some mischief. Generating U-turns and using them as alert signals would definitely encourage the correct placement of planner points. Combating those very annoying track glitches is a main task to do for a good useful (web) planner machine.
https://github.com/abrensch/brouter/issues/436#issuecomment-1137724508
Note this gpx track file could 100% faithfully be recovered after reimport in the Brouter web planner. All planner Shaping or Via points remain present, you could so immediately continue to work with it.
14/09/2021 All planner Shaping or Via points remain present, you CAN immediately continue to work with it._ Demo possible by next UPDATE: https://groups.google.com/g/cruiser-users/c/cY9uthCX0e0/m/KK9IaYSuAAAJ The Cruiser app supports both the import and export in this gpx navigation track format.
Example: 1_Barel_NL_navtrkpt.gpx.txt