GithubHelp home page GithubHelp logo

utack_brouter_profile's Introduction

utack_brouter_data

A profile for bike routing with BRouter (found at https://github.com/abrensch/brouter )

The profile in action

What is this profile useful for?

The profile was built for some light touring or commuting with a city bike.
It priorizies good ways and easy riding, but will suggest some more offroad ways to avoid traffic.

What does it do differently from most other profiles out there?

It was developed with "dense" OSM cities in mind, and should cover all oneway and cycleway tag situations found in OSM.
It evaluates all ways with the same logic - no heuristic assumptions are made based on waytype.
It has a method to find the waycost taking all types of road quality indicators into consideration (smoothness, surface, tracktype, mtb:scale, sac-scale).
It is generally carefuly - it avoids uncertain situations like reversible traffic, barriers or not explicitly whitelisted highway types.
All this means it takes a bit longer to calculate routes than most other profiles, but hopefully it should cover mostly everything found in OSM.

Related things

If you are looking for highly configurable profiles for a variety of other purposes give a try to
https://github.com/poutnikl/Brouter-profiles

utack_brouter_profile's People

Contributors

polyscias avatar poutnikl avatar sajnapraveen avatar utack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

polyscias

utack_brouter_profile's Issues

could not calculate route. length=1 index=1

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?

add "iswet" switch

Add a switch to "iswet" similar to other profiles, that can be used to put more focus on paved ways

Add all switches

All the new switches for easy 1-click config without profile rewrite need to be added

unable to find a route over causeway linking Singapore and Malaysia

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?

Add switch to not use offroad

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

fine_gravel bug

fine_gravel and gravel assumed to be gets two differnt smoothness penalties, but is really the same thing

Re-evaluate high tracktypes

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

Add switch to ignore_cycleway

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 -> assign hascycleway = false

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?)

consider ferries

for longer tours in unknown environment ferries might be needed as fallback solution

tracktype and surface/smoothness not properly evaluated

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

better barrier evaluation

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

Navigation hints

Dear Jakob, will your streetbike_touring profile feature the output of navigation hints in the future? Best, Lucas

use inofficial cycleroutes

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"

allow left hand traffic

The parts to detect cycleways assume right hand traffic, introduce a switch to allow left hand traffic

update for BRouter 1.4.9

Update for BRouter 1.4.9

  • use new highway types in lookups.dat to route
  • use indoor tags from lookups.dat
  • use concrete:lanes and plates information
  • use way context values in the node context to handle crossing=no

%is_wet%

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.

add "infrastructure quality" switch

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.