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=4
https://demo.lizard.net/api/v4/locations/?format=api&page=5", "previous": "https://demo.lizard.net/api/v4/locations/?format=api&page=3", "results": [ { "url": "https://demo.lizard.net/api/v4/locations/6b3bff08-8db9-4782-9e23-3d4c67e18094/?format=api", "uuid": "6b3bff08-8db9-4782-9e23-3d4c67e18094", "name": "Egmond, boezempeil", "code": "963_peil", "geometry": { "type": "Point", "coordinates": [ 4.667605635303896, 52.62379496235113, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api", "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb", "name": "Hoogheemraadschap Hollands Noorderkwartier" }, "object": { "id": 203685, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:40.270839Z", "last_modified": "2022-01-18T07:39:05.052111Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/92dff793-b6d1-47ba-9e42-c25dff7c1e33/?format=api", "uuid": "92dff793-b6d1-47ba-9e42-c25dff7c1e33", "name": "Haukes, Amstelmeerboezem", "code": "KSL-Q-34184_Amstl", "geometry": { "type": "Point", "coordinates": [ 4.932160137099152, 52.88341486546471, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api", "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb", "name": "Hoogheemraadschap Hollands Noorderkwartier" }, "object": { "id": 203673, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:40.550343Z", "last_modified": "2022-01-18T07:38:54.304207Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/abc6840e-a343-4b6c-ba2b-5a54ee2a095f/?format=api", "uuid": "abc6840e-a343-4b6c-ba2b-5a54ee2a095f", "name": "Jisp", "code": "958", "geometry": { "type": "Point", "coordinates": [ 4.847273750332231, 52.50802089875109, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api", "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb", "name": "Hoogheemraadschap Hollands Noorderkwartier" }, "object": { "id": 203684, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:40.800843Z", "last_modified": "2022-01-18T07:38:59.482985Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/8a133ab9-ff4d-4dab-b650-4fe806d1a3b1/?format=api", "uuid": "8a133ab9-ff4d-4dab-b650-4fe806d1a3b1", "name": "Kleinevliet", "code": "905", "geometry": { "type": "Point", "coordinates": [ 5.119047068980194, 52.75504850314046, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api", "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb", "name": "Hoogheemraadschap Hollands Noorderkwartier" }, "object": { "id": 203680, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:41.032595Z", "last_modified": "2022-01-18T07:38:01.504031Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/25135f0d-76f5-4572-97da-59ae860dc390/?format=api", "uuid": "25135f0d-76f5-4572-97da-59ae860dc390", "name": "Kleiweg 3 aanvoer 2, instroom", "code": "908_in", "geometry": { "type": "Point", "coordinates": [ 4.848999043459778, 52.86876212911404, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api", "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb", "name": "Hoogheemraadschap Hollands Noorderkwartier" }, "object": { "id": 203681, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:41.302623Z", "last_modified": "2022-01-18T08:22:12.430006Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/c693fe79-4dd7-40bb-a9e4-539dd58eb861/?format=api", "uuid": "c693fe79-4dd7-40bb-a9e4-539dd58eb861", "name": "Koog-3 (hist 2014)", "code": "MOB_MP2", "geometry": { "type": "Point", "coordinates": [ 4.97221203001872, 52.52474493799919, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api", "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb", "name": "Hoogheemraadschap Hollands Noorderkwartier" }, "object": { "id": 203687, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:41.469206Z", "last_modified": "2022-01-18T07:37:51.931821Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/b73e47b3-3795-4bdb-a9b9-ab9e3d280796/?format=api", "uuid": "b73e47b3-3795-4bdb-a9b9-ab9e3d280796", "name": "Krul Mijzen", "code": "80", "geometry": { "type": "Point", "coordinates": [ 4.901458877698114, 52.60886836673729, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api", "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb", "name": "Hoogheemraadschap Hollands Noorderkwartier" }, "object": { "id": 203677, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:41.548996Z", "last_modified": "2022-01-18T07:35:19.642951Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/0879fe06-1ee8-4cc2-ab41-f5a9bd915753/?format=api", "uuid": "0879fe06-1ee8-4cc2-ab41-f5a9bd915753", "name": "MP13 Purmerdijk-Fenixlaantje (hist)", "code": "MOB_MP_13-2", "geometry": { "type": "Point", "coordinates": [ 4.981177750250534, 52.50973196193367, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api", "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb", "name": "Hoogheemraadschap Hollands Noorderkwartier" }, "object": { "id": 203713, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:41.730765Z", "last_modified": "2022-01-18T07:38:47.303032Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/fecc3818-e582-4984-8f66-bb4ed603c1e5/?format=api", "uuid": "fecc3818-e582-4984-8f66-bb4ed603c1e5", "name": "MP14 Hofweg 15 (hist)", "code": "MOB_MP_14-2", "geometry": { "type": "Point", "coordinates": [ 4.978062755900062, 52.46912499333721, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api", "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb", "name": "Hoogheemraadschap Hollands Noorderkwartier" }, "object": { "id": 203716, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:41.913616Z", "last_modified": "2022-01-18T07:37:36.004684Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/bbc8554b-ab16-45ce-a85a-a02300203d25/?format=api", "uuid": "bbc8554b-ab16-45ce-a85a-a02300203d25", "name": "MP15 Westerweg, brug Speulderbos (hist 2014)", "code": "MOB_MP_15-2", "geometry": { "type": "Point", "coordinates": [ 4.980194104312991, 52.49018994368803, 0.0 ] }, "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/474afd21-2f2e-4b4f-8261-5142f1d67acb/?format=api", "uuid": "474afd21-2f2e-4b4f-8261-5142f1d67acb", "name": "Hoogheemraadschap Hollands Noorderkwartier" }, "object": { "id": 203718, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:41.958325Z", "last_modified": "2022-01-18T07:38:34.501125Z", "last_modified_by": "" } ] }{ "count": 59876, "next": "