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/9417d5b0-ae8d-4524-9135-30f103944443/?format=api
https://demo.lizard.net/api/v4/rasters/9417d5b0-ae8d-4524-9135-30f103944443/?format=api", "uuid": "9417d5b0-ae8d-4524-9135-30f103944443", "last_modified": "2019-09-27T10:09:47.827901Z", "created": "2016-02-18T10:04:12.337280Z", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api", "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb", "name": "Hoogheemraadschap Hollands Noorderkwartier" }, "access_modifier": "Public", "supplier": null, "shared_with": [ { "url": "https://demo.lizard.net/api/v4/organisations/0fbe7bce-c367-49a3-9d36-e36cc059f32e/?format=api", "uuid": "0fbe7bce-c367-49a3-9d36-e36cc059f32e", "name": "Alkmaar" }, { "url": "https://demo.lizard.net/api/v4/organisations/6519e8a4-8990-4d1a-a0c4-e5c3ea58bb7b/?format=api", "uuid": "6519e8a4-8990-4d1a-a0c4-e5c3ea58bb7b", "name": "Amsterdam" }, { "url": "https://demo.lizard.net/api/v4/organisations/964a9ee0-d952-4674-8bc2-70a05fc0f458/?format=api", "uuid": "964a9ee0-d952-4674-8bc2-70a05fc0f458", "name": "Beemster" }, { "url": "https://demo.lizard.net/api/v4/organisations/7a2284a6-a8ac-4e12-a9c6-4b6308f1f598/?format=api", "uuid": "7a2284a6-a8ac-4e12-a9c6-4b6308f1f598", "name": "Bergen NH" }, { "url": "https://demo.lizard.net/api/v4/organisations/c933c1ba-26de-42a8-b64d-28c35e628a4b/?format=api", "uuid": "c933c1ba-26de-42a8-b64d-28c35e628a4b", "name": "Beverwijk" }, { "url": "https://demo.lizard.net/api/v4/organisations/d11edfaf-045c-4138-a1b2-eba78cf395f4/?format=api", "uuid": "d11edfaf-045c-4138-a1b2-eba78cf395f4", "name": "Castricum" }, { "url": "https://demo.lizard.net/api/v4/organisations/e2830b84-9532-408f-8e85-2667552fe295/?format=api", "uuid": "e2830b84-9532-408f-8e85-2667552fe295", "name": "Den Helder" }, { "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/?format=api", "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20", "name": "Dijk en Waard" }, { "url": "https://demo.lizard.net/api/v4/organisations/334d2c48-b6eb-413a-a51a-81a133d2d8cc/?format=api", "uuid": "334d2c48-b6eb-413a-a51a-81a133d2d8cc", "name": "Drechterland" }, { "url": "https://demo.lizard.net/api/v4/organisations/cf87c93d-57a9-48ba-a4ca-a4666afbb85e/?format=api", "uuid": "cf87c93d-57a9-48ba-a4ca-a4666afbb85e", "name": "Edam Volendam" }, { "url": "https://demo.lizard.net/api/v4/organisations/cac6464d-3268-41fc-8662-45eeda38f65d/?format=api", "uuid": "cac6464d-3268-41fc-8662-45eeda38f65d", "name": "Enkhuizen" }, { "url": "https://demo.lizard.net/api/v4/organisations/931b7b3b-fd2a-4cee-8cfb-e0a8f59d9292/?format=api", "uuid": "931b7b3b-fd2a-4cee-8cfb-e0a8f59d9292", "name": "Gemeente Velsen" }, { "url": "https://demo.lizard.net/api/v4/organisations/bdb6fc4b-03cf-43c7-afe4-d307750eb4f6/?format=api", "uuid": "bdb6fc4b-03cf-43c7-afe4-d307750eb4f6", "name": "Heemskerk" }, { "url": "https://demo.lizard.net/api/v4/organisations/6e48d904-499c-44ba-a775-d044f86b9608/?format=api", "uuid": "6e48d904-499c-44ba-a775-d044f86b9608", "name": "Heiloo" }, { "url": "https://demo.lizard.net/api/v4/organisations/60e554ef-e412-4e95-96b2-5b5634b0ab7f/?format=api", "uuid": "60e554ef-e412-4e95-96b2-5b5634b0ab7f", "name": "Hollands Kroon" }, { "url": "https://demo.lizard.net/api/v4/organisations/8936d834-0f46-45b3-858c-a2aac0a8adb3/?format=api", "uuid": "8936d834-0f46-45b3-858c-a2aac0a8adb3", "name": "Hoorn" }, { "url": "https://demo.lizard.net/api/v4/organisations/653e35ac-3f4a-41bd-9381-847be11ef1a9/?format=api", "uuid": "653e35ac-3f4a-41bd-9381-847be11ef1a9", "name": "Koggenland" }, { "url": "https://demo.lizard.net/api/v4/organisations/1f98db14-07d4-4e0a-b7e7-e57168df43e6/?format=api", "uuid": "1f98db14-07d4-4e0a-b7e7-e57168df43e6", "name": "Landsmeer" }, { "url": "https://demo.lizard.net/api/v4/organisations/6caba295-6130-44af-8d3f-a6e57da4cc14/?format=api", "uuid": "6caba295-6130-44af-8d3f-a6e57da4cc14", "name": "Langedijk" }, { "url": "https://demo.lizard.net/api/v4/organisations/0f94c129-02f4-4e73-b9d7-8e21f65463d8/?format=api", "uuid": "0f94c129-02f4-4e73-b9d7-8e21f65463d8", "name": "Medemblik" }, { "url": "https://demo.lizard.net/api/v4/organisations/a688de39-a1a7-4759-b683-026fa95982f7/?format=api", "uuid": "a688de39-a1a7-4759-b683-026fa95982f7", "name": "Oostzaan" }, { "url": "https://demo.lizard.net/api/v4/organisations/c4f4ee0d-d6d2-46a8-9366-595407af5751/?format=api", "uuid": "c4f4ee0d-d6d2-46a8-9366-595407af5751", "name": "Opmeer" }, { "url": "https://demo.lizard.net/api/v4/organisations/6c391e46-265c-4c23-b13a-0ded505160ca/?format=api", "uuid": "6c391e46-265c-4c23-b13a-0ded505160ca", "name": "Purmerend" }, { "url": "https://demo.lizard.net/api/v4/organisations/f1693567-94c7-43d3-8739-a0848256d669/?format=api", "uuid": "f1693567-94c7-43d3-8739-a0848256d669", "name": "Schagen" }, { "url": "https://demo.lizard.net/api/v4/organisations/9076be5d-6541-434d-b931-f1073b4e6733/?format=api", "uuid": "9076be5d-6541-434d-b931-f1073b4e6733", "name": "Stede Broec" }, { "url": "https://demo.lizard.net/api/v4/organisations/843ae546-a7e5-48dc-9e62-c792447badb8/?format=api", "uuid": "843ae546-a7e5-48dc-9e62-c792447badb8", "name": "Texel" }, { "url": "https://demo.lizard.net/api/v4/organisations/236d6b99-107c-4814-b276-e4a428849e4d/?format=api", "uuid": "236d6b99-107c-4814-b276-e4a428849e4d", "name": "Uitgeest" }, { "url": "https://demo.lizard.net/api/v4/organisations/d4ab1821-cf97-4c9e-b919-e442c12bb59f/?format=api", "uuid": "d4ab1821-cf97-4c9e-b919-e442c12bb59f", "name": "Waterland" }, { "url": "https://demo.lizard.net/api/v4/organisations/f7de1e34-5025-44e9-b2fa-3008a142e6ff/?format=api", "uuid": "f7de1e34-5025-44e9-b2fa-3008a142e6ff", "name": "Wormerland" }, { "url": "https://demo.lizard.net/api/v4/organisations/dcfcbe68-677e-4077-a621-b56bd258c6e2/?format=api", "uuid": "dcfcbe68-677e-4077-a621-b56bd258c6e2", "name": "Zaanstad" }, { "url": "https://demo.lizard.net/api/v4/organisations/3cd22e2c-de8d-4468-80c6-869585e1efd3/?format=api", "uuid": "3cd22e2c-de8d-4468-80c6-869585e1efd3", "name": "Zeevang" } ], "writable": false, "is_geoblock": true, "source": { "name": "MaskBelow", "graph": { "Group_1": [ "dask_geomodeling.raster.combine.Group", "RasterStoreSource_1", "RasterStoreSource_3" ], "Group_2": [ "dask_geomodeling.raster.combine.Group", "Group_1", "Reclassify" ], "Group_3": [ "dask_geomodeling.raster.combine.Group", "RasterStoreSource_2", "RasterStoreSource_5" ], "Subtract": [ "dask_geomodeling.raster.elemwise.Subtract", "Group_3", "Group_2" ], "MaskBelow": [ "dask_geomodeling.raster.misc.MaskBelow", "Subtract", 0.01 ], "Reclassify": [ "dask_geomodeling.raster.misc.Reclassify", "RasterStoreSource_4", [ [ 2, 1000.0 ], [ 3, 1000.0 ], [ 4, 1000.0 ], [ 5, 1000.0 ], [ 6, 1000.0 ], [ 7, 1000.0 ], [ 8, 1000.0 ], [ 9, 1000.0 ], [ 10, 1000.0 ], [ 11, 1000.0 ], [ 12, 1000.0 ], [ 13, 1000.0 ], [ 14, 1000.0 ], [ 144, 1000.0 ], [ 145, 1000.0 ] ], true ], "RasterStoreSource_1": [ "lizard_nxt.blocks.LizardRasterSource", "2441d662-472a-418e-b1ec-6f4eb6d29c8b" ], "RasterStoreSource_2": [ "lizard_nxt.blocks.LizardRasterSource", "cde28bfb-cb03-4faa-85df-a7a709241415" ], "RasterStoreSource_3": [ "lizard_nxt.blocks.LizardRasterSource", "85c79bb9-5a16-4c8e-9b33-7a052a687161" ], "RasterStoreSource_4": [ "lizard_nxt.blocks.LizardRasterSource", "19f4b689-133c-4bac-8fee-f772c50ab5d0" ], "RasterStoreSource_5": [ "lizard_nxt.blocks.LizardRasterSource", "8bd5b545-f8ff-4965-8259-153f95372a37" ] } }, "weight": 11, "raster_sources": [ "https://demo.lizard.net/api/v4/rastersources/2441d662-472a-418e-b1ec-6f4eb6d29c8b/?format=api", "https://demo.lizard.net/api/v4/rastersources/85c79bb9-5a16-4c8e-9b33-7a052a687161/?format=api", "https://demo.lizard.net/api/v4/rastersources/cde28bfb-cb03-4faa-85df-a7a709241415/?format=api", "https://demo.lizard.net/api/v4/rastersources/19f4b689-133c-4bac-8fee-f772c50ab5d0/?format=api", "https://demo.lizard.net/api/v4/rastersources/8bd5b545-f8ff-4965-8259-153f95372a37/?format=api" ], "name": "Wateroverlast", "description": "test", "observation_type": { "url": "https://demo.lizard.net/api/v4/observationtypes/464/?format=api", "id": 464, "code": "WATDPTE (m)", "parameter": "Water depth", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": null, "compartment": null, "created": "2015-11-04T09:25:15.713550Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, "temporal": false, "layer_collections": [], "first_value_timestamp": "1970-01-01T00:00:00Z", "last_value_timestamp": "1970-01-01T00:00:00Z", "spatial_bounds": { "west": 4.556247714082476, "east": 5.308366926608717, "north": 53.16049999859096, "south": 52.37292752664119 }, "projection": "EPSG:28992", "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": "intern:nl:hhnk:wateroverlast" }, "options": { "styles": "Blues:0:0.3" }, "colormap": {}, "rescalable": false, "aggregation_type": "curve", "dtype": null, "fill_value": null }{ "url": "