Skip to content

meshcity 1.2.0

Latest

Choose a tag to compare

@Longado Longado released this 05 Nov 01:45
· 1 commit to main since this release

Coordinates from maps in China. Gaode/AMap, Tencent and Baidu maps show coordinates shifted a few hundred metres from GPS (about 550 m in Beijing). Add --coords gcj02 (Gaode/AMap, Tencent) or --coords bd09 (Baidu) and copy the point straight from the map:

meshcity extract URL --center 116.40374,39.91010 --coords gcj02

meshcity prints the WGS84 point it used. In Python: meshcity.gcj02_to_wgs84(lon, lat), meshcity.bd09_to_wgs84(lon, lat).

uv tool install git+https://github.com/Longado/meshcity@v1.2.0