Comments (4)
you should clean the gpx before do the matchmaking.
from map-matching.
Thank you for the suggestion. I've pruned the track down to just 8 points that cause the error. Here's the new track file and the updated error message: bus_minimal_example.txt
java.lang.IllegalArgumentException: Sequence is broken for submitted track at time step 3 (8 points).
observation:Observation{point=35.06498,-106.5506,0.0},
3 candidates: [
distance: 14.46840573628661 to 35.06509572413032,-106.55052732416677,NaN,
distance: 6.387625781247086 to 35.0649789919093,-106.55052982726808,NaN,
distance: 6.387625781247086 to 35.0649789919093,-106.55052982726808,NaN].
If a match is expected consider increasing max_visited_nodes.
The updated track is plotted above. The vehicle is traveling from north to south along a road that splits temporarily into a pair of one-way streets at a security checkpoint. Any idea how to troubleshoot this?
from map-matching.
The problem is that open streetmap doesn't have mapped that road:
I added:
Try now
yo can edit it here: https://www.openstreetmap.org/edit#map=20/35.06568/-106.55061
Be careful with the behavior of the gates/ford
Also, wait a day to download the new pbf; that's normally the time they need to update the map in the servers
from map-matching.
I've downloaded the new pbf from OSM and the vehicle is being routed along the service road. That map edit resolves the initial problem, but I dug a little deeper because I wanted to understand why it wasn't routing along the one-way road.
The root cause ended up being the behavior of the gate on the south-bound lane. There was a GPS snap-point that was just south of the gate along the one-way road that couldn't be reached. This broke the Viterbi path.
I'll go ahead and close the issue - the broken sequence was caused by a problem with the OSM data and not the library. Thank you for your help, @braito4.
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
- 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
- Additional CH config leads to error HOT 2
- 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.