spatial_update_layer
Update spatial layer metadata such as display name, classification, licence, or enabled status. Preview modifications and confirm to apply changes.
Instructions
Edit layer metadata (display name, classification, licence, enabled…). Read-only fields of the form cannot be changed [changes spatial-service]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | Internal name: lowercase a-z, 0-9, _ (max 150, cannot be changed later) | |
| type | No | Default: what the upload is (shapefile: Contextual, grid: Environmental) | |
| notes | No | ||
| domain | No | "Terrestrial", "Marine" or "Terrestrial,Marine" | |
| dryRun | No | Preview only (default). Set false, together with confirm:true, to really do it | |
| source | No | e.g. organisation name | |
| confirm | No | Must be true (and dryRun false) to really do it | |
| enabled | No | ||
| keywords | No | ||
| description | No | ||
| displayname | No | Name shown in the portal | |
| source_link | No | ||
| licence_link | No | ||
| metadatapath | No | ||
| licence_level | No | ||
| licence_notes | No | ||
| classification1 | No | First level of the layer tree in the portal, e.g. Area Management | |
| classification2 | No | Second level, e.g. Biodiversity | |
| environmentalvalueunits | No | Environmental layers only, e.g. degrees C |