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=21
https://demo.lizard.net/api/v4/locations/?format=api&page=22", "previous": "https://demo.lizard.net/api/v4/locations/?format=api&page=20", "results": [ { "url": "https://demo.lizard.net/api/v4/locations/3566de69-ae87-4c3c-8529-1293e32de631/?format=api", "uuid": "3566de69-ae87-4c3c-8529-1293e32de631", "name": "RHEEZERVEEN", "code": "339", "geometry": { "type": "Point", "coordinates": [ 6.567038098691118, 52.562736948998214, 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": 187, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:00.341432Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/5e7823f9-11c8-4e8a-a227-60be9b6ae920/?format=api", "uuid": "5e7823f9-11c8-4e8a-a227-60be9b6ae920", "name": "HEINO", "code": "340", "geometry": { "type": "Point", "coordinates": [ 6.269601879029186, 52.43949164025328, 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": 188, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:00.375818Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/89c26873-afef-4e92-bcb3-84075a72d798/?format=api", "uuid": "89c26873-afef-4e92-bcb3-84075a72d798", "name": "ZWEELOO", "code": "341", "geometry": { "type": "Point", "coordinates": [ 6.736380178031133, 52.79462201703052, 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": 189, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:00.403266Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/4e48078f-6659-4d7b-b6cb-0c8d9968a861/?format=api", "uuid": "4e48078f-6659-4d7b-b6cb-0c8d9968a861", "name": "VILSTEREN", "code": "342", "geometry": { "type": "Point", "coordinates": [ 6.359805994669931, 52.52866461407096, 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": 190, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:00.431875Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/f222bf5d-c5e2-4a85-9b51-0d8c0425db01/?format=api", "uuid": "f222bf5d-c5e2-4a85-9b51-0d8c0425db01", "name": "SCHOONEBEEK", "code": "343", "geometry": { "type": "Point", "coordinates": [ 6.895702149526771, 52.68485318428734, 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": 191, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:00.470192Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/ef519a18-fd4c-400d-9c60-4cd501ea4a47/?format=api", "uuid": "ef519a18-fd4c-400d-9c60-4cd501ea4a47", "name": "TOLLEBEEK", "code": "344", "geometry": { "type": "Point", "coordinates": [ 5.623725657847463, 52.66722293802678, 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": 192, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:00.499519Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/eca76a09-cc06-462c-9b8c-976c0e4b971f/?format=api", "uuid": "eca76a09-cc06-462c-9b8c-976c0e4b971f", "name": "VROOMSHOOP", "code": "345", "geometry": { "type": "Point", "coordinates": [ 6.579111400641555, 52.46374670955953, 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": 193, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:00.527361Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/f5e01a90-463d-4823-99d8-a1b6ecccfed4/?format=api", "uuid": "f5e01a90-463d-4823-99d8-a1b6ecccfed4", "name": "EMMELOORD", "code": "348", "geometry": { "type": "Point", "coordinates": [ 5.771941736331459, 52.711770648182416, 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": 194, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:00.559503Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/ec719509-e885-4f1a-b699-c8c617bbe504/?format=api", "uuid": "ec719509-e885-4f1a-b699-c8c617bbe504", "name": "KLAZIE VEEN", "code": "349", "geometry": { "type": "Point", "coordinates": [ 7.001169375238244, 52.73739936950914, 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": 195, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:00.591031Z", "last_modified": null, "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/26ef3f29-445d-4274-9d97-6640c2ab6489/?format=api", "uuid": "26ef3f29-445d-4274-9d97-6640c2ab6489", "name": "ELBURG", "code": "350", "geometry": { "type": "Point", "coordinates": [ 5.828422064475335, 52.44195632066207, 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": 196, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T13:47:00.632164Z", "last_modified": null, "last_modified_by": "" } ] }{ "count": 59876, "next": "