Docs
Contents

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

IDpt_ambiente_habitats
Records21,105
Size20.3 MB
GeometryMULTIPOLYGON
CRSEPSG:4326
Versionv/2026-08
Sourceicnf
Upstream layerBDG:psrn2000_habitats_nacional
LicenceCC-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/download

sha256 of this version:

64c1eb77b560e45b2a86e86686eb9935c7ced104f3a9fe07fed5e6658cc29e6b

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
site_codeVARCHAR100 %58
site_nameVARCHAR100 %58
cod_hab_n1VARCHAR100 %99 · 6 · 1 · 3 · 4 · 8 · 5 · 2
habitat_n1VARCHAR100 %9Florestas · 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_n2VARCHAR100 %26
habitat_n2VARCHAR100 %26
cod_hab_n3VARCHAR100 %84
habitat_n3VARCHAR99.93 %81
area_haDOUBLE100 %11,958Range: 0.0 → 37831.3314
dt_codeVARCHAR100 %18
dt_aproxBOOLEAN100 %2false · true
_fuenteVARCHAR100 %1icnf
_fecha_capturaDATE100 %12026-08-25
_fecha_edicionDATE100 %12026-08-21
_licenciaVARCHAR100 %1CC-BY-4.0
_atribucionVARCHAR100 %1ICNF — Instituto da Conser
bboxSTRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE)100 %—
geometryGEOMETRY(‘EPSG:4326’)100 %—