Pressure Pipe Instance
List assets of type PressurePipe
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/pressurepipes/6499/?format=api
https://demo.lizard.net/api/v4/pressurepipes/6499/?format=api", "id": 6499, "code": "PL_262", "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" }, "geometry": { "type": "LineString", "coordinates": [ [ 4.776768232206658, 52.54587389437027, 0.0 ], [ 4.77676448937555, 52.54583540883768, 0.0 ], [ 4.776756647306161, 52.54537925537071, 0.0 ], [ 4.776742199728056, 52.544889095320315, 0.0 ], [ 4.776726150329943, 52.54440818405287, 0.0 ], [ 4.776718585770737, 52.543889389300574, 0.0 ], [ 4.776710297324158, 52.54335899694538, 0.0 ], [ 4.776700974124095, 52.54308456196883, 0.0 ], [ 4.776700197175958, 52.5430661336879, 0.0 ], [ 4.776693495010518, 52.543060437125625, 0.0 ], [ 4.776693491568905, 52.54305748922223, 0.0 ], [ 4.776692694655329, 52.5430032098745, 0.0 ], [ 4.776692456959601, 52.542952195848486, 0.0 ], [ 4.776692053872463, 52.54294297264511, 0.0 ], [ 4.776691905018606, 52.54293988019456, 0.0 ], [ 4.776691740199309, 52.54289531953654, 0.0 ], [ 4.776691548450636, 52.5428420498939, 0.0 ], [ 4.776691391192232, 52.542828909423264, 0.0 ], [ 4.776691537389905, 52.542658507988804, 0.0 ], [ 4.776688072573603, 52.542131106147785, 0.0 ], [ 4.776683628648373, 52.54156792911919, 0.0 ], [ 4.776683074663628, 52.54096864243048, 0.0 ], [ 4.776677938796132, 52.54042352649191, 0.0 ], [ 4.77666908146482, 52.539774496273324, 0.0 ], [ 4.776660244815443, 52.53920922923212, 0.0 ], [ 4.776640015883276, 52.53793317469562, 0.0 ], [ 4.776629668227245, 52.53728539468333, 0.0 ], [ 4.776622210532792, 52.53672705476008, 0.0 ], [ 4.776612449509238, 52.536143448125074, 0.0 ], [ 4.776605180253366, 52.53563543886547, 0.0 ], [ 4.776604186564115, 52.535099960159876, 0.0 ], [ 4.776601926661812, 52.53485845513579, 0.0 ] ] }, "last_modified": "2019-06-25T07:26:58.971073Z", "created": "2014-10-22T10:29:04.174358Z", "image_url": "", "length": null, "name": "", "type": "transport", "material": "", "diameter": null, "shape": "", "year_of_construction": null }{ "url": "