geo.dataset.inspect --from FILE [--layer TEXT] [--store TEXT] → datasetInspects a spatial dataset (.gdb, .shp, .parquet, .geojson) and lists its layers. The dataset is given as a store key or a FileRef (read from the store it names). Adds dataset: { source, store, format, layers }, keeping the rest of the payload; each layer is { name, feature_count, geometry: { field_name, kind, has_z, has_m, declared_extent }, crs, fields: [{ name, type, nullable, width }] }. --layer reports that layer only. Read input.dataset.layers[0].crs before choosing geo.dataset.convert --crs.
Flags
--from(required): The spatial file: a store key, or a FileRef through {{ }}.--layer: Report this layer only (a FileGDB holds several; other formats one, named default).--store: The project store to write to:local, or the id of ans3credential. Saved explicitly when the pipeline is registered (default: the project's default store at that moment)
Examples
What is in this file?
| geo.dataset.inspect --from uploads/suburbs.shpinput.dataset.layers[0].crs.code is 7844; geo.dataset.convert --crs EPSG:4326 reprojects.
It answers:
json
{ "dataset": { "source": "uploads/suburbs.shp", "store": "local", "format": "shapefile", "layers": [ { "name": "default", "feature_count": 312, "geometry": { "field_name": "geometry", "kind": "Polygon", "has_z": false, "has_m": false, "declared_extent": null }, "crs": { "kind": "epsg", "code": 7844 }, "fields": [ { "name": "name", "type": "String", "nullable": true, "width": 80 } ] } ] }}