Natura 2000 habitats
What it is
Natural and semi-natural habitats within Natura 2000, with habitat code and site.
The upstream service publishes no abstract for this layer.
At a glance
| ID | pt_ambiente_habitats |
| Records | 21,105 |
| Size | 20.3 MB |
| Geometry | MULTIPOLYGON |
| CRS | EPSG:4326 |
| Version | v/2026-08 |
| Source | icnf |
| Upstream layer | BDG:psrn2000_habitats_nacional |
| Licence | CC-BY-4.0 |
Extent: -9.548387, 36.962939 → -6.189854, 42.154014
Download
curl -H "x-api-key: $GEOVIS_API_KEY" \ https://datos.geovis.es/v1/data/datasets/pt_ambiente_habitats/downloadsha256 of this version:
64c1eb77b560e45b2a86e86686eb9935c7ced104f3a9fe07fed5e6658cc29e6bQuery 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 |
|---|---|---|---|---|
site_code | VARCHAR | 100 % | 58 | |
site_name | VARCHAR | 100 % | 58 | |
cod_hab_n1 | VARCHAR | 100 % | 9 | 9 · 6 · 1 · 3 · 4 · 8 · 5 · 2 |
habitat_n1 | VARCHAR | 100 % | 9 | Florestas · Formações herbáceas natura · Habitats costeiros e veget · Habitats de água doce · Charnecas e matos das zona · Habitats rochosos e grutas · Matos esclerófilos · Dunas marítimas e interior |
cod_hab_n2 | VARCHAR | 100 % | 26 | |
habitat_n2 | VARCHAR | 100 % | 26 | |
cod_hab_n3 | VARCHAR | 100 % | 84 | |
habitat_n3 | VARCHAR | 99.93 % | 81 | |
area_ha | DOUBLE | 100 % | 11,958 | Range: 0.0 → 37831.3314 |
dt_code | VARCHAR | 100 % | 18 | |
dt_aprox | BOOLEAN | 100 % | 2 | false · true |
_fuente | VARCHAR | 100 % | 1 | icnf |
_fecha_captura | DATE | 100 % | 1 | 2026-08-25 |
_fecha_edicion | DATE | 100 % | 1 | 2026-08-21 |
_licencia | VARCHAR | 100 % | 1 | CC-BY-4.0 |
_atribucion | VARCHAR | 100 % | 1 | ICNF — Instituto da Conser |
bbox | STRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE) | 100 % | — | |
geometry | GEOMETRY(‘EPSG:4326’) | 100 % | — |