Geojson Statistics
Get Statistics from a geojson feature or featureCollection.
Request
- Base URLhttps://app.chloris.earth (the document declares no server; this is the origin it was published from)
- AuthAPI key in query parameter access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The reporting unit entry's dataPath parameter. Should be used instead of url in most cases.
The carbon pool for the report unit layer. Valid options are: agb, bgb, dom. Defaults to agb. Requires data_path to be set.
The product type for the report unit layer. Valid options are: stock, change, cumulative_change, forest, nonforest, forest_area_gain, forest_area_loss, forest_area_degradation. Requires data_path to be set.
The product variant id for the report unit layer. May be omitted to use the default variant. Requires data_path and product_type to be set. Deprecated in favor of carbon_pool and resolution.
The nominal group distance in meters report unit layer. May be omitted to use highest resolution available for the given zoom level. Requires data_path and product_type to be set.
The year for the report unit layer. Should be used instead of bidx in most cases. Requires data_path and product_type to be set.
The analysisCompletedAt from the report unit entry to ensure the latest data is fetched.
Dataset URL, may be omitted if using data_path (recommended).
Coordinate Reference System of the input coords. Default to epsg:4326.
Output Coordinate Reference System.
Dataset band indexes
rio-tiler's band math expression
Apply internal Scale/Offset. Defaults to False.
RasterIO resampling algorithm. Defaults to nearest.
WarpKernel resampling algorithm (only used when doing re-projection). Defaults to nearest.
Algorithm name
Algorithm parameter
Return statistics for categorical dataset. Defaults to False
List of percentile values (default to [2, 98]).
Defines the number of equal-width bins in the given range (10, by default).
If bins is a sequence (comma , delimited values), it defines a monotonically increasing array of bin edges, including the rightmost edge, allowing for non-uniform bin widths.
link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
Comma , delimited range of the bins.
The lower and upper range of the bins. If not provided, range is simply (a.min(), a.max()).
Values outside the range are ignored. The first element of the range must be less than or equal to the second. range affects the automatic bin computation as well.
link: https://numpy.org/doc/stable/reference/generated/numpy.histogram.html
Request body
Response
Return dataset's statistics from feature or featureCollection.
Changes
No recorded changes to this operation across all 1 revision of this API.