BD09Convertor
BD09 coordinates conversion tool for Python.
- From BD09LL to BD09MC
- From BD09MC to BD09LL
Python版本的BD09坐标转换工具
- 从BD09LL转为BD09MC
- 从BD09MC转为BD09LL
Install
pip install bd09convertor
Usage
from bd09convertor import convertMC2LL, convertLL2MC
convertMC2LL(12943772.884424742, 4832666.423350099)
# return (116.27462499999993, 39.96162707324356)
convertLL2MC(116.274625, 39.961627)
# return (12943772.884424742, 4832666.423350099)
Reference
BD09 is a CRS(Coordinate Reference System) encrypted by Baidu based on GCJ09 CRS.
BD09LL represents longitude and latitude. BD09MC represents coordinate with meter based unit like Web Mercator projection.
BD09:为百度坐标系,在GCJ02坐标系基础上再次加密。其中bd09ll表示百度经纬度坐标,bd09mc表示百度墨卡托米制坐标。
Ref: https://lbsyun.baidu.com/index.php?title=coordinate
Metadata
Release files for bd09convertor 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bd09convertor-0.0.3.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bd09convertor-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / bd09convertor-0.0.3.tar.gz
| Download URL | bd09convertor-0.0.3.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce686506aa26103e7328e8452f14863cf49eb215d3481cfacc07d2840ffa2c79
|
|
BLAKE2b-256 checksum How to use checksums |
ed0ef402957d854639c0a9dca33e3e633fe3d2da5b3485127fff18d2bcd7cd03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.5
|
Release files / bd09convertor-0.0.3-py3-none-any.whl
| Download URL | bd09convertor-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3cc5e54d08d42d3ff6af0f93067335dfe69a37a4f8a460332006cc202334f6c9
|
|
BLAKE2b-256 checksum How to use checksums |
b68a7ab9010512a58deeb18d33931fe5f058e51bb0d93966c993e900d1f6a2da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.5
|