Skip to main content

A Transformer for different map datum, include WGS84, GCJ-02, BD-09

Project description

MapDatumTrans

简体中文

MapDatumTranss is a transformer for map datum,include WGS84, GCJ-02 and BD-09.

Install:

pip install MapDatumTrans

Demo:

MapDatumTrans

MapDatumTrans.gcj02_to_bd09(lng, lat)   # GCJ02坐标系 转换为 BD-09坐标系
MapDatumTrans.bd09_to_gcj02(lng, lat)   # BD-09坐标系 转换为 GCJ02坐标系
MapDatumTrans.wgs84_to_gcj02(lng, lat)  # WGS84坐标系 转换为 GCJ02坐标系
MapDatumTrans.gcj02_to_wgs84(lng, lat)  # GCJ02坐标系 转换为 WGS84坐标系
MapDatumTrans.bd09_to_wgs84(lng, lat)   # BD-09坐标系 转换为 WGS84坐标系
MapDatumTrans.wgs84_to_bd09(lng, lat)   # WGS84坐标系 转换为 BD-09坐标系

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MapDatumTrans-0.1.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page