简体   繁体   English

Python 3: Plot GPS Z4757FE07FD492A8BE0EA6A760D683D6ZE

[英]Python 3: Plot GPS position on maps

I have a table in my SQL data base on my server where are save in real time some GPS positions.我的服务器上的 SQL 数据库中有一个表格,其中实时保存了一些 GPS 位置。 I would like to make a script in Python for plot and display the position in real time on OpenStreetMap or equivalent.我想在 Python 中为 plot 制作一个脚本,并在 OpenStreetMap 或同等设备上实时显示 position。

If it far easier, I could also download a map picture and an plot the position on the maps.如果它更容易,我还可以在地图上下载 map 图片和 plot position。

If you can give me the headlines for my project it's will be great.如果你能给我的项目的头条新闻,那就太好了。

Check out folium .检查 The library allows you to create really cool interactive maps, however I am not sure if it has real-time features.该库允许您创建非常酷的交互式地图,但我不确定它是否具有实时功能。 Nonetheless, nothing stops you from creating a script and re-running it every minute or so to refresh the positions on the plot.尽管如此,没有什么能阻止您创建脚本并每隔一分钟左右重新运行一次以刷新 plot 上的位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM