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
| ID | pt_agua_regioes_hidrograficas |
| Records | 8 |
| Size | 1.6 MB |
| Geometry | MULTIPOLYGON, POLYGON |
| CRS | EPSG:4326 |
| Version | v/2026-08 |
| Source | apa |
| Upstream layer | apa_geodocs:wise_vw_riverbasindistrict_ptcont |
| Licence | CC-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/downloadsha256 of this version:
27b3bd13396eca22fd303b384c672a61eed0f035f1ec700fdde6d967bf91fd6dQuery it without downloading it
import duckdbcon = 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.
| Column | Type | Filled | Distinct | Values |
|---|---|---|---|---|
codigo | VARCHAR | 100 % | 8 | PTRH1 · PTRH2 · PTRH3 · PTRH4A · PTRH5A · PTRH6 · PTRH7 · PTRH8 |
nome | VARCHAR | 100 % | 8 | Cá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_code | VARCHAR | 100 % | 7 | 02 · 03 · 04 · 06 · 08 · 14 · 16 |
_fuente | VARCHAR | 100 % | 1 | apa |
_fecha_captura | DATE | 100 % | 1 | 2026-08-25 |
_fecha_edicion | DATE | 100 % | 1 | 2026-08-22 |
_licencia | VARCHAR | 100 % | 1 | CC-BY-4.0 |
_atribucion | VARCHAR | 100 % | 1 | Agência Portuguesa do Ambi |
bbox | STRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE) | 100 % | — | |
geometry | GEOMETRY(‘EPSG:4326’) | 100 % | — |