• <bdo id='8NJdk'></bdo><ul id='8NJdk'></ul>
      1. <i id='8NJdk'><tr id='8NJdk'><dt id='8NJdk'><q id='8NJdk'><span id='8NJdk'><b id='8NJdk'><form id='8NJdk'><ins id='8NJdk'></ins><ul id='8NJdk'></ul><sub id='8NJdk'></sub></form><legend id='8NJdk'></legend><bdo id='8NJdk'><pre id='8NJdk'><center id='8NJdk'></center></pre></bdo></b><th id='8NJdk'></th></span></q></dt></tr></i><div id='8NJdk'><tfoot id='8NJdk'></tfoot><dl id='8NJdk'><fieldset id='8NJdk'></fieldset></dl></div>
        <legend id='8NJdk'><style id='8NJdk'><dir id='8NJdk'><q id='8NJdk'></q></dir></style></legend>
      2. <tfoot id='8NJdk'></tfoot>
      3. <small id='8NJdk'></small><noframes id='8NJdk'>

        是否有任何用于 Python 的 GPS 库?

        时间:2023-09-28

        <small id='Je2sL'></small><noframes id='Je2sL'>

      4. <i id='Je2sL'><tr id='Je2sL'><dt id='Je2sL'><q id='Je2sL'><span id='Je2sL'><b id='Je2sL'><form id='Je2sL'><ins id='Je2sL'></ins><ul id='Je2sL'></ul><sub id='Je2sL'></sub></form><legend id='Je2sL'></legend><bdo id='Je2sL'><pre id='Je2sL'><center id='Je2sL'></center></pre></bdo></b><th id='Je2sL'></th></span></q></dt></tr></i><div id='Je2sL'><tfoot id='Je2sL'></tfoot><dl id='Je2sL'><fieldset id='Je2sL'></fieldset></dl></div>

              <legend id='Je2sL'><style id='Je2sL'><dir id='Je2sL'><q id='Je2sL'></q></dir></style></legend>
                <tbody id='Je2sL'></tbody>
              <tfoot id='Je2sL'></tfoot>
                <bdo id='Je2sL'></bdo><ul id='Je2sL'></ul>

                  本文介绍了是否有任何用于 Python 的 GPS 库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在寻找可以处理 GPS 坐标的 Python 库.假设,我有一个坐标列表:

                  I am looking for Python library, which can work with GPS coordinates. Let's say, I have a list of coordinates:

                  >>> gps = [
                  ...  (53.25012925, 6.24479338, 349.9, '2011-08-20T09:35:00Z'),
                  ...  (53.25028285, -6.24441800, 359.9, '2011-08-20T09:35:30Z'),
                  ...  (53.25049500, -6.24266032, 395.9, '2011-08-20T09:36:00Z'),
                  ...  # and so on...
                  ... ]
                  >>>
                  

                  我想计算平均速度、距离、获取最高点和其他信息.我知道,计算它很简单,但我想知道是否有任何现有代码(我不喜欢重新发明轮子).

                  I would like to compute average speed, distance, get the higest point, and other info. I know, it is quite simple to compute it, but I am wondering if there is any existing code (I do not like to reinvent the wheel).

                  注意:stackoverflow 中有类似的问题(Which gps library你会推荐python吗?),但它是关于GPSD的.我没有使用任何设备,我只是在文本文件中有 GPS 坐标.

                  Note: There is similar question here in stackoverflow (Which gps library would you recommend for python?), but it is about GPSD. I am not working with any device, I just have GPS coordinates in text file.

                  推荐答案

                  我发现了一个有趣的库,名为 地理位置.它可以计算两个 GPS 点之间的距离(它使用大圆距离和文森特距离方法).最重要的是,geopy 可以进行地理编码(它可以从一个地址获取 GPS 坐标).

                  I have found an interesting library named geopy. It can calculate distances between two GPS points (it uses great-circle distance and Vincenty distance methods). On top of that, geopy can do geocoding (it can get GPS coordinates from an address).

                  其他功能(平均速度、最高点等)我可以自己破解.

                  The other features (average speed, higest point, etc.) I can hack by myself.

                  这篇关于是否有任何用于 Python 的 GPS 库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:计算时间有序坐标之间的距离和速度 下一篇:从十六进制数据转换回纬度 GREENTEL

                  相关文章

                    1. <tfoot id='tKmhF'></tfoot>
                    2. <small id='tKmhF'></small><noframes id='tKmhF'>

                      <i id='tKmhF'><tr id='tKmhF'><dt id='tKmhF'><q id='tKmhF'><span id='tKmhF'><b id='tKmhF'><form id='tKmhF'><ins id='tKmhF'></ins><ul id='tKmhF'></ul><sub id='tKmhF'></sub></form><legend id='tKmhF'></legend><bdo id='tKmhF'><pre id='tKmhF'><center id='tKmhF'></center></pre></bdo></b><th id='tKmhF'></th></span></q></dt></tr></i><div id='tKmhF'><tfoot id='tKmhF'></tfoot><dl id='tKmhF'><fieldset id='tKmhF'></fieldset></dl></div>
                      <legend id='tKmhF'><style id='tKmhF'><dir id='tKmhF'><q id='tKmhF'></q></dir></style></legend>
                        <bdo id='tKmhF'></bdo><ul id='tKmhF'></ul>