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=5
https://demo.lizard.net/api/v4/locations/?format=api&page=6", "previous": "https://demo.lizard.net/api/v4/locations/?format=api&page=4", "results": [ { "url": "https://demo.lizard.net/api/v4/locations/efbad270-760a-437b-9657-baf2a2ef7a6a/?format=api", "uuid": "efbad270-760a-437b-9657-baf2a2ef7a6a", "name": "MP3 Purmerdijk-Oosterweg 18 (hist)", "code": "MOB_MP3-2", "geometry": { "type": "Point", "coordinates": [ 5.030060864540099, 52.49399942425707, 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": 203689, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:42.030710Z", "last_modified": "2022-01-18T07:39:19.805557Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/ecaa1faa-bacf-48f4-92af-06e12ab130f6/?format=api", "uuid": "ecaa1faa-bacf-48f4-92af-06e12ab130f6", "name": "MP8 Hofweg 4 (hist)", "code": "MOB_MP_8-2", "geometry": { "type": "Point", "coordinates": [ 4.959105089278613, 52.46638879172046, 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": 203698, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:42.091643Z", "last_modified": "2022-01-18T07:37:39.712458Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/23267725-f147-4ee5-99f1-e5137be39f72/?format=api", "uuid": "23267725-f147-4ee5-99f1-e5137be39f72", "name": "MP9 Purmerdijk-Oosterweg 16 (hist)", "code": "MOB_MP_9-2", "geometry": { "type": "Point", "coordinates": [ 5.013333796538497, 52.47657518932333, 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": 203702, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:42.142256Z", "last_modified": "2022-01-18T08:01:27.718899Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/13b8a1f5-34a2-4e4b-99f9-a083a8e549e4/?format=api", "uuid": "13b8a1f5-34a2-4e4b-99f9-a083a8e549e4", "name": "Meetpunt SAS", "code": "957", "geometry": { "type": "Point", "coordinates": [ 5.293177784676041, 52.700035001826386, 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": 203683, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:42.217679Z", "last_modified": "2022-01-18T08:26:16.941344Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/eaa6b3a6-9a2f-4afb-a1d5-277aecf193c1/?format=api", "uuid": "eaa6b3a6-9a2f-4afb-a1d5-277aecf193c1", "name": "Oudelandertocht", "code": "422", "geometry": { "type": "Point", "coordinates": [ 4.962727451283587, 52.76946742922268, 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": 203675, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:42.479155Z", "last_modified": "2022-01-18T07:37:51.319189Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/2736e8a8-3a57-4c99-acfa-4a49fd51f419/?format=api", "uuid": "2736e8a8-3a57-4c99-acfa-4a49fd51f419", "name": "Overwhere-1", "code": "MOB_MP4", "geometry": { "type": "Point", "coordinates": [ 4.965742859262281, 52.51800767122532, 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": 203691, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:42.706880Z", "last_modified": "2022-01-18T07:56:33.546322Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/bee4002d-745f-4c11-bfb3-1bef02edfa2f/?format=api", "uuid": "bee4002d-745f-4c11-bfb3-1bef02edfa2f", "name": "Peilmeter 19 Overwhere (hist)", "code": "MOB_MP11", "geometry": { "type": "Point", "coordinates": [ 4.970849971421618, 52.51433187859928, 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": 203708, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:42.933251Z", "last_modified": "2022-01-18T07:37:58.127717Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/c5c3f936-83fd-47bf-8242-af34b952822d/?format=api", "uuid": "c5c3f936-83fd-47bf-8242-af34b952822d", "name": "Peilmeter 20 Purmer Stedelijk", "code": "MOB_MP5", "geometry": { "type": "Point", "coordinates": [ 4.970205132508402, 52.49540571553817, 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": 203692, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:43.146167Z", "last_modified": "2022-01-18T07:39:33.169260Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/8583d8d5-ee9d-4834-b11b-068ebed5cb92/?format=api", "uuid": "8583d8d5-ee9d-4834-b11b-068ebed5cb92", "name": "Peilmeter 21 De Gors (hist)", "code": "MOB_MP6", "geometry": { "type": "Point", "coordinates": [ 4.952396689435783, 52.499431073178094, 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": 203694, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:43.314647Z", "last_modified": "2022-01-18T07:52:52.143524Z", "last_modified_by": "" }, { "url": "https://demo.lizard.net/api/v4/locations/5bdee930-44de-4090-823d-8ff84f2e5d76/?format=api", "uuid": "5bdee930-44de-4090-823d-8ff84f2e5d76", "name": "Peilmeter 22 Gemaal Hazepolder", "code": "MOB_MP7", "geometry": { "type": "Point", "coordinates": [ 4.936769258113539, 52.51095577749492, 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": 203695, "type": "measuringstation" }, "access_modifier": "Public", "extra_metadata": {}, "created": "2014-11-05T10:28:43.405438Z", "last_modified": "2022-01-18T08:26:53.442404Z", "last_modified_by": "" } ] }{ "count": 59876, "next": "