Skip to main content

Analytics

Type: analytics

Zonal statistics of fused.catalog imagery over polygons from an upstream node, shown on a map, a table and a chart

Supports children: No

Analytics over polygons. Zonal statistics: for each polygon of the node connected to it (a GeoJSON file, GeoParquet, a UDF returning a GeoDataFrame or a widget publishing a SQL source; or the sql or url when set), and each picked fused.catalog imagery dataset, the reader computes the mean, standard deviation, min and max of the chosen bands over the polygon's pixels for every date or composite period, with clouds masked. Settings sit in rows that open one at a time: datasets with their bands (true colour bands by default), statistics (mean and standard deviation by default), dates, composite and a cloud cover limit. Values are scaled to the units the catalog lists (reflectance for HLS and Landsat). Results show as a map coloured by the picked statistic and date, a table, and a chart of the median and middle 50% of all polygons over time with up to 5 picked polygons (click them on the map or in the table). Downloads (CSV, or GeoParquet with geometry) keep every input column and add zone_id, the input row number, with a row per polygon and date. Multi-part polygons are skipped; a single-part MultiPolygon is read as its polygon. Up to 4096 polygons go in one request and more are sent in batches.

Example

{ "type": "analytics", "props": { "sql": "SELECT * FROM {{fields}}", "collections": ["hls2-s30", "sentinel-1-rtc"], "style": "height: 640px" } }

Every widget is defined as { "type": "analytics", "props": { ... } }. The properties below describe the props object.

Props

Loading ....

Raw schema

Download the full schema file: /widget-schema/analytics.json