An endpoint for searching assets, wms and raster layers, scenario's, etc.

Query parameters

q : Full-text search filter. Should at least contain two characters.

in_bbox : Comma-separated string of a bounding box, of the form "xmin,ymin,xmax,ymax".

dist : Distance in meters.

point : Point geometry (either WKT or GeoJSON).

srid : Spatial Reference System Identifier, e.g. 4326 for WGS84.

type : Comma-seperated list of entity types. Currently the only way to search for layer metadata is by explicitly requesting those entities: type= rasterstore,scenario,assetlayer. It may also be used to limit search results to specific types, i.e. type=levees.

exclude : Comma-seperated list of exclude terms. Results are excluded if the url of the resource contains a term.

Examples

?q=water

?type=assetgroup,eventseries

?exclude=ef34gh3

?q=water&in_bbox=4.6,52.1,5.2,52.5&srid=4326

?q=water&point=POINT (5 53)&dist=10000
GET /api/v4/search/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 0,
    "next": null,
    "previous": null,
    "results": []
}