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)
- Pedestrian street with vehicles allowed not routable by car profile HOT 20
- Setting a EncodedValueFactory fails if the EnumEncodedValue class is not within `com.graphhopper.routing.ev` package
- Could not create weighting for profile: 'truck' HOT 1
- CarAverageSpeedParser should use estimated max speed HOT 1
- Implementing railway route planning based on version 7.0 HOT 2
- 8.0 Set a No-Go Zone HOT 1
- Incorrect handling of turn restrictions sharing the same via-way HOT 18
- Motorcycle profile speed section is ignored HOT 10
- Problem when using speed limit estimation and turn restrictions
- incorrect leg_distance entries if two stops are identical
- foot with turn restrictions leads to NPE for CH preparation
- Refactoring: Introduce a FSM for OSM file parsing
- new capacity has to be strictly positive with custom encoder for "piste" ways HOT 4
- Wrong exit number in a roundabout if a waypoint is inside HOT 3
- Add crossing encoded values for accessible pedestrian routing. HOT 2
- Failed Import - SRTM elevation - There was an issue looking up the coordinates for - Could not parse OSM file HOT 2
- Sorting the graph is currently not supported in the presence of turn costs HOT 1
- total distance seems incorrect for alternative route HOT 1
- max_slope should be able to get negative HOT 2
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.