/fio-area

Primary LanguagePythonMIT LicenseMIT

fio-area

image

image

image

Usage: fio area [OPTIONS] FEATURES...

Options:
  -s, --summary               Output summary statistics only
  --calc-crs TEXT             Projection to calculate area in
                              [DEFAULT=esri:54009]
  --sequence / --no-sequence  Write a LF-delimited sequence of texts
                              containing individual objects or write a single
                              JSON text containing a feature collection object
                              (the default).
  --help                      Show this message and exit.

Installation

pip install fio-area

Example

fio cat some-area.geojson | fio area -s
{"min": 405306050878.5006, "max": 405306050878.5006, "mean": 405306050878.5006, "sum": 405306050878.5006, "std": 0.0}