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=19
https://demo.lizard.net/api/v4/locations/?format=api&page=20", "previous": "https://demo.lizard.net/api/v4/locations/?format=api&page=18", "results": [ { "url": "https://demo.lizard.net/api/v4/locations/05f70f9c-07a1-4b16-bfaf-681c97c9e86f/?format=api", "uuid": "05f70f9c-07a1-4b16-bfaf-681c97c9e86f", "name": "WEST BEEMSTER", "code": "251", "geometry": { "type": "Point", "coordinates": [ 4.900284298493232, 52.585577565519486, 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": 167, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:59.326161Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/56d30158-26ba-4991-80c6-03ba360ff618/?format=api", "uuid": "56d30158-26ba-4991-80c6-03ba360ff618", "name": "KOLHORN", "code": "252", "geometry": { "type": "Point", "coordinates": [ 4.897988579736635, 52.79227052228609, 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": 168, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:59.384660Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/3f07c0c2-1b0c-458c-9905-315bdb19c95f/?format=api", "uuid": "3f07c0c2-1b0c-458c-9905-315bdb19c95f", "name": "OBDAM", "code": "255", "geometry": { "type": "Point", "coordinates": [ 4.884504405587372, 52.67538384221445, 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": 169, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:59.438487Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/382cbfd0-d21a-464a-a158-eccde453cab8/?format=api", "uuid": "382cbfd0-d21a-464a-a158-eccde453cab8", "name": "MARKEN", "code": "256", "geometry": { "type": "Point", "coordinates": [ 5.122364152321478, 52.46045767491545, 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": 170, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:59.491588Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/0d3286c9-72bd-4860-a696-e34ccea98372/?format=api", "uuid": "0d3286c9-72bd-4860-a696-e34ccea98372", "name": "HOOGWOUD", "code": "257", "geometry": { "type": "Point", "coordinates": [ 4.957902227956165, 52.729593284973085, 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": 171, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:59.538448Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/9bb4b5c1-b99a-4c43-a3ea-bc41dd7557aa/?format=api", "uuid": "9bb4b5c1-b99a-4c43-a3ea-bc41dd7557aa", "name": "STEENWIJKSMOER", "code": "298", "geometry": { "type": "Point", "coordinates": [ 6.67313369887811, 52.6605039464534, 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": 172, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:59.602519Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/41388ce8-27c7-45d5-9325-bd21d03b9142/?format=api", "uuid": "41388ce8-27c7-45d5-9325-bd21d03b9142", "name": "MARKNESSE", "code": "317", "geometry": { "type": "Point", "coordinates": [ 5.890215209964601, 52.7023423484661, 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": 173, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:59.651463Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/666c277a-e123-4d64-8edd-e0e5e5d7025a/?format=api", "uuid": "666c277a-e123-4d64-8edd-e0e5e5d7025a", "name": "LAAGHALEN", "code": "323", "geometry": { "type": "Point", "coordinates": [ 6.532149560191989, 52.9225818673947, 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": 174, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:59.726111Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/f407b125-3110-47b9-8328-f9d63dae121a/?format=api", "uuid": "f407b125-3110-47b9-8328-f9d63dae121a", "name": "FREDERIKSOORD", "code": "326", "geometry": { "type": "Point", "coordinates": [ 6.188706870318534, 52.84449959625963, 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": 175, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:59.806206Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/55b12f7e-1571-44d1-88be-71ab2044f4be/?format=api", "uuid": "55b12f7e-1571-44d1-88be-71ab2044f4be", "name": "DWINGELOO", "code": "327", "geometry": { "type": "Point", "coordinates": [ 6.410894655466258, 52.82482475019929, 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": 176, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:46:59.852482Z", "last_modified": null, "last_modified_by": "" } ] }{ "count": 59876, "next": "