geojson-stat

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io) [![Version](https://img.shields.io/npm/v/geojson-stats.svg)](https://npmjs.org/package/geojson-stats) [![Downloads/week](https://img.shields.io/npm/dw/geojson-stats.svg)]

Usage no npm install needed!

<script type="module">
  import geojsonStat from 'https://cdn.skypack.dev/geojson-stat';
</script>

README

geojson-stats

oclif Version Downloads/week License

Usage

$ npm install -g geojson-stat
$ geojson-stats COMMAND
running command...
$ geojson-stats (-v|--version|version)
geojson-stat/1.0.2 darwin-x64 node-v13.6.0
$ geojson-stats --help [COMMAND]
USAGE
  $ geojson-stats COMMAND
...

Commands

geojson-stats area [FILE] [UNITS]

calculates the total perimeter for some GeoJSON

USAGE
  $ geojson-stats area [FILE] [UNITS]

ARGUMENTS
  FILE   a file path or URL to some GeoJSON

  UNITS  (km|kilometers|kilometres|m|meters|metres|cm|centimeters|centimetres|mm|millimeters|millimetres|ft|feet|in|inch
         es|acres|miles|yards) [default: m] the desired output units of the computation

OPTIONS
  -h, --help     show CLI help
  -n, --noUnits  don't display the units on output

See code: src/commands/area.ts

geojson-stats help [COMMAND]

display help for geojson-stats

USAGE
  $ geojson-stats help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

geojson-stats perimeter [FILE] [UNITS]

calculates the total perimeter for some GeoJSON

USAGE
  $ geojson-stats perimeter [FILE] [UNITS]

ARGUMENTS
  FILE   a file path or URL to some GeoJSON

  UNITS  (km|kilometers|kilometres|m|meters|metres|cm|centimeters|centimetres|mm|millimeters|millimetres|ft|feet|in|inch
         es|acres|miles|yards) [default: m] the desired output units of the computation

OPTIONS
  -h, --help     show CLI help
  -n, --noUnits  don't display the units on output

See code: src/commands/perimeter.ts