Comments (5)
I recommend to use our forum so that we can find out if it is an issue or maybe some migration mistake.
In general it looks like you should try to use a piste_nordic
boolean encoded value and use this in a custom model instead of these many encoded values and parsers. It is also more flexible and you could let users decide about the speed or priority per request.
from graphhopper.
Regarding this problem here: what is the exact problem you are facing? "Connection not found" or "route not found" or something else? Ensure that the access encoded value is set to true and also the speed encoded value is set to some positive value for the same way. You can put a break point with the debugger and see if it is called at all.
from graphhopper.
I was printing those values and both encoded value is set to true and speed is always 5.0 for this tag.
Exact problem is "PointNotFoundException". "lookup" method in ViaRouting cannot find any snap (and I am sure that in this area there is possible piste route, I have saved coordinates from graphhopper 5.3)
from graphhopper.
Hard to tell without a reproducer. You need to debug if the parser is actually called.
Did you modify the config import.osm.ignored_highways
accordingly? Let's move to the forum: https://discuss.graphhopper.com/
Maybe the new way filtering is too strict. Have a look here: #2448 (comment)
from graphhopper.
I did create topic: https://discuss.graphhopper.com/t/custom-vehicle-doesnt-work-after-update-to-8-0/8449
I am sure that TagParsers are called correctly, if I remove all "way.isPiste()" calls and just set speed and access then it works.
I have no idea what "import.osm.ignored_highways" are. Piste tag is set on ways which are not highways, that is the point of this custom vehicle, so maybe some code inside graphhopper is strictly allowing only highway tags?
from graphhopper.
Related Issues (20)
- Routing wrong if change edge encoder access at caculate weight edge HOT 2
- opening_hours is ignored for way HOT 5
- Please provide better upgrade instructions between major versions HOT 7
- Route: Legs information empty in Java API
- Isochrone: No buckets when using public transport
- I just finished translating all zh_CN & zh_HK HOT 1
- Default bicycle profile ignoring turn restrictions? HOT 2
- Tags vehicle=no + bicycle:conditional=yes@… should trigger warning instead of failing to route in cycle profiles HOT 3
- Bike priority determination problem for tag combination of `cycleway:left` and `cycleway:right`
- GHUtility's method not found
- LMApproximator overhead HOT 3
- Benchmark stops with PointOutOfBoundsException HOT 5
- make `edges` byte-based
- highway=cycleway + access=no + bicycle=NULL is used for routing HOT 7
- should locked=yes have lower priority? HOT 7
- Default MaxWeight resolution is insufficient for truck routing HOT 11
- bad u-turn on road with turn restriction HOT 4
- correctness vs. speed: astarbi.epsilon
- Snapping to turn restriction via-edges yields bad routes HOT 2
- bike should better avoid primary roads HOT 1
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.