Comments (2)
There is a dedicated lua script useful for debugging that will help understand how a profile "sees" a given OSM way. For example one of the two you shared seems now perfectly fine:
lua debug_way.lua car 1126408079
{
highway = 'primary',
maxspeed = '40',
name = 'Ratapihankatu',
['name:fi'] = 'Ratapihankatu',
oneway = 'yes',
surface = 'asphalt'
}
=>
{
backward_classes = {},
backward_mode = 0,
backward_rate = 8.8888888888889,
backward_speed = 32,
destinations = '',
duration = 0,
forward_classes = {},
forward_mode = 1,
forward_rate = 8.8888888888889,
forward_speed = 32,
is_left_hand_driving = false,
is_startpoint = true,
name = 'Ratapihankatu',
road_classification = {
may_be_ignored = false,
road_priority_class = 4
}
}
Note that this way has been changed right after you posted your message: the proposed: primary
that was removed is likely the reason why it was not included in the first place, see this part of the profile.
That is really not a bug, rather a data issue. Can you re-build using a new extract including the latest changes and confirm that those ways are now included?
from osrm-backend.
Thank you, that explains it all. The lua script seems useful.
Seems like the proposed-tag was misused on that way, causing map renderers to show it as a proper functioning way but OSRM profiles considering it as a planned but not ready for use road.
The proposed tag should always be used combined with "highway: proposed" (or amenity/railway/another main tag: proposed). Wouldn't it be better for the profile to ignore the proposed-tag and instead avoid highways with tag "highway: proposed" ? I believe that could be more consistent with the renderers and avoid cases where proposed-tag is forgotten on a way when the road is marked as finished.
from osrm-backend.
Related Issues (20)
- Link to docker repo in README.md is out of date.
- Elevation aware routing (avoid uphill routes)
- Questions about map matching
- Return elevation data in OSRM response
- error while running osrm with shared memory HOT 1
- OSRM-BACKEND ON CENTOS9 / ALMALINUX 9 HOT 1
- Build failure with Boost 1.85.0 due to convenience.hpp removal
- Improvements to forcing loops during graph search HOT 5
- Route found is not optimal. HOT 3
- cmake can't compile the source code HOT 1
- Which speed overwrites the others
- Spurious sanitizer failure in CI runs
- osrm-extract fails to execute HOT 1
- Compilation errors on Linux HOT 1
- Exclude toll not working with alternative=true
- Fix performance-type-promotion-in-math-fn and readability-container-contains clang-tidy warnings
- Different Results on different Architectures HOT 2
- Questions related to car profile
- Kubernetes - Helmchart HOT 5
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 osrm-backend.