Comments (4)
I am not quite sure about your problem. The optimal path (opath below) contains the edge matched for each point in a trajectory. Is that what you need?
https://fmm-wiki.github.io/docs/documentation/output/
from fmm.
Thank you very much for quick reply. i like to assign the timestamp from 5 GPS points (orange points from original trajectory shown in above figure) to matched edge (in opath) . For instance, given the time stamps of GPS points to be (t1,t2,t3,t4,t5) respectively.
If, say, the 2th orange point (original trajectory) can not be matched, so opath = 2,13,14,23. Under this case, i can not map timestamps (t1,t2,t3,t4,t5) to the matched edge in opath (2,13,14,23), please.
So, is it possible to also assign the index of points to matched edge in opath (say, opath = 2(1), 13(3), 14(4), 23(5)) where value in (...) is the index of points.)
from fmm.
Now I understand your problem. The master branch version of the fmm does not handle this unmatched point problem. If t2 is not matched, then the whole trajectory is skipped and not matched.
However, a separate segmentation branch actually addressed this issue (it is not fully tested so not merged into the master)
https://github.com/cyang-kth/fmm/tree/feature-segmentation
where if t2 is not matched, the opath field will have a value of -1 so you can iterate through the same timestamps and check if there are any value of -1 in opath.
fmm/example/segment/mr_outlier.txt
Line 2 in e537f25
You can check this example for more detailed illustration
https://github.com/cyang-kth/fmm/tree/feature-segmentation/example/segment
You need to clone that branch using
git clone -b feature-segmentation [email protected]:cyang-kth/fmm.git
from fmm.
Thank you very much. That is what i need please.
from fmm.
Related Issues (20)
- Installation error
- Could we get (Matched edge index,indices) via command line approach
- can NOT run command "make .." under miniconda3 virtual environment
- Unable to perform python fmm_test.py on Win10 Home (64bit) with cygwin environment HOT 9
- error HOT 1
- Error when trying to execute GPS track / GPS points in CSV file HOT 3
- codes of python (fmm_example.ipynb) cannot output file with ogeom information since the result_config.output_config has no attribute of "write_ogeom"
- cpath and mgeom unmatched HOT 3
- Import error when running fmm_test.py
- make error HOT 2
- How to output duration
- Segmentation fault (core dumped) when constructing Network
- Build Error HOT 3
- cpath has multiple paths
- Strange Matching Results with Circles or Multiple Routes
- cmake报错
- Python API ImportError fmm related
- typedef std::conditional_t HOT 1
- "Cannot find proj.db" issue HOT 1
- build issue - make 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 fmm.