Pump Station List
List assets of type PumpStation
Query parameters:
organisation
Filter by organisation. Supports lookups on uuid
and name
.
code
Exact filter on the code
field. The (case-sensitive) startswith
lookup is also supported.
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.
geometry
The following lookups are available: isnull
, contained
, contains
,
contains_properly
, covered_by
, covers
, crosses
, disjoint
,
equals
, intersects
, overlaps
, and within
.
Query geometries can be supplied as WKT, EWKT or HEXEWKB.
boundary__id:
Filter on geometry of the region/boundary with the id boundary__id
.
For a list of regions/boundaries, see the boundary endpoint /api/v4/boundaries/
boundary__code:
Filter on geometry of the region/boundary with the id boundary__code
.
For a list of regions/boundaries, see the boundary endpoint /api/v4/boundaries/
boundary__type:
Spatial filter on geometry
, whereby geometry is specified by a
region/boundary object (see below) and filter operator is
ST_Intersects. Available types are COUNTRY, PROVINCE, WATER_BOARD,
MUNICIPALITY, CATCHMENT, POLDER, FIXED_DRAINAGE_LEVEL_AREA,
PUMPED_DRAINAGE_AREA, MAIN_PUMPED_DRAINAGE_AREA, DISTRICT,
NEIGHBOURHOOD, CADASTRE, PLANTATION, FIELD, CITY, and CUSTOM
boundary__name:
Filter on name of the region/boundary with the name
boundary__name
. Requires boundary__type
.
For a list of regions/boundaries, see the boundary endpoint /api/v4/boundaries/
simplify: Simplify the query geometries (in WGS84) using this value as tolerance. A higher value may result in a better response time for detailed geometries. Defaults to 0.00001 degrees (approx. 1 meter). NB: Returned geometries are unaffected.
page_size
The number of results on a single page. Defaults to 10, maximum is 100.
Note that pagination is disabled for the root endpoint: the response
will be truncated to page_size
.
Custom route: search
Full-text search in 'code' and 'name' fields. Results are ranked.
Examples:
?code=ABC_2123
?code__startswith=ABC
?created__gte=2017-01-01T00:00:00Z
?last_modified__lt=2018-01-01T00:00:00Z
?organisation__name__startswith=Nelen
?organisation__uuid=61f5a464-c350-44c1-9bc7-d4b42d7f58cb
?organisation__name__icontains=Schuur
?geometry__intersects=POINT (5 52)
?boundary__id=198
?boundary__code=NL_GM0344
?boundary__type=PROVINCE&boundary__name=Utrecht
/search/abc/
GET /api/v4/pumpstations/?format=api&page=4
https://demo.lizard.net/api/v4/pumpstations/?format=api&page=5", "previous": "https://demo.lizard.net/api/v4/pumpstations/?format=api&page=3", "results": [ { "url": "https://demo.lizard.net/api/v4/pumpstations/4667/?format=api", "id": 4667, "code": "0_920072", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/?format=api", "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20", "name": "Dijk en Waard" }, "geometry": { "type": "Point", "coordinates": [ 4.818464140291785, 52.64652344948351, 0.0 ] }, "last_modified": "2020-02-23T12:47:06.670682Z", "created": "2014-10-06T15:37:14.356695Z", "image_url": "", "timeseries": [], "pumps": [], "type": "sewer", "name": "", "start_point": null, "end_point": null, "connection_serial": 1, "allowed_flow_direction": null, "capacity": 11.1, "start_level": -3.37, "stop_level": -3.47, "start_level_delivery_side": null, "stop_level_delivery_side": null }, { "url": "https://demo.lizard.net/api/v4/pumpstations/4668/?format=api", "id": 4668, "code": "0_920074", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/?format=api", "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20", "name": "Dijk en Waard" }, "geometry": { "type": "Point", "coordinates": [ 4.813072605798609, 52.651604971781595, 0.0 ] }, "last_modified": "2019-06-25T07:27:05.556049Z", "created": "2014-10-06T15:37:14.374502Z", "image_url": "", "timeseries": [], "pumps": [], "type": "sewer", "name": "", "start_point": null, "end_point": null, "connection_serial": 1, "allowed_flow_direction": null, "capacity": 11.1, "start_level": -4.07, "stop_level": -4.12, "start_level_delivery_side": null, "stop_level_delivery_side": null }, { "url": "https://demo.lizard.net/api/v4/pumpstations/4669/?format=api", "id": 4669, "code": "0_920075", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/?format=api", "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20", "name": "Dijk en Waard" }, "geometry": { "type": "Point", "coordinates": [ 4.813768149594048, 52.6506215327402, 0.0 ] }, "last_modified": "2020-02-23T12:47:06.424254Z", "created": "2014-10-06T15:37:14.392071Z", "image_url": "", "timeseries": [], "pumps": [], "type": "sewer", "name": "", "start_point": null, "end_point": null, "connection_serial": 1, "allowed_flow_direction": null, "capacity": 4.6, "start_level": -4.34, "stop_level": -4.61, "start_level_delivery_side": null, "stop_level_delivery_side": null }, { "url": "https://demo.lizard.net/api/v4/pumpstations/4670/?format=api", "id": 4670, "code": "0_920076", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/?format=api", "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20", "name": "Dijk en Waard" }, "geometry": { "type": "Point", "coordinates": [ 4.815042967550268, 52.64974782547504, 0.0 ] }, "last_modified": "2020-02-23T12:47:06.152957Z", "created": "2014-10-06T15:37:14.410034Z", "image_url": "", "timeseries": [], "pumps": [], "type": "sewer", "name": "", "start_point": null, "end_point": null, "connection_serial": 1, "allowed_flow_direction": null, "capacity": 11.1, "start_level": -4.38, "stop_level": -4.58, "start_level_delivery_side": null, "stop_level_delivery_side": null }, { "url": "https://demo.lizard.net/api/v4/pumpstations/4671/?format=api", "id": 4671, "code": "0_920077", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/?format=api", "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20", "name": "Dijk en Waard" }, "geometry": { "type": "Point", "coordinates": [ 4.817934275088274, 52.64784832467385, 0.0 ] }, "last_modified": "2020-02-23T12:47:04.891214Z", "created": "2014-10-06T15:37:14.427407Z", "image_url": "", "timeseries": [], "pumps": [], "type": "sewer", "name": "", "start_point": null, "end_point": null, "connection_serial": 1, "allowed_flow_direction": null, "capacity": 11.1, "start_level": -4.35, "stop_level": -4.55, "start_level_delivery_side": null, "stop_level_delivery_side": null }, { "url": "https://demo.lizard.net/api/v4/pumpstations/4672/?format=api", "id": 4672, "code": "0_920078", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/?format=api", "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20", "name": "Dijk en Waard" }, "geometry": { "type": "Point", "coordinates": [ 4.818931718499808, 52.647044246534506, 0.0 ] }, "last_modified": "2020-02-23T12:47:05.913128Z", "created": "2014-10-06T15:37:14.445456Z", "image_url": "", "timeseries": [], "pumps": [], "type": "sewer", "name": "", "start_point": null, "end_point": null, "connection_serial": 1, "allowed_flow_direction": null, "capacity": 11.1, "start_level": -4.4, "stop_level": -4.6, "start_level_delivery_side": null, "stop_level_delivery_side": null }, { "url": "https://demo.lizard.net/api/v4/pumpstations/4673/?format=api", "id": 4673, "code": "0_920141", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/?format=api", "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20", "name": "Dijk en Waard" }, "geometry": { "type": "Point", "coordinates": [ 4.823347335535048, 52.64342814154218, 0.0 ] }, "last_modified": "2020-02-23T12:47:05.133439Z", "created": "2014-10-06T15:37:14.469287Z", "image_url": "", "timeseries": [], "pumps": [], "type": "sewer", "name": "", "start_point": null, "end_point": null, "connection_serial": 2, "allowed_flow_direction": null, "capacity": 11.1, "start_level": -4.14, "stop_level": -4.29, "start_level_delivery_side": null, "stop_level_delivery_side": null }, { "url": "https://demo.lizard.net/api/v4/pumpstations/4674/?format=api", "id": 4674, "code": "0_920171", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/?format=api", "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20", "name": "Dijk en Waard" }, "geometry": { "type": "Point", "coordinates": [ 4.821351373846224, 52.64169581183688, 0.0 ] }, "last_modified": "2020-02-23T12:47:06.557663Z", "created": "2014-10-06T15:37:14.487112Z", "image_url": "", "timeseries": [], "pumps": [], "type": "sewer", "name": "", "start_point": null, "end_point": null, "connection_serial": 1, "allowed_flow_direction": null, "capacity": 4.7, "start_level": -4.0, "stop_level": -5.0, "start_level_delivery_side": null, "stop_level_delivery_side": null }, { "url": "https://demo.lizard.net/api/v4/pumpstations/4675/?format=api", "id": 4675, "code": "0_920188", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/?format=api", "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20", "name": "Dijk en Waard" }, "geometry": { "type": "Point", "coordinates": [ 4.824710731506379, 52.64391541405903, 0.0 ] }, "last_modified": "2019-06-25T07:27:05.556049Z", "created": "2014-10-06T15:37:14.504687Z", "image_url": "", "timeseries": [], "pumps": [], "type": "sewer", "name": "", "start_point": null, "end_point": null, "connection_serial": 1, "allowed_flow_direction": null, "capacity": 4.6, "start_level": -3.98, "stop_level": -4.13, "start_level_delivery_side": null, "stop_level_delivery_side": null }, { "url": "https://demo.lizard.net/api/v4/pumpstations/4676/?format=api", "id": 4676, "code": "0_920212", "organisation": { "url": "https://demo.lizard.net/api/v4/organisations/3472c5c5-256c-461a-92de-02c7de7b2d20/?format=api", "uuid": "3472c5c5-256c-461a-92de-02c7de7b2d20", "name": "Dijk en Waard" }, "geometry": { "type": "Point", "coordinates": [ 4.822505355812266, 52.64410447812227, 0.0 ] }, "last_modified": "2019-06-25T07:27:05.556049Z", "created": "2014-10-06T15:37:14.521838Z", "image_url": "", "timeseries": [], "pumps": [], "type": "sewer", "name": "", "start_point": null, "end_point": null, "connection_serial": 1, "allowed_flow_direction": null, "capacity": 6.4, "start_level": -5.06, "stop_level": -5.21, "start_level_delivery_side": null, "stop_level_delivery_side": null } ] }{ "count": 3136, "next": "