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/d8df54dc-785e-453d-b59a-f8e4502b3308/?format=api
https://demo.lizard.net/api/v4/rasters/d8df54dc-785e-453d-b59a-f8e4502b3308/?format=api", "uuid": "d8df54dc-785e-453d-b59a-f8e4502b3308", "last_modified": "2019-11-21T16:09:55.181041Z", "created": "2016-02-18T11:36:25.110679Z", "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" } ], "writable": false, "is_geoblock": true, "source": { "name": "MaskBelow", "graph": { "Add": [ "dask_geomodeling.raster.elemwise.Add", "Group", "Multiply" ], "Group": [ "dask_geomodeling.raster.combine.Group", "RasterStoreSource_3", "RasterStoreSource_5", "RasterStoreSource_2", "RasterStoreSource_4" ], "Multiply": [ "dask_geomodeling.raster.elemwise.Multiply", "RasterStoreSource_1", -1 ], "MaskBelow": [ "dask_geomodeling.raster.misc.MaskBelow", "Add", 0 ], "RasterStoreSource_1": [ "lizard_nxt.blocks.LizardRasterSource", "1734604f-664f-4d66-8f0d-de6d7720190b" ], "RasterStoreSource_2": [ "lizard_nxt.blocks.LizardRasterSource", "ec469dde-deed-438e-b62e-4dfdd0abd5cc" ], "RasterStoreSource_3": [ "lizard_nxt.blocks.LizardRasterSource", "2441d662-472a-418e-b1ec-6f4eb6d29c8b" ], "RasterStoreSource_4": [ "lizard_nxt.blocks.LizardRasterSource", "2bcffbed-0dd6-4e97-94c1-da2a2dd6b716" ], "RasterStoreSource_5": [ "lizard_nxt.blocks.LizardRasterSource", "85c79bb9-5a16-4c8e-9b33-7a052a687161" ] } }, "weight": 9, "raster_sources": [ "https://demo.lizard.net/api/v4/rastersources/ec469dde-deed-438e-b62e-4dfdd0abd5cc/?format=api", "https://demo.lizard.net/api/v4/rastersources/2441d662-472a-418e-b1ec-6f4eb6d29c8b/?format=api", "https://demo.lizard.net/api/v4/rastersources/2bcffbed-0dd6-4e97-94c1-da2a2dd6b716/?format=api", "https://demo.lizard.net/api/v4/rastersources/85c79bb9-5a16-4c8e-9b33-7a052a687161/?format=api", "https://demo.lizard.net/api/v4/rastersources/1734604f-664f-4d66-8f0d-de6d7720190b/?format=api" ], "name": "Drooglegging", "description": "Deze laag drooglegging laat op hoog detailniveau (0,25 m2) zien welke delen van uw gemeente gevoelig zijn voor droogte. Drooglegging is het verschil tussen het maaiveld en de waterstand in het oppervlaktewater. In bemalen gebieden geeft dit een indicatie van te verwachten minimale en maximale grondwaterstanden. Deze informatie kan u helpen bij de analyse en interpretatie van zowel droogte als wateroverlast.\r\n\r\nDe kaart laat zien hoe hoog het maaiveld boven het waterpeil van de dichtstbijzijnde waterpartij ligt. De grondwaterstand zakt bij droogte tot dit waterpeil. Hoe hoger het maaiveld, hoe dieper de grondwaterstand kan zakken en hoe meer de bodem kan uitdrogen. Het maaiveld is bepaald uit het AHN2.", "observation_type": { "url": "https://demo.lizard.net/api/v4/observationtypes/469/?format=api", "id": 469, "code": "Drooglegging (m)", "parameter": "Drooglegging", "unit": "m", "scale": "interval", "description": "", "domain_values": null, "reference_frame": "", "compartment": "", "created": "2015-12-22T15:08:12.573269Z", "last_modified": "2019-06-25T07:26:10.441021Z" }, "temporal": false, "layer_collections": [ { "url": "https://demo.lizard.net/api/v4/layercollections/hhnk_klimaatatlas/?format=api", "slug": "hhnk_klimaatatlas", "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, "created": "2019-09-18T07:08:16.480600Z", "last_modified": "2022-05-23T14:24:30.923651Z" } ], "first_value_timestamp": "1970-01-01T00:00:00Z", "last_value_timestamp": "1970-01-01T00:00:00Z", "spatial_bounds": { "west": 4.5900918271724125, "east": 5.298804298548513, "north": 53.18180260446092, "south": 52.37071479820063 }, "projection": "EPSG:28992", "origin_x": 101707.0, "origin_y": 487269.5, "upper_bound_x": 148980.0, "upper_bound_y": 577240.0, "pixelsize_x": 0.5, "pixelsize_y": -0.5, "interval": null, "wms_info": { "endpoint": "https://demo.lizard.net/wms/", "layer": "hoogheemraadschap-hollands-noorderkwartier:drooglegging" }, "options": { "styles": "YlGnBu_r:0:3" }, "colormap": {}, "rescalable": true, "aggregation_type": "curve", "dtype": null, "fill_value": null }{ "url": "