Skip to content

snowman109/TrajectoryMatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simplify Map And Match Trajectory

  • Simplify Map: This project can download a map from OSM and SHP within the boundaries of some shapely polygon and then simplify it by remove extra points and edges.
  • Match trajectory: This project can match trajectory for the map you download.

Project structure

  • data: A map polygon example of the second Ring Road of Beijing.
  • example: A example code to execute download map and match trajectory.
  • util: Some utils.
    • data_util: import and preprocess data.
    • draw_util: draw map and trajectory points.
    • map_util: download and simplify map.
    • match_util: match trajectory.

How to run it

  1. download the code and install the packages.
  2. install fast_match_map, and change the sys.path.append("/data/wyt/packages/fmm-master/build/python/") in match_util.py to your own path. To install it, you can see https://github.com/cyang-kth/fmm
  3. python demo_beijing.py

Notes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages