Docs
Contents

River basin districts

What it is

The eight river basin districts (RH1-RH8) under the Water Framework Directive.

The upstream service publishes no abstract for this layer.

At a glance

IDpt_agua_regioes_hidrograficas
Records8
Size1.6 MB
GeometryMULTIPOLYGON, POLYGON
CRSEPSG:4326
Versionv/2026-08
Sourceapa
Upstream layerapa_geodocs:wise_vw_riverbasindistrict_ptcont
LicenceCC-BY-4.0

Extent: -9.579708, 36.941224 → -6.189159, 42.154311

Download

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

sha256 of this version:

27b3bd13396eca22fd303b384c672a61eed0f035f1ec700fdde6d967bf91fd6d

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
codigoVARCHAR100 %8PTRH1 · PTRH2 · PTRH3 · PTRH4A · PTRH5A · PTRH6 · PTRH7 · PTRH8
nomeVARCHAR100 %8Cávado, Ave e Leça · Douro · Guadiana · Minho e Lima · Ribeiras do Algarve · Sado e Mira · Tejo e Ribeiras do Oeste · Vouga, Mondego e Lis
dt_codeVARCHAR100 %702 · 03 · 04 · 06 · 08 · 14 · 16
_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 %—