Comments (3)
May I ask, why do you need two versions of a/the map? - Apart from that, if a road is included in both verions of the raw map data it will have the same OSM id in barefoot. However, there are often multiple roads with the same OSM id. Therefore, if there is also no new connection of the road to some other road, the road's source and target points will also have the same OSM ids in both versions. A point on that road (road point) can then be matched. However, barefoot's map data structure as is does not provide an efficient search for roads by source or target ids. Therefore, you can either add such a data structure and match it; or, alternatively, perform a radius search on the road map and iterate through the result set to find a road in verion 2 that has the same source and target id as the road in verison 1. With that road and the fraction of the road point, you can now create a road point on version 2 that matches the point. That is then exactly the same as in verion 2, if the road's geomety is the same; and it is still a match on the road network if the geometry changed.
from barefoot.
Thank you for your response. I thought as well about finding the road in the new map but it adds more complexity and is bug prone. So I think we’ll go for the simple solution by just starting over again from the beginning of the trajectory.
In fact, the case happens only when we update the raw map data (by importing a new .pbf). Our matchers could be in situations in which they start with the new map and have to continue an on-going matching. So if the ids are not the same across maps, or missing, it could be an error.
Thanks again for your help. Have a nice day!
from barefoot.
To open this issue again instead of writing a new. It often occurs that a map is updated over time. New priorities, changing streets polylines etc. Then the stored kState from previous vehicles can not find the Candid or find the wrong id. Because the IDs have changed, the identifier for a segment (street) should occure twice forward and backward. Could you use the given vector for this problem?
from barefoot.
Related Issues (20)
- Proximity of road segments ids after map-matching HOT 2
- Docker build failing with osmosis installation HOT 1
- reach of map HOT 3
- Unable to save the output while using the barefoot for offline map matching in scalable manner HOT 10
- Road switch to early. HOT 5
- email validation bug: preventing contact-us submission and access to bmwfs
- Docker build fails at gradlew assemble HOT 3
- Can Matcher be cached?
- Issue downloading gradle during installation. HOT 2
- Spark: matcher response time too long as barefoot servers(stand-alone)
- Can we use any road network with geometry instead of OSM? HOT 2
- Question: Add administrative boundaries to matcher response
- Unable to build maven project
- Unable to build matcher server
- question about online map match
- help!Have you realized it? Please help me deploy the source code for payment
- HMM Break no emssion state
- How to match multi-trajection and save the matching result?
- Possible mistake in path.cost()
- Matching Behaviour is incorrect
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 barefoot.