Connect GIS software, scripts and applications directly to the Climate Risk Database.
Every public dataset in the Climate Risk Database is also available through open standards (OGC) web services and a REST API, so you can load it in QGIS or ArcGIS, script downloads, or build your own applications. Access follows the same permissions as the website: sign in or use an API key to reach restricted data.
| Service | Use it for | Address |
|---|---|---|
| WMS 1.3.0 | Map images (view layers in GIS or web maps) | https://crd.resilienceacademy.ac.tz/geoserver/ows?service=WMS&request=GetCapabilities |
| WFS 2.0.0 | Vector features (download or query) | https://crd.resilienceacademy.ac.tz/geoserver/ows?service=WFS&request=GetCapabilities |
| WCS 2.0.1 | Raster coverages (download grids) | https://crd.resilienceacademy.ac.tz/geoserver/ows?service=WCS&request=GetCapabilities |
| WMTS 1.0.0 | Cached map tiles (fast background layers) | https://crd.resilienceacademy.ac.tz/geoserver/gwc/service/wmts?service=WMTS&request=GetCapabilities |
| CSW 2.0.2 | Metadata catalogue search | https://crd.resilienceacademy.ac.tz/catalogue/csw?service=CSW&version=2.0.2&request=GetCapabilities |
| OpenSearch | Simple keyword search of the catalogue | https://crd.resilienceacademy.ac.tz/catalogue/csw?mode=opensearch&service=CSW&version=2.0.2&request=GetCapabilities |
| OAI-PMH 2.0 | Metadata harvesting by other catalogues | https://crd.resilienceacademy.ac.tz/catalogue/csw?mode=oaipmh&verb=Identify |
| REST API v2 | Resources, metadata, users and groups as JSON | https://crd.resilienceacademy.ac.tz/api/v2/ |
geonode:dataset_name – you can find them on each dataset’s page.from owslib.csw import CatalogueServiceWeb
from owslib.fes import PropertyIsLike
csw = CatalogueServiceWeb("https://crd.resilienceacademy.ac.tz/catalogue/csw")
csw.getrecords2(constraints=[PropertyIsLike("csw:AnyText", "%flood%")], maxrecords=20)
for record in csw.records.values():
print(record.title)
Ask the WFS for a layer in the format you need – replace dataset_name with the layer name from the dataset page:
https://crd.resilienceacademy.ac.tz/geoserver/ows?service=WFS&version=2.0.0&request=GetFeature&typeNames=geonode:dataset_name&outputFormat=application/json
Other useful formats: SHAPE-ZIP, csv, GML3. Add &srsName=EPSG:4326 to get longitude/latitude coordinates.
curl "https://crd.resilienceacademy.ac.tz/api/v2/datasets?page_size=10&search=flood"
Responses are JSON with each resource’s title, abstract, owner, extent, links and download URLs. The same endpoints exist for maps, documents and resources (all types).
The CRD runs on GeoNode, GeoServer and pycsw. Our own code is on GitHub.