ASGR — consolidated planning regulations
What it is
The national synthesis of every planning regulation in force, consolidated by the SSVA and regenerated daily: 175,383 polygons carrying the main land-use designation (PAGR_PASK, 188 values), the use type (NAUD_BUD, with P for industrial and K for commercial), the functional zone (FUNKC_ZON) and, above all, the buildable envelope: maximum height in metres (MAX_AUK_M), building intensity (MAX_INTENS), site coverage (MAX_TANKIS) and minimum green area (MIN_APZELD). Each polygon carries the planning document that sets it, with its number and date.
One measured caveat: functional zoning is present on 94.4 % of polygons, but maximum height only on 18.2 %, density on 17.3 % and intensity on 13.6 %. The honest promise is “national zoning, and the envelope where a detailed plan exists”.
The upstream service publishes no abstract for this layer.
At a glance
| ID | lt_urbanismo_asgr |
| Records | 175,383 |
| Size | 141.5 MB |
| Geometry | MULTIPOLYGON |
| CRS | EPSG:4326 |
| Version | v/2026-09 |
| Source | tpdr_asgr |
| Upstream layer | asgr:asgr.gdb.zip |
| Licence | CC-BY-4.0 |
Extent: 20.750001, 53.896791 → 26.759367, 56.450407
Download
curl -H "x-api-key: $GEOVIS_API_KEY" \ https://datos.geovis.es/v1/data/datasets/lt_urbanismo_asgr/downloadsha256 of this version:
ec5822c0c6f49571c80ccfcd0ac0ea8b068f5cfa48200fb31a35193d74bd29b2Query 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 |
|---|---|---|---|---|
PAGR_PASK | VARCHAR | 99.80 % | 188 | |
PAGR_PASKTP | VARCHAR | 99.80 % | 5,823 | |
PAGR_PASKNR | VARCHAR | 99.80 % | 5,764 | |
PAGR_PASKD | TIMESTAMP WITH TIME ZONE | 83.97 % | 2,400 | |
PAGR_PASKTPR | VARCHAR | 99.80 % | 8 | B_SAV · K_D · B_SAVD · B_SAVR · B_MSTD · B_SAVD10000 · B_SAVD5000 · B_SAVM |
NAUD_BUD | VARCHAR | 24.96 % | 597 | |
NAUD_BUDTP | VARCHAR | 24.96 % | 5,777 | |
NAUD_BUDNR | VARCHAR | 24.96 % | 5,721 | |
NAUD_BUDD | TIMESTAMP WITH TIME ZONE | 24.96 % | 2,424 | |
NAUD_BUDTPR | VARCHAR | 24.96 % | 2 | K_D · B_MSTD |
FUNKC_ZON | VARCHAR | 94.35 % | 39 | |
PRIORIT | INTEGER | 0 % | — | |
FUNKC_ZONTP | VARCHAR | 94.35 % | 242 | |
FUNKC_ZONNR | VARCHAR | 94.35 % | 239 | |
FUNKC_ZOND | TIMESTAMP WITH TIME ZONE | 78.82 % | 141 | |
FUNKC_ZONTPR | VARCHAR | 94.35 % | 6 | B_SAV · B_SAVD · B_SAVR · B_SAVD10000 · B_SAVD5000 · B_SAVM |
NAUD_TIP | VARCHAR | 24.54 % | 26 | |
NAUD_TIPTP | VARCHAR | 24.54 % | 5,526 | |
NAUD_TIPNR | VARCHAR | 24.54 % | 5,475 | |
NAUD_TIPD | TIMESTAMP WITH TIME ZONE | 24.54 % | 2,409 | |
NAUD_TIPTPR | VARCHAR | 24.54 % | 3 | K_D · B_MSTD · B_SAVD5000 |
MAX_AUK_M | DOUBLE | 18.16 % | 239 | Range: 0.0 → 210.0 |
MAX_INTENS | DOUBLE | 13.58 % | 271 | Range: 0.0 → 300.0 |
MAX_TANKIS | DOUBLE | 17.26 % | 111 | Range: -1.0 → 2931.0 |
MIN_APZELD | DOUBLE | 11.80 % | 77 | Range: 0.0 → 100.0 |
PILN | INTEGER | 0 % | — | |
ATN_DOK | INTEGER | 0 % | — | |
APIBENDR | VARCHAR | 100 % | 13,072 | |
VAIZD | VARCHAR | 100 % | 88 | |
Shape_Length | DOUBLE | 100 % | 174,452 | Range: 0.010400618904132693 → 2547785.235683116 |
Shape_Area | DOUBLE | 100 % | 174,430 | Range: 4.840000972002739e-0 → 1535895755.6467707 |
_fuente | VARCHAR | 100 % | 1 | tpdr_asgr |
_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 % | — |