geojson-gaode

0.1.0 • Public • Published

geojson

Introduction

build geojson by gaode webservice

  • API intrudction

  • GEOJSON introduction

  • example http://restapi.amap.com/v3/config/district?key=&keywords=&subdistrict=1&extensions=all

    • key: apply to gaode for key
    • keywords: district name | citycode | adcode
    • subdistrict: 0 | 1 | 2
    • extensions: base--no polyline | all--have polyline

Installation

  • npm i geojosn-gaode

Usage

$ geojson -h

Usage: geojson [options] [fileName]

build geojson by gaode api

Options:
  -V, --version         output the version number
  -k --key <key>        gaode application key
  -c --city <city>      city name or city code
  -o --output [output]  output file path for geojson, default is current directory [optional]
  -h, --help            output usage information
  • sample: node src -c 深圳 -o geojson -k xxx shenzhen

Directories

- root
  - src //code place
  - test // unit test
  config.json // config gaode application key
  ...

Readme

Keywords

Package Sidebar

Install

npm i geojson-gaode

Weekly Downloads

0

Version

0.1.0

License

ISC

Unpacked Size

333 kB

Total Files

16

Last publish

Collaborators

  • lin-123