Skip to main content

CoordinatesConverter

WGS84 / BD09 / GCJ02 经纬度坐标互转,基于numpy列运算

安装

pip install CoordinatesConverter

用法

import CoordinatesConverter  
BUS_GPS['lon'],BUS_GPS['lat'] = CoordinatesConverter.gcj02towgs84(BUS_GPS['lon'],BUS_GPS['lat'])

功能

坐标互转,基于numpy列运算

CoordinatesConverter.wgs84tobd09(lon, lat)  
CoordinatesConverter.wgs84togcj02(lon, lat)  
CoordinatesConverter.gcj02tobd09(lon, lat)  
CoordinatesConverter.gcj02towgs84(lon, lat)  
CoordinatesConverter.bd09togcj02(lon, lat)  
CoordinatesConverter.bd09towgs84(lon, lat)  

输入起终点经纬度,获取距离(米),基于numpy列运算 CoordinatesConverter.getdistance(lon1, lat1, lon2, lat2)

注:传入列数据类型需为float

Metadata

Release files for CoordinatesConverter 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CoordinatesConverter 0.1.5
File Size Uploaded Provenance Actions
CoordinatesConverter-0.1.5.tar.gz 5.1 kB Without provenance Details for CoordinatesConverter-0.1.5.tar.gz

Release files / CoordinatesConverter-0.1.5.tar.gz

Download URL CoordinatesConverter-0.1.5.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ea0348c97569a6aaffac6406bdb4a260ea5f3e141d52a88cbdc9bb638667e494
BLAKE2b-256 checksum
How to use checksums
d22372530f750efbf73d2745c07b5e0c50baa19bd33c3fca2dd512b15e50b17d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.8

Security for CoordinatesConverter 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page