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:

import MapDatumTrans

MapDatumTrans.gcj02_to_bd09(lat, lon)   # GCJ02 to BD-09
MapDatumTrans.bd09_to_gcj02(lat, lon)   # BD-09 to GCJ02
MapDatumTrans.wgs84_to_gcj02(lat, lon)  # WGS84 to GCJ02
MapDatumTrans.gcj02_to_wgs84(lat, lon)  # GCJ02 to WGS84
MapDatumTrans.bd09_to_wgs84(lat, lon)   # BD-09 to WGS84
MapDatumTrans.wgs84_to_bd09(lat, lon)   # WGS84 to 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-1.0.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