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
| ID | lt_territorial_censo |
| Records | 63,130 |
| Size | 4.6 MB |
| Geometry | POLYGON |
| CRS | EPSG:4326 |
| Version | v/2026-09 |
| Source | osp_sdg |
| Upstream layer | osp:GRID_250 |
| Licence | CC-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/downloadsha256 of this version:
d0ae8ba8d67dbcd015d5aa3d54763c1b241abb3787c0a5327fd6b27ddc19a8d8Query 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 |
|---|---|---|---|---|
grid_id | VARCHAR | 100 % | 63,130 | |
pob | INTEGER | 100 % | 1,160 | Range: 5 → 2623 |
pob_min | INTEGER | 100 % | 1,135 | Range: 1 → 2579 |
dens | INTEGER | 100 % | 1,160 | Range: 80 → 41968 |
hombres | INTEGER | 100 % | 721 | Range: 0 → 1245 |
mujeres | INTEGER | 100 % | 707 | Range: 0 → 1378 |
n_grupos | INTEGER | 100 % | 44 | Range: 1 → 44 |
n_suelo | INTEGER | 100 % | 30 | Range: 0 → 29 |
_fuente | VARCHAR | 100 % | 1 | osp_sdg |
_fecha_captura | DATE | 100 % | 1 | 2026-08-21 |
_licencia | VARCHAR | 100 % | 1 | CC-BY-4.0 |
bbox | STRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE) | 100 % | — | |
geometry | GEOMETRY(‘EPSG:4326’) | 100 % | — |