River basins
What it is
Sub-basins by water body.
The upstream service publishes no abstract for this layer.
At a glance
| ID | pt_agua_bacias_hidrograficas |
| Records | 1,805 |
| Size | 19.8 MB |
| Geometry | MULTIPOLYGON, POLYGON |
| CRS | EPSG:4326 |
| Version | v/2026-08 |
| Source | apa |
| Upstream layer | apa_geodocs:wise_vw_surfacewaterbody_basin_ptcont |
| Licence | CC-BY-4.0 |
Extent: -9.579708, 36.941224 → -6.157064, 42.168785
Download
curl -H "x-api-key: $GEOVIS_API_KEY" \ https://datos.geovis.es/v1/data/datasets/pt_agua_bacias_hidrograficas/downloadsha256 of this version:
739041f2d1d585ba3b7f868b6a78ca2c4bdf15a636c97e27f7bc93fe021fa11eQuery 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 % | 1,805 | |
nome | VARCHAR | 100 % | 1,461 | |
regiao_hid | VARCHAR | 100 % | 8 | R.H. Tejo e Ribeiras do Oe · R.H. Douro · R.H. Guadiana · R.H. Sado e Mira · R.H. Vouga. Mondego e Lis · R.H. Cávado, Ave e Leça · R.H. Ribeiras do Algarve · R.H. Minho e Lima |
categoria | VARCHAR | 100 % | 4 | RIO · RIO (ALBUFEIRA) · TRANSICAO · COSTEIRA |
natur_fm_a | VARCHAR | 100 % | 3 | Natural · Fortemente modificada · Artificial |
transfront | VARCHAR | 100 % | 2 | Não · Sim |
est_pot_ec | VARCHAR | 100 % | 6 | Bom · Razoável · Medíocre · Mau · Excelente · Desconhecido |
estado_qui | VARCHAR | 100 % | 3 | Desconhecido · Bom · Insuficiente |
dt_code | VARCHAR | 100 % | 18 | |
_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 % | — |