utack / utack_brouter_profile Goto Github PK
View Code? Open in Web Editor NEWA BRouter profile for some light touring or commuting with a city bike
A BRouter profile for some light touring or commuting with a city bike
tracktype and surface/smoothness are not evaluated correctly at the moment.
tracktype=grade1 and surface=asphalt are an example where tracktype should not make smoothness of surface worse
Idea to solve:
Allow "brackets" of smoothness cost that go with a tracktype, and only downgrade when tracktype is significantly worse than surface or smoothness
Update for BRouter 1.4.9
Dear Jakob, will your streetbike_touring profile feature the output of navigation hints in the future? Best, Lucas
use access rules to calculate what is a "low traffic" route and factor it into the traffic penalty
Some tracktypes with higher numbers can be really bad
Same for some other unsurfaced ways
Some improvement should happen to give these higher penalties, but with good testing to still use them where it is needed
currently surface=unknown leads to a high penalty
this should not be the case for ways that are part of a bike route
currently unknown values for the access like keys are ignored
they should be treated as "no" to be save
for longer tours in unknown environment ferries might be needed as fallback solution
Is it possible to add a switch to use only paved roads and cycleways?
Sometimes on a tour you are really tired or you are not confident of riding offroad. It would be nice to have a switch to force the route not to be offroad under these times.
Best Regards
Add a switch to "iswet" similar to other profiles, that can be used to put more focus on paved ways
add a switch that represents how good the general infrastructure in a country is
that way in less developed countries roads like "service" and "residential" are downgraded, because they are likely bad
unofficial cycleroutes should also be used to guess smoothness on ways with unknown properties and probably give a smaller bonus than an official cycleway in the "cycleroute_cost"
All the new switches for easy 1-click config without profile rewrite need to be added
factor in the pseudo traffic tags from brouter for traffic penalty
large roads are currently favoured too much, more traffic and maxspeed penalty is needed
Gates that are along an offical cycleroute should implicitly get bicycle=yes, unless explicitly forbidden
The parts to detect cycleways assume right hand traffic, introduce a switch to allow left hand traffic
in line
https://github.com/utack/utack_brouter_data/blob/master/streetbike_touring.brf#L452
where gravel tagging bugs that highly likely mean fine_gravel are detected, bicycle=dedicated should be added.
Currently on tracks with no further information than "unpaved", the worst case selection can ignore additional information like tracktype=grade2
assume default values for barrier=* with missing access tags
for example
barrier=bollard should always mean yes for bikes
barrier=wall without more infroamtion always means no for bikes
and so on
similar to traffic penalty
You may want to consider
replacing of the current
assign iswet false
by
assign is_wet 0 # %is_wet% | Wet conditions | boolean
to be able to use a single profile for both dry/wet variants, switchable in Locus profile dialogue by the check in/out control.
fine_gravel and gravel assumed to be gets two differnt smoothness penalties, but is really the same thing
Hi
I'm trying to add a switch to ignore_cycleway
This is because in Singapore most of our cycleways are non segregated and shared. Their speed limit is 25kmh but at certain times of the day, they are very crowded making it extremely unpleasant to ride. My guess is that cycleways in big cities will face similar issues. With the switch, the tourer can choose to avoid cycleways until outside of town and then switch back to 'normal' routing.
I tried to implement this by adding the following code segment
if ( ignore_cycleway ) then false
# cycleway in both directions
else if and ( not cycleway= ) ( not cycleway=left|right|no|none|opposite|proposed|unknown ) then true
to replace line 174 of your original code
But it does not seem to work. Any idea why?
(I am testing on cheng san community club to Tuas lamp post 1. The route continues to use the PCN along Ang Mo Kio Ave 6 between Ang Mo Kio Ave 1 & Ang Mo Kio Ave 3 even though I set lefthandtraffic=true. By the way, was the profile supposed to ignore this cycleroute since it is on the opposite side of the road?)
I'm using osmand with brouter.
Recently, I'm getting an error message about not being able to calculate a route.
Sometimes after restarting the apps, I can get it to work. but sometimes not. Is anyone also facing this?
I tried to route from Esso Woodlands Road (singapore) to KSL City Mall but received an error message
"Error: cannot find a route for given points. Maybe try to move them closer to roads?" (if allow_ferries is set to false)
However, profiles like Trekking, Fastbike, Fastbike-verylowtraffic have no problem.
Any idea what is causing this?
highway=steps should be treated as a walking section, even if bicycle=yes or other tags are present
when highway is construction the access should not be used to route over it
currently surface quality for highway=path etc does not consider if it is element of an offical bike route
;)
steeper slopes are annoying to not manageable, they should get more penatly on top of normal elevation cost
Discussion about that
https://groups.google.com/forum/#!topic/osm-android-bikerouting/yIu72_FimNI
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.