Comments (8)
You mean this one: https://www.openstreetmap.org/way/39729370 ?
from graphhopper.
You mean this one: https://www.openstreetmap.org/way/39729370 ?
yes
from graphhopper.
Apparently it is considered as an option, but the route still takes the Tanger-Tarifa ferry, because it is assumed to be faster.
In OSM Tanger-Tarifa link is mapped with duration=0:35
while Algeciras-Tangier Med is mapped with duration=1:30
.
from graphhopper.
how can we force the API to take the Algeciras-Tangier Med ferry, we need it to take the algeciras-Tangier Med, as it is the one that supports the big trucks transpotaion
from graphhopper.
You should be able to use a via-point in the middle of the sea like this: https://graphhopper.com/api/1/route/profile=car&point=35.85323,-5.53651&point=35.971832,-5.436935&point=36.132057,-5.461992
This does not work on graphhopper.com/maps
because snapping to a ferry is avoided. When using the API you have to make sure you are not using snap_preventions=['ferry']
.
But regarding the problem: Are you saying big trucks are allowed on one but not the other ferry? This can be mapped in OSM.
from graphhopper.
yes they are not allowed on Tanger-Tarifa. how can we map it in OSM?
from graphhopper.
OSM supports different kinds of vehicle restrictions like maximum weight, length etc. Some of this is documented here: https://wiki.openstreetmap.org/wiki/DE:Key:access
If you don't know it is best to get in touch with the OSM mapping community. You could for example contact the users that created/edited these ferries.
from graphhopper.
I'm closing here since this is rather a mapping issue. For further questions related to using GraphHopper please use our forums.
from graphhopper.
Related Issues (20)
- should locked=yes have lower priority? HOT 11
- Default MaxWeight resolution is insufficient for truck routing HOT 11
- bad u-turn on road with turn restriction HOT 5
- correctness vs. speed: astarbi.epsilon
- Snapping to turn restriction via-edges yields bad routes HOT 2
- bike should better avoid primary roads HOT 1
- bike should preffer more footways with bicycle=yes HOT 6
- Allow to route through highway=construction HOT 8
- curve di livello sparite dalle piantine altimetriche, così pure la nomenclatura dei luoghi HOT 1
- Improve map matching - eliminate dead-end edges and unnecessary backtracking HOT 3
- Clase VectorTileEncoder.java no cumple con el prinicipio Open-Closed Principle HOT 1
- `living_street` for bike is avoided HOT 5
- Abnormal elevation spikes HOT 6
- Use storeTwoDirections=true for `lanes`
- custom-models.md: dead link to custom_models HOT 2
- Foot ignores one-way information HOT 5
- The route leads off the road HOT 3
- Cannot create a hike profile HOT 1
- Crash when using MaxSpeedCalculator
- Routing of ordinary bicycle over ways tagged mtb:scale really wanted? 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 graphhopper.