River network
What it is
The 101,231 reaches of the national river network, with Strahler order and length.
The upstream service publishes no abstract for this layer.
At a glance
| ID | pt_agua_rede_hidrografica |
| Records | 101,231 |
| Size | 30.5 MB |
| Geometry | LINESTRING |
| CRS | EPSG:4326 |
| Version | v/2026-08 |
| Source | apa |
| Upstream layer | apa_geodocs:netElementL |
| Licence | CC-BY-4.0 |
Extent: -9.497171, 37.013794 → -5.813851, 42.566706
Download
curl -H "x-api-key: $GEOVIS_API_KEY" \ https://datos.geovis.es/v1/data/datasets/pt_agua_rede_hidrografica/downloadsha256 of this version:
e3818c4d0dcc917f1369c8a726d0562f254e8351a4f2d7a3945e8265bea7c962Query 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 |
|---|---|---|---|---|
ifcid | BIGINT | 100 % | 101,231 | Range: 2056 → 103286 |
beginlif_1 | INTEGER | 100 % | 1 | 0 |
id_localid | VARCHAR | 100 % | 47,475 | |
id_namespa | VARCHAR | 100 % | 1 | PT |
id_versi_1 | INTEGER | 100 % | 1 | 0 |
endlifes_1 | INTEGER | 100 % | 1 | 0 |
innet_void | INTEGER | 100 % | 1 | 0 |
fictitious | INTEGER | 100 % | 1 | 0 |
endnode | BIGINT | 100 % | 50,780 | Range: 6 → 101697 |
startnode | BIGINT | 100 % | 101,231 | Range: 1 → 101696 |
name_void | INTEGER | 100 % | 1 | 0 |
hyid_void | INTEGER | 100 % | 1 | 0 |
flowdirect | VARCHAR | 100 % | 1 | inDirection |
flowdire_1 | VARCHAR | 100 % | 1 | http://inspire.ec.europa.e |
flowdire_2 | INTEGER | 100 % | 1 | 0 |
length_ | DOUBLE | 100 % | 1 | 0.0 |
length_voi | INTEGER | 100 % | 1 | 0 |
validfrom_ | INTEGER | 100 % | 1 | 0 |
validto_vo | INTEGER | 100 % | 1 | 0 |
cableway_2 | INTEGER | 100 % | 1 | 0 |
designat_1 | INTEGER | 100 % | 1 | 0 |
airroute_2 | INTEGER | 100 % | 1 | 0 |
stype | BIGINT | 100 % | 1 | 54 |
from_node | BIGINT | 100 % | 101,231 | Range: 1 → 101696 |
to_node | BIGINT | 100 % | 50,780 | Range: 6 → 101697 |
nextdownid | BIGINT | 100 % | 50,315 | Range: 0 → 101218 |
hydroid | BIGINT | 100 % | 101,231 | Range: 1 → 101231 |
featureid | BIGINT | 100 % | 101,231 | Range: 1 → 101231 |
fnodefa | DOUBLE | 100 % | 37,911 | Range: 1000.0 → 155803700.0 |
tnodefa | DOUBLE | 100 % | 40,009 | Range: 1000.0 → 155806400.0 |
riverrk | INTEGER | 100 % | 10 | 3 · 4 · 2 · 5 · 1 · 6 · 0 · 7 |
streamorde | VARCHAR | 100 % | 8 | 1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 |
streamor_1 | VARCHAR | 100 % | 1 | Strahler |
streamor_2 | VARCHAR | 100 % | 1 | Portugal |
dt_code | VARCHAR | 100 % | 18 | |
dt_aprox | BOOLEAN | 100 % | 2 | false · true |
_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 % | — |