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=9
https://zuiderzeeland.lizard.net/api/v4/locations/?format=api&page=10", "previous": "https://zuiderzeeland.lizard.net/api/v4/locations/?format=api&page=8", "results": [ { "url": "https://zuiderzeeland.lizard.net/api/v4/locations/8923553c-2a53-491d-9db9-c8c812fa6f6b/?format=api", "uuid": "8923553c-2a53-491d-9db9-c8c812fa6f6b", "name": "FINSTERWOLDE", "code": "143", "geometry": { "type": "Point", "coordinates": [ 7.108337777890164, 53.20327542074419, 0.0 ] }, "organisation": { "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 124, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:56.766888Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://zuiderzeeland.lizard.net/api/v4/locations/1f395a3a-6814-42ff-aba8-40e646167dc5/?format=api", "uuid": "1f395a3a-6814-42ff-aba8-40e646167dc5", "name": "TER APEL", "code": "144", "geometry": { "type": "Point", "coordinates": [ 7.080379404865563, 52.87112483814524, 0.0 ] }, "organisation": { "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 125, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:56.827967Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://zuiderzeeland.lizard.net/api/v4/locations/6605dcc6-9325-455c-ad52-cd5dcc07859d/?format=api", "uuid": "6605dcc6-9325-455c-ad52-cd5dcc07859d", "name": "ZOUTKAMP", "code": "145", "geometry": { "type": "Point", "coordinates": [ 6.287952734044682, 53.33804249879848, 0.0 ] }, "organisation": { "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 126, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:56.874743Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://zuiderzeeland.lizard.net/api/v4/locations/f371ddd3-128b-4273-960e-d680ec9ff222/?format=api", "uuid": "f371ddd3-128b-4273-960e-d680ec9ff222", "name": "VEENDAM", "code": "147", "geometry": { "type": "Point", "coordinates": [ 6.820500117817614, 53.09921615210692, 0.0 ] }, "organisation": { "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 127, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:56.932608Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://zuiderzeeland.lizard.net/api/v4/locations/76e4f8b9-1eb2-4d97-94a4-70a53303f52e/?format=api", "uuid": "76e4f8b9-1eb2-4d97-94a4-70a53303f52e", "name": "SAPPEMEER", "code": "148", "geometry": { "type": "Point", "coordinates": [ 6.732615959717298, 53.154157266497705, 0.0 ] }, "organisation": { "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 128, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:56.985723Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://zuiderzeeland.lizard.net/api/v4/locations/cc142580-d840-455d-b7bb-2c578736db58/?format=api", "uuid": "cc142580-d840-455d-b7bb-2c578736db58", "name": "UITHUIZEN", "code": "150", "geometry": { "type": "Point", "coordinates": [ 6.680352116763983, 53.406351035185985, 0.0 ] }, "organisation": { "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 129, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:57.053979Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://zuiderzeeland.lizard.net/api/v4/locations/de057717-3068-4187-ac8b-6220e51668ed/?format=api", "uuid": "de057717-3068-4187-ac8b-6220e51668ed", "name": "ROODESCHOOL", "code": "151", "geometry": { "type": "Point", "coordinates": [ 6.786456173418681, 53.43212271033828, 0.0 ] }, "organisation": { "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 130, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:57.109057Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://zuiderzeeland.lizard.net/api/v4/locations/82516903-9146-4d11-b73a-1ae5345ff531/?format=api", "uuid": "82516903-9146-4d11-b73a-1ae5345ff531", "name": "GIETERVEEN", "code": "152", "geometry": { "type": "Point", "coordinates": [ 6.83303099326455, 53.0271674373717, 0.0 ] }, "organisation": { "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 131, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:57.165064Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://zuiderzeeland.lizard.net/api/v4/locations/866308ce-d509-435c-90e7-fbc272375bab/?format=api", "uuid": "866308ce-d509-435c-90e7-fbc272375bab", "name": "WINSCHOTEN", "code": "153", "geometry": { "type": "Point", "coordinates": [ 7.045741653980505, 53.1322582917912, 0.0 ] }, "organisation": { "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 132, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:57.248356Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://zuiderzeeland.lizard.net/api/v4/locations/1d91982a-bd60-419b-bb4b-7ccd2b10a47e/?format=api", "uuid": "1d91982a-bd60-419b-bb4b-7ccd2b10a47e", "name": "EENRUM", "code": "154", "geometry": { "type": "Point", "coordinates": [ 6.468750065844406, 53.363509595505136, 0.0 ] }, "organisation": { "url": "https://zuiderzeeland.lizard.net/api/v4/organisations/18d98431-8077-451a-a7ae-041aac7ad148/?format=api", "uuid": "18d98431-8077-451a-a7ae-041aac7ad148", "name": "KNMI" }, "object": { "id": 133, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:57.312504Z", "last_modified": null, "last_modified_by": "" } ] }{ "count": 39907, "next": "