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/d1e5add3-0677-47cf-8f05-e4f7d49eeebd/?format=api
https://demo.lizard.net/api/v4/rasters/d1e5add3-0677-47cf-8f05-e4f7d49eeebd/?format=api", "uuid": "d1e5add3-0677-47cf-8f05-e4f7d49eeebd", "last_modified": "2024-06-05T09:30:43.882897Z", "created": "2021-06-25T11:52:48.202231Z", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/e29fe554-2610-4037-b4b1-4e6bd37a7881/?format=api", "uuid": "e29fe554-2610-4037-b4b1-4e6bd37a7881", "name": "Den Haag" }, "access_modifier": "Public", "supplier": "remo.vantilburg", "shared_with": [], "writable": false, "is_geoblock": true, "source": { "name": "Clip", "graph": { "Add": [ "dask_geomodeling.raster.elemwise.Add", "Multiply_2", "Multiply_3" ], "Clip": [ "dask_geomodeling.raster.misc.Clip", "Smooth", "Reclassifyz" ], "Mask": [ "dask_geomodeling.raster.misc.Mask", "RasterStoreSource_5", 254 ], "Group_1": [ "dask_geomodeling.raster.combine.Group", "RasterStoreSource_2", "Reclassify_2", "Mask" ], "Group_2": [ "dask_geomodeling.raster.combine.Group", "RasterStoreSource_4", "RasterStoreSource_3" ], "Divide": [ "dask_geomodeling.raster.elemwise.Divide", "Subtract_1", 254 ], "Smooth": [ "dask_geomodeling.raster.spatial.Smooth", "Multiply_1", 50, 4.5 ], "Multiply_1": [ "dask_geomodeling.raster.elemwise.Multiply", -33.33, "Subtract_2" ], "Multiply_2": [ "dask_geomodeling.raster.elemwise.Multiply", 0.1374, "Divide" ], "Multiply_3": [ "dask_geomodeling.raster.elemwise.Multiply", 1.73, "Reclassify_1" ], "Subtract_1": [ "dask_geomodeling.raster.elemwise.Subtract", 254, "Group_2" ], "Subtract_2": [ "dask_geomodeling.raster.elemwise.Subtract", "Add", 1.85 ], "gemeentes": [ "lizard_nxt.blocks.LizardRasterSource", "501e1d53-0bdc-4aa3-9298-a6d5ab5ddb39" ], "Reclassify_1": [ "dask_geomodeling.raster.misc.Reclassify", "Group_1", [ [ 1, 0.904 ], [ 2, 0.898 ], [ 3, 0.914 ], [ 4, 0.978 ], [ 5, 0.965 ], [ 6, 0.946 ], [ 7, 0.914 ], [ 8, 0.978 ], [ 9, 0.99 ], [ 10, 0.978 ], [ 11, 0.978 ], [ 12, 0.99 ], [ 13, 0.978 ], [ 14, 0.99 ], [ 15, 0.938 ], [ 16, 0.97 ], [ 17, 0.978 ], [ 18, 0.99 ], [ 19, 0.99 ], [ 20, 0.99 ], [ 21, 0.99 ], [ 22, 0.99 ], [ 23, 0.97 ], [ 26, 0.978 ], [ 27, 0.978 ], [ 28, 0.985 ], [ 29, 0.985 ], [ 30, 0.978 ], [ 254, 0.985 ], [ 200, 0.914 ], [ 202, 0.902 ], [ 203, 0.897 ], [ 204, 0.95 ], [ 150, 0.946 ], [ 160, 0.9236 ] ], true ], "Reclassify_2": [ "dask_geomodeling.raster.misc.Reclassify", "RasterStoreSource_1", [ [ 2, 202 ], [ 3, 203 ], [ 4, 203 ], [ 5, 203 ], [ 6, 203 ], [ 7, 204 ], [ 8, 203 ], [ 9, 203 ], [ 10, 203 ], [ 11, 203 ], [ 12, 203 ], [ 13, 203 ], [ 14, 203 ], [ 15, 150 ], [ 16, 160 ] ], true ], "Reclassifyz": [ "dask_geomodeling.raster.misc.Reclassify", "gemeentes", [ [ 14, 1 ], [ 99999, 0 ] ], true ], "RasterStoreSource_1": [ "lizard_nxt.blocks.LizardRasterSource", "f88c9bb2-d0d9-4962-906f-074c9b40f23d" ], "RasterStoreSource_2": [ "lizard_nxt.blocks.LizardRasterSource", "3bf0d3d6-ba2a-402f-afc5-a3df79a1a1e7" ], "RasterStoreSource_3": [ "lizard_nxt.blocks.LizardRasterSource", "b52a0a0d-0445-4b4a-a61b-90c6a946f802" ], "RasterStoreSource_4": [ "lizard_nxt.blocks.LizardRasterSource", "5da5c9cc-9cf6-4f9d-abbe-afe8475ac57f" ], "RasterStoreSource_5": [ "lizard_nxt.blocks.LizardRasterSource", "ca3ad2ac-d56b-463d-a4b1-95f81482d397" ] } }, "weight": 21, "raster_sources": [ "https://demo.lizard.net/api/v4/rastersources/ca3ad2ac-d56b-463d-a4b1-95f81482d397/?format=api", "https://demo.lizard.net/api/v4/rastersources/f88c9bb2-d0d9-4962-906f-074c9b40f23d/?format=api", "https://demo.lizard.net/api/v4/rastersources/3bf0d3d6-ba2a-402f-afc5-a3df79a1a1e7/?format=api", "https://demo.lizard.net/api/v4/rastersources/5da5c9cc-9cf6-4f9d-abbe-afe8475ac57f/?format=api", "https://demo.lizard.net/api/v4/rastersources/b52a0a0d-0445-4b4a-a61b-90c6a946f802/?format=api", "https://demo.lizard.net/api/v4/rastersources/501e1d53-0bdc-4aa3-9298-a6d5ab5ddb39/?format=api" ], "name": "Hittestress (oppervlakte temperatuur)", "description": "Deze kaartlaag 'Hittestress' geeft aan waar hittestress kan optreden tijdens zomerse dagen. De rode gebieden zijn zeer gevoelig voor hittestress, de blauwe gebieden nauwelijks.\r\n\r\nOpbouw\r\n\r\nDeze kaartlaag geeft aan waar hittestress kan optreden tijdens zomerse dagen. De rode gebieden zijn zeer gevoelig voor hittestress, de blauwe gebieden nauwelijks.\r\n\r\nBij de totstandkoming van deze kaart spelen de volgende factoren een rol:\r\n\r\nde emissiviteit (de warmte-uitstraling van een oppervlak);\r\nde schaduw\r\n\r\nDe emissiviteit is bepaald voor het bovenste oppervlak: als er bomen langs een weg staan is de emissiviteit van het boomoppervlak boven de weg meegenomen. De emissiviteit en de schaduw zijn gewogen op basis van de verwachte bijdrage die elke factor heeft op de oppervlaktetemperatuur.\r\n\r\nVerantwoording\r\n\r\nVoor deze kaart is gebruik gemaakt van de hoogtegegevens van het Actueel Hoogtebestand Nederland, versie 2. Deze zijn over de landgebruikskaart geplaatst. Voor het bepalen van de hittestress is uitsluitend rekening gehouden met de hierboven genoemde factoren. Er is geen rekening gehouden met wind of met het geschatte aantal dagen hittestress per jaar. Het is daarom mogelijk dat de gepresenteerde knelpunten niet altijd in de praktijk (in die mate) worden herkend. De kaart geeft echter een goede indicatie van het effect van elk type oppervlak op de gevoelstemperatuur.", "observation_type": { "url": "https://demo.lizard.net/api/v4/observationtypes/466/?format=api", "id": 466, "code": "Hittestress", "parameter": "Hittestress", "unit": "", "scale": "ordinal", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-11-19T10:41:29.395081Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, "temporal": false, "layer_collections": [ { "url": "https://demo.lizard.net/api/v4/layercollections/denhaag_klimaatatlas/?format=api", "slug": "denhaag_klimaatatlas", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/e29fe554-2610-4037-b4b1-4e6bd37a7881/?format=api", "uuid": "e29fe554-2610-4037-b4b1-4e6bd37a7881", "name": "Den Haag" }, "access_modifier": "Public", "supplier": "jelmer.roosjen", "created": "2021-06-01T14:48:16.651399Z", "last_modified": "2021-07-08T12:33:46.506483Z" } ], "first_value_timestamp": "1970-01-01T00:00:00Z", "last_value_timestamp": "1970-01-01T00:00:00Z", "spatial_bounds": { "west": 3.253713155100211, "east": 7.243161224559517, "north": 53.51966937141186, "south": 50.73417297437435 }, "projection": "EPSG:28992", "origin_x": 13564.399999999994, "origin_y": 306844.0, "upper_bound_x": 278026.4, "upper_bound_y": 616443.0, "pixelsize_x": 0.5, "pixelsize_y": -0.5, "interval": null, "wms_info": { "endpoint": "https://demo.lizard.net/wms/", "layer": "den_haag:heatstress" }, "options": { "styles": "heat-klimaat" }, "colormap": {}, "rescalable": false, "aggregation_type": "curve", "dtype": "f8", "fill_value": "1.7976931348623157e+308" }{ "url": "