gcj-tool

Coordinate transformation between GCJ02 and WGS84.

Usage no npm install needed!

<script type="module">
  import gcjTool from 'https://cdn.skypack.dev/gcj-tool';
</script>

README

Coordinates transformation between GCJ02 and WGS84

install

npm install gcj-tool

usage

Usage: gcj-tool [options] [command]

Options:
  -v, --version        output the version number
  -i, --input <file>   Input geojson file
  -o, --output <file>  Output geojson file
  -h, --help           output usage information

Commands:
  gcj2wgs              gcj02 to wgs84
  wgs2gcj              wgs84 to gcj02