Comments (14)
A new idea of a typed waypoint:
type | short | description |
---|---|---|
changing profile | c:car-fast | A point to change the rules of routing with a new profile. |
This could allow routing combinations like
- car-fast (to get out of the city) and car-eco (to enjoy the countryside)
- train/hike to spend a nice day out in the mountains
- ...
The result is a routing file with two routes included:
<trk>
<src>brouter_car-fast_0</src>
<type>car</type>
...
</trk>
<trk>
<src>brouter_car-eco_0</src>
<type>car</type>
...
</trk>
What do you think?
from brouter.
do you mean that we will be able to mix the BRouter profiles in 1 route request?
That was the basic idea on the new type of waypoint.
It could look like this
...&profile=car-fast&lonlats=1.2345,50.12345;1.345,50.345,c:car-eco;1.456,50456...
I haven't tried it yet, just an idea for now.
from brouter.
The straight line becomes a 3rd type?
Shouldn't it able to work together with any point type (via | shaping)?
Other routers allow to set a straight line on any point: via or shaping or start / end.
Meaning they set separately the point type and the point weight, e.g. straight line.
from brouter.
@devemux86
I see the direct type as a variant of the meeting point. When it is not the first point it has a previous segment and it starts with the end point of this segment.
Sample:
We have 1.0,1.0 ; 1.1,1.1,d ; 1.2,1.2
BRouter calculates segment by segment, means it starts with 1.0,1.0 ; 1.1,1.1. The result for a 'normal' segment is matched to a way. Then 1.1,1.1,d to1.2,1.2 is routed direct.
That is the way it goes at the moment. Real sample here
from brouter.
@afischerdev do you mean trk
or trkpt
?
(you mention waypoint but the example has trk)
from brouter.
@devemux86
I mean two trk in one file as a result of this logic. One trk is routed with the first profile, the next is routed with another.
The waypoint is 'only' the point of change for the profiles.
from brouter.
A gpx can contain multiple trk
for multiple routes.
As the src
and type
can be used for the router info and the travel mode, it would be useful.
@0709wiwiwi any comments?
from brouter.
LocusMap has the feature for this in the route planner, where you can change the profile before any addition of next route segment.
from brouter.
When I think of multitracks, I spontaneously think of a triathlon route.
Three consecutive tracks for a total different activity.
I hope by waypoints effectively meant are routepoints.
And since Locus is mentioned apart notice a very important difference.
See the attachment txt.
Cruiser navigatietrack.txt
from brouter.
Obviously, the needs differ dramatically, if the planning is done on the web or the target application. I do almost exclusively the latter.
from brouter.
See the attachment txt.
One more thing.
What should be obtained through the trkpt scr profile tag is:
Through a trk type profile change you can so recalculate the (navtrk) navigation track.
Track sections ending on a section target Via or shaping trkpt inclusive src tag are not recalculated.
Like a beeline section which should definitely to be excluded from any track recalculation.
from brouter.
LocusMap has the feature for this in the route planner
Good to know that. I think this is done by two (or more) calls an BRouter api
@0709wiwiwi
Triathlon is a nice sample on that.
I hope by waypoints you mean route points.
I mean the incoming points for the BRouter calculation. Route point is a result point of the calculation - for me.
But sorry we don't have a gpx input at the moment.
from brouter.
I mean the incoming points for the BRouter calculation.
@afischerdev do you mean that we will be able to mix the BRouter profiles in 1 route request?
Request a route with N segments: 1: car-fast, 2: trekking, 3: hiking, ...
So the waypoints in the request will have extra field(s)?
from brouter.
LocusMap has the feature for this in the route planner
Good to know that. I think this is done by two (or more) calls an BRouter api
AFAIK, LocusMap perfoms the series of sequential BRouter API calls for each route segment separately, including the profile to be used ( passed by API too). Then it joins the provided data into the single calculated route, that is eventually used or saved.
from brouter.
Related Issues (20)
- Add to Taginfo Projects
- Tolls vs Vehicle Type HOT 5
- Router confusion due to area sharing border with highway HOT 4
- Profile settings HOT 12
- Apk: Json output with gzip HOT 3
- Cross-country skiing profile for Android app HOT 3
- Option to export as GPX Route or Track HOT 4
- Last message in the block of messages references non-existing point in geometry. (Output in geojson format). HOT 1
- Hiking profile ignores `acces=no` HOT 9
- zip file of v1.7.3 realeases
- Some thoughts on rerouting – app only HOT 5
- Trace disappears except when layers menu panel open. Android9 Chrome 121.0.6167.101 HOT 1
- Problem with voicehints on roundabouts HOT 5
- Some thoughts on conditional rules HOT 4
- Tags `sidewalk:right` and `sidewalk:left` not supported HOT 2
- Elevation data seems badly wrong HOT 3
- Exception reading rawTrack HOT 1
- OruxMaps turn instructions no longer working HOT 14
- Question / Proposal: Possible to send turn-by-turn instructions via BLE? [Android] HOT 2
- Download segments CertPathValidatorException HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brouter.