Skip to content
Branch: master
Go to file
Code

Latest commit

wandergis
wandergis committed bf19a95 Sep 11, 2016

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

coordtransform-cli

A CLI version for coordtransform module.

CLI Usage

npm install -g coordtransform-cli

Usage: coordtransform -t typename input output

Options:
  -t, --type  transform type.
     [string] [required] [choices: "bd09togcj02", "gcj02tobd09", "wgs84togcj02", "gcj02towgs84"]
  -h, --help  Show help                                [boolean]

Examples:
  coordtransform -t bd09togcj02  input.geojson output.geojson

Node or browser Usage

npm install coordtransform-cli

var transformGeoJSON = require('coordtransform-cli');
var anygeojson = { type: 'Point', coordinates: [118, 34] };
var result = transformGeoJSON(anygeojson, 'wgs84togcj02');
console.log(result);

About

A CLI version for [coordtransform](https://github.com/wandergis/coordtransform) module that can transform geojson file.

Resources

License

Releases

No releases published
You can’t perform that action at this time.