在Python的Web服务器上显示和绘制GPS坐标(LAT/LON)
对于我正在从事的项目,我想创建一个网络服务器来绘制车辆的GPS坐标。经过一些研究后,我在几个python库之间撕裂了,听起来很有希望,但是我不确定要使用哪个库 /最容易用来实现我所需的东西。
为了创建网络服务器,烧瓶似乎是必经之路。为了绘制和显示数据,我找到了这些库:folium,geopandas,matplotlib ...我仍然习惯了烧瓶,因此我还没有任何代码片段可以共享,对不起。
我的GPS数据(经度和纬度)在.csv文件中每次不断读取和存储一次:
Latitude,Longitude
99.92225,99.41867
99.92256,99.41879
99.9237,99.41898
99.92168,99.41599
如果有人可以帮助我或建议其他库,我将非常感谢它,这是我要实现的目标:
- 如何创建一个网络服务器到:
- 显示持续更新时间,LON和LAT数据
- 跟踪并绘制地图上的GPS路线
非常感谢!
For a project I'm working on, I want to create a Webserver to plot and display GPS coordinates of a vehicle. After doing some research, I'm torn between a couple of Python libraries which sound pretty promising, but I'm just not sure which one to use / would be the easiest to use to achieve what I need.
To create the Webserver, Flask seems like the way to go. To plot and display the data, I found these libraries: Folium, Geopandas, Matplotlib... I'm still getting used to Flask so I don't have any snippets of code to share yet, sorry.
My GPS data (longitude and latitude) is continuously being read and stored once per second in .csv files:
Latitude,Longitude
99.92225,99.41867
99.92256,99.41879
99.9237,99.41898
99.92168,99.41599
I would really appreciate it, if someone could help me out or suggest other libraries, here's what I want to achieve:
- How to create a Webserver to:
- display the continously updating time, lon and lat data
- track and plot the gps route on a map
Thank you very much!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论