API endpoint for raster source objects.

Raster sources contain the data that can be visualised through raster layers, either directly or via on-the-fly GeoBlocks operations.

All objects that depend on this raster source are listed in the "layers" and "labeltypes" fields. Some of these might not be readable by you (the current user). For these objects, following the hyperlink will result in a "404 Not Found" error.

Deletion

A raster source can only be deleted if it is not in use. Consult the "layers" and "labeltypes" fields to see which resources use this raster source.

To circumvent this protection, put {"force": true} in the request body. Be aware that dependent rasterlayers and labeltypes will be broken.

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.

first_value_timestamp Temporal filter on first_value_timestamp.

last_value_timestamp Temporal filter on last_value_timestamp.

*layers__uuid" List all raster sources used by a layer with given uuid.

scenario__isnull Filter on whether this rastersource is used in a scenario.

Ordering Show the results in a specific order Order by: name, supplier_code, size or last_modified.

access_modifier Filter on access_modifier, options are 'Public', 'Private', 'Common', or 'Hidden'.

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

?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

?layers__uuid=0866dbe6-69b1-413e-a709-e28e888eaed8

?scenario__isnull=true

?ordering=-name

?access_modifier=Private

?access_modifier=100

?created__gte=2017-01-01T00:00:00Z

?last_modified__lt=2018-01-01T00:00:00Z
GET /api/v4/rastersources/f6b8c509-7f3f-4d43-b687-69496c74b714/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 684,
    "uuid": "f6b8c509-7f3f-4d43-b687-69496c74b714",
    "url": "https://demo.lizard.net/api/v4/rastersources/f6b8c509-7f3f-4d43-b687-69496c74b714/?format=api",
    "name": "Land cover (annual)",
    "description": "",
    "organisation": {
        "url": "https://demo.lizard.net/api/v4/organisations/d742bfeb-e858-4edc-bb0d-b72668309ada/?format=api",
        "uuid": "d742bfeb-e858-4edc-bb0d-b72668309ada",
        "name": "Lizard - general layers"
    },
    "access_modifier": "Public",
    "supplier": "project.support",
    "supplier_code": "ESACCI-LC-L4-LCCS-Map-300myearly",
    "temporal": true,
    "interval": "365 06:00:00",
    "first_value_timestamp": "1992-01-01T11:00:00Z",
    "last_value_timestamp": "2015-01-01T05:00:00Z",
    "spatial_bounds": {
        "west": -180.0,
        "east": 180.00000000002865,
        "north": 85.04999999999961,
        "south": -85.05000000001391
    },
    "projection": "EPSG:4326",
    "origin_x": -180.0,
    "origin_y": -85.0500000000139,
    "upper_bound_x": 180.000000000029,
    "upper_bound_y": 85.0499999999996,
    "pixelsize_x": 0.002777777777778,
    "pixelsize_y": -0.002777777777778,
    "created": "2017-05-04T15:02:07.793250Z",
    "last_modified": "2019-09-25T12:31:47.112798Z",
    "writable": false,
    "layers": [
        "https://demo.lizard.net/api/v4/rasters/ea434e56-edad-4a16-a703-909bf53748d7/?format=api",
        "https://demo.lizard.net/api/v4/rasters/b34a1456-9d8e-4c33-808e-5d18b079ff33/?format=api",
        "https://demo.lizard.net/api/v4/rasters/6216abcc-d7f9-47d3-b62c-c072600e8697/?format=api",
        "https://demo.lizard.net/api/v4/rasters/655022c3-4b6a-4f18-ad70-6b38332bb9b1/?format=api",
        "https://demo.lizard.net/api/v4/rasters/811690a7-5f53-44c4-a831-ed7a478ac727/?format=api",
        "https://demo.lizard.net/api/v4/rasters/4bb3905b-c330-45ce-8640-65c55f794377/?format=api",
        "https://demo.lizard.net/api/v4/rasters/f7c8ef6a-593e-49f8-922c-877d36fe147d/?format=api",
        "https://demo.lizard.net/api/v4/rasters/297decbb-e2db-498d-a2dc-34632d646fb1/?format=api",
        "https://demo.lizard.net/api/v4/rasters/cd8c7313-6e39-4923-88f6-50e948001e19/?format=api",
        "https://demo.lizard.net/api/v4/rasters/7af88eb7-8ee6-462b-9f64-9b1ec01c40e3/?format=api",
        "https://demo.lizard.net/api/v4/rasters/1b893358-6006-4ee5-900c-9a902960d03e/?format=api",
        "https://demo.lizard.net/api/v4/rasters/95a1d947-da81-4227-9715-d1ce751c21a3/?format=api",
        "https://demo.lizard.net/api/v4/rasters/541ee97a-7343-41d7-93bb-202d4ebcf624/?format=api",
        "https://demo.lizard.net/api/v4/rasters/528c5510-39df-4616-a9cf-de5c3bc3b813/?format=api",
        "https://demo.lizard.net/api/v4/rasters/c3017fea-be2b-445d-a681-0fbaa4dd9b8a/?format=api",
        "https://demo.lizard.net/api/v4/rasters/cea93a7f-1b63-4939-9199-12412367f6ec/?format=api",
        "https://demo.lizard.net/api/v4/rasters/a41e7c90-9974-4c63-9aac-5bc1b221b2d3/?format=api",
        "https://demo.lizard.net/api/v4/rasters/49a5ed7a-d15f-4eb7-a47a-39d45825f9cf/?format=api",
        "https://demo.lizard.net/api/v4/rasters/4e6dbe38-0f77-477c-acd1-c1e0d943eeb6/?format=api",
        "https://demo.lizard.net/api/v4/rasters/cc18af34-2ad1-45f4-b5b1-2f110fc66607/?format=api",
        "https://demo.lizard.net/api/v4/rasters/6e4f7c7a-328b-4cf9-8fb9-1408752afbdc/?format=api"
    ],
    "labeltypes": [],
    "size": 20621547532,
    "dtype": null,
    "fill_value": null
}