geoblaze-cli
Command Line Interface (CLI) for GeoBlaze
Last updated 2 years ago by danieljdufour .
CC0-1.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install geoblaze-cli 
SYNC missed versions from official npm registry.

geoblaze -- a command line interface for blazing fast raster analysis

SYNOPSIS

  • geoblaze identify <georaster> <point>
  • geoblaze id <georaster> <point>
  • geoblaze max <georaster> [geovector]
  • geoblaze min <georaster> [geovector]
  • geoblaze mean <georaster> [geovector]
  • geoblaze median <georaster> [geovector]
  • geoblaze mode <georaster> [geovector]
  • geoblaze sum <georaster> [geovector]
  • geoblaze version

DESCRIPTION

GeoBlaze CLI is an open-source command line interface to the GeoBlaze JavaScript Raster Processing Engine (geoblaze.io). It allows you to do simple basic aggregate statistics like, mean, median and mode while only typing one line. You can also use it to simply run band arithmetic like NDVI and save the result to a file.

OPTIONS

  • identify, id: Get the value of the pixel at the specified point. The Point should be specified as a longitude and latitude pair "-40,20"
  • max: Get the highest value in the raster, ignoring no data values.
  • min: Get the lowest value in the raster, ignoring no data values.
  • mean: Get the mean average of pixel values in a raster. You can optionally specify a geovector file, like a geojson or a shapefile, so the calculation is only run on the pixels of the raster inside of the vectors.
  • median: Get the median average of pixel values in a raster. You can optionally specify a geovector file, like a geojson or a shapefile, so the calculation is only run on the pixels of the raster inside of the vectors.
  • mode: Get the most common pixel value in a raster. You can optionally specify a geovector file, like a geojson or a shapefile, so the calculation is only run on the pixels of the raster inside of the vectors.
  • sum: Get the sum of pixel values in a raster file. You can optionally specify a geovector file, like a geojson or a shapefile, so the calculation is only run on the pixels of the raster inside of the vectors.
  • version: Show version, which is found in the package.json

Examples

Get the Pixel Value at Paris, France

geoblaze id image.tiff "48.8567,2.3508"

Get Acreage of Wheat in Ukraine

geoblaze sum https://s3.amazonaws.com/geoblaze/spam2005v2r0_production_wheat_rainfed.tiff https://s3.amazonaws.com/geoblaze/ukraine.geojson

Get Acreage of Wheat in Iowa

geoblaze sum spam2005v2r0_production_wheat_rainfed.tiff Iowa.geojson

More Examples

https://github.com/GeoTIFF/geoblaze-cli/blob/master/EXAMPLES.md

AUTHOR

Daniel J. Dufour: https://danieljdufour.com

BUGS

INTERNET RESOURCES

LICENSING

The GeoBlaze CLI is distributed under the MIT License. See the file "LICENSE" in the GeoBlaze CLI source-distribution for information on terms & conditions for accessing and otherwise using the GeoBlaze CLI and for a DISCLAIMER OF ALL WARRANTIES.

Current Tags

  • 0.1.0                                ...           latest (2 years ago)

2 Versions

  • 0.1.0                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (4)
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |