Raster Instance
API endpoint for rasterlayer objects.
Rasterlayers visualise raster data. The actual data is contained in
rastersources. To connect a rasterlayer to a rastersource, configure the
rasterlayer's source
field as follows:
{
"graph": {
"rastersource": [
"lizard_nxt.blocks.LizardRasterSource",
"<uuid of a rastersource object>"
]
},
"name": "rastersource"
}
Note that the organisations of the rastersource and rasterlayer should be
equal. The raster_sources
field cannot be used to configure the source:
it is merely a (read-only) hyperlink to the /rastersources endpoint.
GeoBlocks
Instead of directly visualising a raster source, raster layers can also
perform on-the-fly operations on multiple raster sources. This can be done
by extending the above example for the source
field. See
https://docs.lizard.net. Note that the rasterlayers's organisation must
have geoblocks-permissions to be able to use this feature.
Deletion
If a rasterlayer is deleted, its raster sources (see /rastersources endpoint) will remain available. These need to be cleaned up seperately, or else they will keep using space.
If a rastersource was deleted while there was a rasterlayer referencing it,
the rasterlayer will become broken. In this case, the deleted rastersources
will be listed in the source.deleted_sources
field.
Query parameters:
name
Text filter on the name
field. All text field filter methods,
like startswith
, endswith
, icontains
are supported.
uuid
Filter on uuid
field. UUIDs must be separated by commas and must be
specified in their canonical textual representation (in their
8-4-4-4-12 form, that is). Filtering is case insensitive and may be
done across relationships.
organisation
Filter on Organisations
.
observation_type
Filter on ObservationType
.
layer_collections
Filter on LayerCollection
.
first_value_timestamp
Temporal filter on first_value_timestamp
.
last_value_timestamp
Temporal filter on last_value_timestamp
.
raster_sources__uuid
Show rasters that make use of a raster_source
with given uuid.
access_modifier
Filter on access_modifier
, options are 'Public', 'Private', 'Common', or 'Hidden'.
ordering
Show the results in a specific order.
You can order them by name
, last_modified
, supplier
,
temporal
, access_modifier
, first_value_timestamp
,
last_value_timestamp
, observation_type
, observation_type__code
,
observation_type__parameter
, observation_type__unit
, and
organisation__name
. Add a -
in front to reverse the order.
created:
Temporal filter on created
. Supports various lookup types
(exact
, lt
, lte
, gt
, gte
; created__exact by default).
Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.
last_modified:
Temporal filter on last_modified
. Supports various lookup types
(exact
, lt
, lte
, gt
, gte
; last_modified__exact by default).
Filter values should be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.
Examples
?name__icontains=Elevation
?organisation__name=DDSC
?organisation__uuid=61f5a464c35044c19bc7d4b42d7f58cb
?organisation__name__startswith=Nelen
?organisation__name__icontains=Schuur
?observation_type__code=HOOGTEmNAP
?observation_type__parameter=Hoogte
?uuid=10415ccb-ec31-4d43-bdb3-db597061527b,
4a544b7a-772b-45fb-9aa4-a69447f34f52
?first_value_timestamp=2016-06-21T06:05:00Z
?first_value_timestamp__lt=2016-06-21T06:05:00Z
?layer_collections__slug=10855cc
?raster_sources__uuid=10415ccb-ec31-4d43-bdb3-db597061527b
?access_modifier=Private
?access_modifier=100
?ordering=name
?ordering=-last_modified
?created__gte=2017-01-01T00:00:00Z
?last_modified__lt=2018-01-01T00:00:00Z
GET /api/v4/rasters/0dff79c6-e67b-4805-b7b1-99b0f8f6d4f9/?format=api
https://demo.lizard.net/api/v4/rasters/0dff79c6-e67b-4805-b7b1-99b0f8f6d4f9/?format=api", "uuid": "0dff79c6-e67b-4805-b7b1-99b0f8f6d4f9", "last_modified": "2025-03-27T09:44:58.968929Z", "created": "2025-03-27T09:38:25.134629Z", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/568a4d88-c1b3-4566-8759-dd9b305f619d/?format=api", "uuid": "568a4d88-c1b3-4566-8759-dd9b305f619d", "name": "RHDHV unlimited" }, "access_modifier": "Public", "supplier": null, "shared_with": [], "writable": false, "is_geoblock": true, "source": { "name": "Add_1", "graph": { "Add_1": [ "dask_geomodeling.raster.elemwise.Add", "Multiply", "Step" ], "Add_2": [ "dask_geomodeling.raster.elemwise.Add", "LizardRasterSource_1", 0.5 ], "Snap": [ "dask_geomodeling.raster.temporal.Snap", "LizardRasterSource_2", "LizardRasterSource_3" ], "Step": [ "dask_geomodeling.raster.misc.Step", "MaskBelow", 0.5, 1.0, 0.25, 0.5 ], "Multiply": [ "dask_geomodeling.raster.elemwise.Multiply", "MaskBelow", "Add_2" ], "Subtract": [ "dask_geomodeling.raster.elemwise.Subtract", "LizardRasterSource_3", "Snap" ], "MaskBelow": [ "dask_geomodeling.raster.misc.MaskBelow", "Subtract", 0 ], "LizardRasterSource_1": [ "lizard_nxt.blocks.LizardRasterSource", "4345c004-638c-40ab-afa1-fb3a5c372c55" ], "LizardRasterSource_2": [ "lizard_nxt.blocks.LizardRasterSource", "ff9dbd8f-80d4-43bc-9a26-3030b01ba7d9" ], "LizardRasterSource_3": [ "lizard_nxt.blocks.LizardRasterSource", "c525c426-f15d-44b0-9c09-c045dce3662a" ] } }, "weight": 10, "raster_sources": [ "https://demo.lizard.net/api/v4/rastersources/ff9dbd8f-80d4-43bc-9a26-3030b01ba7d9/?format=api", "https://demo.lizard.net/api/v4/rastersources/c525c426-f15d-44b0-9c09-c045dce3662a/?format=api", "https://demo.lizard.net/api/v4/rastersources/4345c004-638c-40ab-afa1-fb3a5c372c55/?format=api" ], "name": "10 feb validation event2 Flood hazard rating", "description": "", "observation_type": { "url": "https://demo.lizard.net/api/v4/observationtypes/8712/?format=api", "id": 8712, "code": "3di_floodhazardrating", "parameter": "Flood hazard rating", "unit": "-", "scale": "interval", "description": "Flood hazard rating (used in 3Di postprocessing)", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2022-05-10T14:55:40.798827Z", "last_modified": "2022-05-10T15:00:34.136515Z" }, "temporal": false, "layer_collections": [], "first_value_timestamp": "2025-02-12T00:00:01.828125Z", "last_value_timestamp": "2025-02-12T00:00:01.828125Z", "spatial_bounds": { "west": 150.89496811623147, "east": 151.10925056064502, "north": -33.73021319178881, "south": -33.84370910378886 }, "projection": "EPSG:32756", "origin_x": null, "origin_y": null, "upper_bound_x": null, "upper_bound_y": null, "pixelsize_x": null, "pixelsize_y": null, "interval": null, "wms_info": { "endpoint": "https://demo.lizard.net/wms/", "layer": "scenarios:42120:flood-hazard-rating" }, "options": { "styles": "3di_floodhazardrating:0:2" }, "colormap": {}, "rescalable": false, "aggregation_type": "curve", "dtype": "f4", "fill_value": "3.4028234663852886e+38" }{ "url": "