Skip to main content

A Python Package for Map Matching Algorithm Based on Hidden Markov Model

Project description

GoTrackIt

作者: 唐铠, 794568794@qq.com, tangkai@zhechengdata.com

1. 简介

gotrackit是一个地图匹配包, 基于隐马尔可夫模型(Hidden Markov Model)实现

1.1. 如何安装gotrackit

所需前置依赖

  • geopandas(0.14.1)
  • gdal(3.4.3)
  • networkx(3.2.1)
  • shapely(2.0.2)
  • pandas(2.0.3)
  • numpy(1.26.2)
  • pyproj(3.6.1)
  • keplergl(0.3.2)

括号中为作者使用版本(基于python3.11), 仅供参考

geopandas为最新版本, 如果不是最新版本可能会报错(有个函数旧版本没有)

使用pip安装

pip install -i https://test.pypi.org/simple/ gotrackit==0.0.2

1.2 用户手册

链接:https://gotrackitdocs.readthedocs.io/en/latest/

2. 地图匹配问题

car_gps.png

where_car.png

如何依据GPS数据推算车辆的实际路径?

3. 地图匹配算法动画演示

想了解算法过程的可以参考B站视频:

https://www.bilibili.com/video/BV1gQ4y1w7dC/?vd_source=7389960e7356c27a5d1849f7ee9ae6f2

main.png

main.png

main.png

main.png

4. 匹配结果可视化

中高频GPS匹配效果:

main.png

低频GPS匹配效果:

main.png

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gotrackit-0.1.0.tar.gz (31.2 kB view hashes)

Uploaded Source

Built Distribution

gotrackit-0.1.0-py3-none-any.whl (36.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page