Docs
Contents

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

IDpt_territorial_cos
Records1,104,426
Size798.1 MB
GeometryMULTIPOLYGON
CRSEPSG:4326
Versionv/2026-08
Sourcedgt_caop
Upstream layerdgt_ogc:cos2025v1
LicenceCC-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/download

sha256 of this version:

ea5b788fc76ff7792ddb2cd0f1cac6c1faebd19485292354ed0541d40df47abf

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
cos25v1_n4_cVARCHAR100 %102
cos25v1_n4_lVARCHAR100 %102
cos25v1_n3_cVARCHAR100 %49
cos25v1_n3_lVARCHAR100 %49
cos25v1_n2_cVARCHAR100 %22
cos25v1_n2_lVARCHAR100 %22
cos25v1_n1_cVARCHAR100 %95 · 2 · 1 · 6 · 3 · 4 · 9 · 7
cos25v1_n1_lVARCHAR100 %9Florestas · Agricultura · Territórios artificializad · Matos · Pastagens · Superfícies agroflorestais · Massas de água superficiai · Espaços descobertos ou com
Area_haDOUBLE100 %1,104,422Range: 0.4445116622549488 → 2107183.5591719174
dt_codeVARCHAR100 %18
dt_aproxBOOLEAN100 %2false · true
_fuenteVARCHAR100 %1dgt_caop
_fecha_capturaDATE100 %12026-08-25
_fecha_edicionDATE100 %12026-08-22
_licenciaVARCHAR100 %1CC-BY-4.0
_atribucionVARCHAR100 %1Informação geográfica cedi
bboxSTRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE)100 %—
geometryGEOMETRY(‘EPSG:4326’)100 %—