Location List
Endpoint for interacting with locations.
Query parameters
uuid:
Text filter on uuid
. Field filter method exact
is supported.
name:
Text filter on name
. Field filter methods exact
, startswith
are supported.
code:
Text filter on code
. Field filter methods exact
, startswith
are supported.
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.
timeseries__start:
Temporal filter on start
field of the related timeseries. Supports
various lookup types (exact
, lt
, lte
, gt
, gte
;
timeseries__start__exact by default). Filter values should be specified in
ISO 8601 YYYY-MM-DDThh:mm:ssZ format.
timeseries__end:
Temporal filter on end
field of the related timeseries. Supports
various lookup types (exact
, lt
, lte
, gt
, gte
;
timeseries__end__exact by default). Filter values should
be specified in ISO 8601 YYYY-MM-DDThh:mm:ssZ format.
organisation__uuid
Text filter on organisation__uuid
. Field filter method exact
is supported.
geom_isnull:
Boolean filter on geometry
.
geom_within:
Spatial filter on geometry
. Supports WKT, HEXEWKB, and GeoJSON.
object_id:
Number filter on the id
attribute of an object
.
Field filter method exact
is supported.
To be used in combination with object_type.
object__id:
Numerical filter on object__id
. Field filter method exact
is supported.
object__type:
Text filter on object__type
. Field filter methods exact
is supported.
ordering:
Offers basic ordering functionality on the name
and last_modified
attribute of
locations. Orderings may be reversed by prefixing the attribute with
'-'.
page: To prevent system overloads, list-view results are paginated. This parameter specifies which page to return.
page_size: The maximum number of results to return in list-view. The default is 10.
Examples
?name__startswith=gemaal
?name=gemaal
?code=ABC
?code__startswith=A
?timeseries__start__gte=2017-01-01T00:00:00Z
?timeseries__end__lt=2018-01-01T00:00:00Z
?organisation__uuid=b10eaf1f-2867-4ffb-8f4a-5eb9bd37dbf1
?access_modifier=Private
?access_modifier=100
?created__gte=2017-01-01T00:00:00Z
?last_modified__lt=2018-01-01T00:00:00Z
?geom_isnull=false
?geom_within=POLYGON((4.87 52.73, 4.87 52.79, 4.98 52.79, 4.98 52.73,
4.87 52.73))
?geom_within={"type": "Polygon", "coordinates": [[[4.87, 52.73],
[4.87, 52.79], [4.98, 52.79], [4.98, 52.73], [4.87, 52.73]]]}
?object__id=1
?object__type=building
?ordering=name
GET /api/v4/locations/?format=api&page=23
https://demo.lizard.net/api/v4/locations/?format=api&page=24", "previous": "https://demo.lizard.net/api/v4/locations/?format=api&page=22", "results": [ { "url": "https://demo.lizard.net/api/v4/locations/58764002-9826-4d45-b9e9-c4cd634258c4/?format=api", "uuid": "58764002-9826-4d45-b9e9-c4cd634258c4", "name": "BIDDINGHUIZEN", "code": "366", "geometry": { "type": "Point", "coordinates": [ 5.666985906113092, 52.49637222820351, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 207, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:01.157531Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/2b0e3250-6df6-4131-8f6c-8aea23ef4215/?format=api", "uuid": "2b0e3250-6df6-4131-8f6c-8aea23ef4215", "name": "OOSTVAARDERSDIEP", "code": "367", "geometry": { "type": "Point", "coordinates": [ 5.225521241977416, 52.41570584650547, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 208, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:01.222307Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/bbf24447-d68b-4af8-b2bb-7103e9f6d46a/?format=api", "uuid": "bbf24447-d68b-4af8-b2bb-7103e9f6d46a", "name": "LELYSTAD EENDENWEG", "code": "369", "geometry": { "type": "Point", "coordinates": [ 5.534308846182332, 52.45167426522795, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 209, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:01.274607Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/e0cffb4a-73df-4e31-83ec-0b1d38cca029/?format=api", "uuid": "e0cffb4a-73df-4e31-83ec-0b1d38cca029", "name": "ZEEWOLDE", "code": "371", "geometry": { "type": "Point", "coordinates": [ 5.372514815213498, 52.38885255408643, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 210, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:01.327998Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/e8a54b34-8a61-4dfc-a4cf-090951cc030d/?format=api", "uuid": "e8a54b34-8a61-4dfc-a4cf-090951cc030d", "name": "ZEEWOLDE SCHILLINKWEG", "code": "372", "geometry": { "type": "Point", "coordinates": [ 5.416523725887275, 52.298973627457414, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 211, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:01.376934Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/28d39355-bd91-4c19-b01b-627eb17201e9/?format=api", "uuid": "28d39355-bd91-4c19-b01b-627eb17201e9", "name": "ZOETERMEER", "code": "426", "geometry": { "type": "Point", "coordinates": [ 4.526666836361158, 52.07113858251023, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 212, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:01.445388Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/8382ab94-8fb1-4c05-a7fc-fe464ae0a5b4/?format=api", "uuid": "8382ab94-8fb1-4c05-a7fc-fe464ae0a5b4", "name": "GROOT AMMERS", "code": "434", "geometry": { "type": "Point", "coordinates": [ 4.834716594006832, 51.92917244372759, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 213, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:01.501255Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/bc4e3907-ee1d-48a2-8780-9b2703b544ea/?format=api", "uuid": "bc4e3907-ee1d-48a2-8780-9b2703b544ea", "name": "HEEMSTEDE", "code": "435", "geometry": { "type": "Point", "coordinates": [ 4.638825870866773, 52.341549656391805, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 214, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:01.560739Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/8f668917-e6ca-4f36-aef2-f45942de019f/?format=api", "uuid": "8f668917-e6ca-4f36-aef2-f45942de019f", "name": "LIJNDEN", "code": "437", "geometry": { "type": "Point", "coordinates": [ 4.756083320411427, 52.35122097376689, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 215, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:01.630733Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/121001d0-e5ff-4435-aa56-1f55cc0be7fc/?format=api", "uuid": "121001d0-e5ff-4435-aa56-1f55cc0be7fc", "name": "HOOFDDORP", "code": "438", "geometry": { "type": "Point", "coordinates": [ 4.697936547353165, 52.31494495033332, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 216, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:01.681647Z", "last_modified": null, "last_modified_by": "" } ] }{ "count": 59876, "next": "