Comments (2)
I had a look a this. There seem to be multiple things involved.
-
When we request with
vehicle=car
this means theProfileResolver
is used inMapMatchingResource
to find a matching profile. If there are CH preparations it tries to find a CH profile and findsprofile=car
, because this is the only profile for CH. If there is no CH profile it tries to find an LM preparation and finds bothprofile=car_no_tc
andprofile=car
, but in this case takesprofile=car_no_tc
, because it favors the profile with turn costs if both are available. -
MapMatching
does not really depend on the CH preparations. It only checks for thech/lm.disable
flags and if they are both false and there are some LM preparations it tries to find landmarks for the given profile. So if CH is disabledMapMatching
uses the LM preparation for thecar
profile and everything is fine, but if we enable CH forcar_no_tc
it tries to find an LM preparation forprofile=car_no_tc
. -
In
MapMatching
we are missing the implementation of the cross-query feature so far which means we cannot find landmarks forprofile=car_no_tc
.
So the first thing we need to fix is implementing the cross-query feature. This should fix this issue. However, its still ugly that ProfileResolver
considers CH profiles and MapMatching
does not. The problem here is that we are injecting a global instance of ProfileResolver
in MapMatchingResource
, but we need a slightly different resolver for map-matching.
from map-matching.
And there is another problem: We cannot request with profile=car_no_tc
either, because MapMatchingResource
always uses ProfileResolver
instead of skipping it when the profile
parameter is used explicitly.
from map-matching.
Related Issues (20)
- how i make the .pbf file by myself, i want to test another file, but my file format is .shp, any way to convert the format? Please help HOT 1
- Input Gpx file format HOT 1
- Unexpected Matching Behavior HOT 3
- map matching NPE HOT 1
- "Sequence is broken for submitted track at time step" error when matching a GPX that should be matchable
- Problem with Ineffective
- Encoder for car not found. Existing: foot| HOT 6
- Error saving matching large gpx. HOT 3
- Sequence is broken for submitted track HOT 4
- How to get transition probabilities ?
- Matching performance is very low。What should I do? HOT 1
- How to avoid unnecessary u-turns HOT 1
- Divide measurementErrorSigma into its separate functions HOT 3
- Last point of map-matched output lies too far from actual route HOT 4
- Fail to build recent-Core (27 July 2020) HOT 4
- hmm-lib does not compile HOT 1
- Feature Request: Add elevation data from command line HOT 1
- Error building on master branch, map matching core could not be found in central maven
- Is there a way to download matching results? 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 map-matching.