Git Product home page Git Product logo

Comments (3)

vodie avatar vodie commented on July 3, 2024 2

This is a problem with the height buffer. If you take a longer route and force the Route by no-go areas (don't use intermediate points, because they reset the buffer) you see in the data that this segment is evaluated with 6000/km.
https://brouter.de/brouter-web/#map=16/50.0058/8.2233/osm-mapnik-german_style,route-quality&lonlats=8.23367,50.007737;8.20204,50.002272&nogos=8.224322,50.006674,32;8.219283,50.001746,205;8.223221,50.008357,185

Screenshot_20240511-134502

With the detour you get a lower overall cost:
Screenshot_20240511-135042

This is your uphillcostfactor for this segment. If you lower mixed_traffic_uphill_penalty from 4.3 to 3.5 or rise the uphillcutoff from 1.1 to 3 you won't have the detour.

from brouter.

quaelnix avatar quaelnix commented on July 3, 2024 1

At first glance this seems to be some kind of aliasing issue in the elevation buffer logic. You can fix it by either raising the downhillcutoff and uphillcutoff values back to the default of 1.5 m or by raising the elevationpenaltybuffer to 10 m.

Edit: On an aside the problem does not occur when using Sonny's LiDAR elevation data.

from brouter.

fkoester avatar fkoester commented on July 3, 2024

Ok, wow! Thank you @vodie and @quaelnix for the detailed and very helpful explanation!

I raised the elevationpenaltybuffer to 10m as suggested which resolved this problem for me 👍

I will try to further dig into the elevation data topic when I find some time, looks promising.

from brouter.

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.