Land cover and use (COS 2025)
What it is
1,104,426 land-cover polygons with four nomenclature levels, from the coarsest (artificial, agricultural, forest, shrubland, water) to the finest. The layer that says what is on the ground today. ⚠ It includes one «Oceano» polygon (9.3.4.1) of 21,072 km²: summing Area_ha without excluding it gives 110,349 km² instead of the 89,277 of mainland Portugal. ⚠ The level-4 code uses dots (1.1.1.1) while levels 1-3 do not (1, 11, 111): strip the dots to join them.
According to the publishing agency
Official text, in Portuguese, exactly as the upstream service publishes it:
COS2025v1-S2 Carta de Uso e Ocupação do Solo (COS) 2025 - Série 2 (nova)
At a glance
| ID | pt_territorial_cos |
| Records | 1,104,426 |
| Size | 798.1 MB |
| Geometry | MULTIPOLYGON |
| CRS | EPSG:4326 |
| Version | v/2026-08 |
| Source | dgt_caop |
| Upstream layer | dgt_ogc:cos2025v1 |
| Licence | CC-BY-4.0 |
Extent: -9.792798, 36.730845 → -6.189159, 42.154311
Download
curl -H "x-api-key: $GEOVIS_API_KEY" \ https://datos.geovis.es/v1/data/datasets/pt_territorial_cos/downloadsha256 of this version:
ea5b788fc76ff7792ddb2cd0f1cac6c1faebd19485292354ed0541d40df47abfQuery 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 |
|---|---|---|---|---|
cos25v1_n4_c | VARCHAR | 100 % | 102 | |
cos25v1_n4_l | VARCHAR | 100 % | 102 | |
cos25v1_n3_c | VARCHAR | 100 % | 49 | |
cos25v1_n3_l | VARCHAR | 100 % | 49 | |
cos25v1_n2_c | VARCHAR | 100 % | 22 | |
cos25v1_n2_l | VARCHAR | 100 % | 22 | |
cos25v1_n1_c | VARCHAR | 100 % | 9 | 5 · 2 · 1 · 6 · 3 · 4 · 9 · 7 |
cos25v1_n1_l | VARCHAR | 100 % | 9 | Florestas · Agricultura · Territórios artificializad · Matos · Pastagens · Superfícies agroflorestais · Massas de água superficiai · Espaços descobertos ou com |
Area_ha | DOUBLE | 100 % | 1,104,422 | Range: 0.4445116622549488 → 2107183.5591719174 |
dt_code | VARCHAR | 100 % | 18 | |
dt_aprox | BOOLEAN | 100 % | 2 | false · true |
_fuente | VARCHAR | 100 % | 1 | dgt_caop |
_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 | Informação geográfica cedi |
bbox | STRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE) | 100 % | — | |
geometry | GEOMETRY(‘EPSG:4326’) | 100 % | — |