Skip to main content

china mars coordinate convertor.

Project description

# China Coordinate Convertor

[中国火星坐标](转换命令行工具,用于`WGS-84`(未偏移坐标), `GCJ-02`(国家测绘局、高德、谷歌中国地图), `BD-09`(百度坐标系)三者之间的互相转换,支持文件格式:
- ESRI Shapefile

<img src="./examples/assets/all.jpg" width = "100%" height = "100%" alt="图片名称" align=center />

## install
`pip install coord-convert`

git clone
pip install -r requirements.txt
python install

## Dependencies
- python3
- fiona
- tqdm
- click

## 使用方法
convert input china coordinate to another.

convert_type {string} -- [coordinate convert type, e.g. wgs2bd]

wgs2gcj : convert WGS-84 to GCJ-02
wgs2bd : convert WGS-84 to DB-09
gcj2wgs : convert GCJ-02 to WGS-84
gcj2bd : convert GCJ-02 to BD-09
bd2wgs : convert BD-09 to WGS-84
bd2gcj : convert BD-09 to GCJ-02

src_path {string} -- [source file path]
dst_path {string} -- [destination file path]

coord_covert wgs2gcj ./examples/data/polygon/polygon_wgs.shp ~/temp/polygon_gcj.shp


Download files

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

Files for coord-convert, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size coord_convert-0.1.1-py3-none-any.whl (6.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size coord-convert-0.1.1.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page