GithubHelp home page GithubHelp logo

Comments (3)

poutnikl avatar poutnikl commented on June 5, 2024

Do you mean car or bike profiles ?

For the former, I am not sure if I am going to further develop car profile s, as the new built-in car profiles based on kinematic model seem superior to me. So the suggesting should rather go via Brouter Google group.

For the latter, I will see, for bikes it is minimal delay, rather just an annoyance.

Suggest the delay in distance equivalent.

from brouter-profiles.

ProBackup-nl avatar ProBackup-nl commented on June 5, 2024

For bikes (velomobiles) bumps and (double) dips are more then just an annoyance: a real physical headache.

And riding 15 or 30 instead of 53 km/hour is more then a minimal delay for a road that has a bump every 800 meters. I am not even up to speed before the next bump is reached.

Could you give me an example on how/where to start, to add a cost for traffic_calming=bump nodes?

from brouter-profiles.

poutnikl avatar poutnikl commented on June 5, 2024

Hm, but for velomobile it would be better to use the ones from http://brouter.de/brouter/profiles2/ ( not sure if present only on the server, or included to BRouter app as well)

You can then add the traffic calming modification there. As inspiration, see the initialcost settings in my Trekking template:

assign initialcost =
        add ( if highway=traffic_signals then 120 
              else if highway=stop  then 60 
              else if and highway=crossing bicycle=no then 60 
              else if and highway=crossing crossing=no then 300 # workaround affecting road routing
              else if ( ford=yes ) then ford_initialcost_node
              else initial_cost_node )
            if bikeaccess then 0  else ( if footaccess then 100 else 1000000 )

You can insert something like

assign initialcost =
        add ( if highway=traffic_signals then 120 
              else if highway=stop  then 60 
              else if and highway=crossing bicycle=no then 60 
              else if and highway=crossing crossing=no then 300 # workaround affecting road routing
              else if ( ford=yes ) then ford_initialcost_node
              else if traffic_calming=bump then 300
              else if traffic_calming=dip then 300
              else initial_cost_node )
            if bikeaccess then 0  else ( if footaccess then 100 else 1000000 )

See the BRouter profile available values ( always just the first string, with meaning of any of them )
The number is DE region occurance number,

traffic_calming;0000045987 bump bump;choker
traffic_calming;0000040022 hump hump;choker
traffic_calming;0000012499 table table;choker
traffic_calming;0000006808 yes *
traffic_calming;0000005754 cushion cushion;choker
traffic_calming;0000005466 choker choker;cushion choker;hump choker;table choker;bump
traffic_calming;0000005305 island
traffic_calming;0000004686 chicane
traffic_calming;0000004032 rumble_strip
traffic_calming;0000000847 speed_bump
traffic_calming;0000000186 dip

from brouter-profiles.

Related Issues (20)

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.