Docs
Contents

Flood risk

What it is

Flood hazard, exposure and risk by return period (T20, T100, T1000). The risk assessment itself, not just the extent.

The upstream service publishes no abstract for this layer.

At a glance

IDpt_agua_inundacao_risco
Records2,255
Size179.8 MB
GeometryMULTIPOLYGON, POLYGON
CRSEPSG:4326
Versionv/2026-08
Sourceapa
Upstream layerapa_geodocs:d312_apa_ar_2c_{risco,perigo,consequencia}_pc
LicenceCC-BY-4.0

Extent: -9.403255, 36.982732 → -7.177187, 42.082687

Download

curl -H "x-api-key: $GEOVIS_API_KEY" \
https://datos.geovis.es/v1/data/datasets/pt_agua_inundacao_risco/download

sha256 of this version:

3c28bf2a98db6d807431190f252b5bbbf426748c8361e7f418fd3524d2208689

Query it without downloading it

import duckdb
con = duckdb.connect(); con.execute("INSTALL spatial; LOAD spatial; INSTALL httpfs; LOAD httpfs;")
con.execute("SELECT count(*) FROM read_parquet('<url-firmada>')").fetchone()

Columns

Column names are kept exactly as the agency publishes them. They are not translated: renaming them would break traceability against the official source.

The literals below are the ones present in the data: they work as-is in a WHERE. Only columns with few distinct values are enumerated; for the rest, the count is given.

ColumnTypeFilledDistinctValues
rhidroVARCHAR100 %8PTRH5A · PTRH8 · PTRH3 · PTRH4A · PTRH1 · PTRH2 · PTRH6 · PTRH7
localVARCHAR100 %64
designaVARCHAR100 %63
riscoVARCHAR33.26 %5Muito Baixo · Alto · Médio · Baixo · Muito Alto
pretornoVARCHAR100 %3T0100 · T1000 · T0020
tipoVARCHAR100 %3perigosidade · risco · consequencia
perigoVARCHAR33.70 %5Muito Baixo · Baixo · Médio · Alto · Muito Alto
conseqVARCHAR33.04 %5Mínima · Máxima · Alta · Média · Reduzida
dt_codeVARCHAR100 %1308 · 13 · 11 · 16 · 10 · 15 · 03 · 01
_fuenteVARCHAR100 %1apa
_fecha_capturaDATE100 %12026-08-25
_fecha_edicionDATE100 %12026-08-22
_licenciaVARCHAR100 %1CC-BY-4.0
_atribucionVARCHAR100 %1Agência Portuguesa do Ambi
bboxSTRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE)100 %—
geometryGEOMETRY(‘EPSG:4326’)100 %—