Docs
Contents

Census on a 250 m grid

What it is

63,130 250 m cells with total population, density and a breakdown by sex — the finest demographic resolution in the catalogue.

⚠ The source applies a statistical floor of 5: 77 % of records sit exactly there for confidentiality, so a cell is an interval rather than an exact number. Both bounds (pob, pob_min) and the count of affected components (n_suelo) are published, so the client decides how to handle it instead of inheriting an invisible bias.

The upstream service publishes no abstract for this layer.

At a glance

IDlt_territorial_censo
Records63,130
Size4.6 MB
GeometryPOLYGON
CRSEPSG:4326
Versionv/2026-09
Sourceosp_sdg
Upstream layerosp:GRID_250
LicenceCC-BY-4.0

Extent: 20.968358, 53.906125 → 26.827515, 56.423394

Download

curl -H "x-api-key: $GEOVIS_API_KEY" \
https://datos.geovis.es/v1/data/datasets/lt_territorial_censo/download

sha256 of this version:

d0ae8ba8d67dbcd015d5aa3d54763c1b241abb3787c0a5327fd6b27ddc19a8d8

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
grid_idVARCHAR100 %63,130
pobINTEGER100 %1,160Range: 5 → 2623
pob_minINTEGER100 %1,135Range: 1 → 2579
densINTEGER100 %1,160Range: 80 → 41968
hombresINTEGER100 %721Range: 0 → 1245
mujeresINTEGER100 %707Range: 0 → 1378
n_gruposINTEGER100 %44Range: 1 → 44
n_sueloINTEGER100 %30Range: 0 → 29
_fuenteVARCHAR100 %1osp_sdg
_fecha_capturaDATE100 %12026-08-21
_licenciaVARCHAR100 %1CC-BY-4.0
bboxSTRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE)100 %—
geometryGEOMETRY(‘EPSG:4326’)100 %—