Docs
Contents

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

IDlt_urbanismo_asgr
Records175,383
Size141.5 MB
GeometryMULTIPOLYGON
CRSEPSG:4326
Versionv/2026-09
Sourcetpdr_asgr
Upstream layerasgr:asgr.gdb.zip
LicenceCC-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/download

sha256 of this version:

ec5822c0c6f49571c80ccfcd0ac0ea8b068f5cfa48200fb31a35193d74bd29b2

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
PAGR_PASKVARCHAR99.80 %188
PAGR_PASKTPVARCHAR99.80 %5,823
PAGR_PASKNRVARCHAR99.80 %5,764
PAGR_PASKDTIMESTAMP WITH TIME ZONE83.97 %2,400
PAGR_PASKTPRVARCHAR99.80 %8B_SAV · K_D · B_SAVD · B_SAVR · B_MSTD · B_SAVD10000 · B_SAVD5000 · B_SAVM
NAUD_BUDVARCHAR24.96 %597
NAUD_BUDTPVARCHAR24.96 %5,777
NAUD_BUDNRVARCHAR24.96 %5,721
NAUD_BUDDTIMESTAMP WITH TIME ZONE24.96 %2,424
NAUD_BUDTPRVARCHAR24.96 %2K_D · B_MSTD
FUNKC_ZONVARCHAR94.35 %39
PRIORITINTEGER0 %—
FUNKC_ZONTPVARCHAR94.35 %242
FUNKC_ZONNRVARCHAR94.35 %239
FUNKC_ZONDTIMESTAMP WITH TIME ZONE78.82 %141
FUNKC_ZONTPRVARCHAR94.35 %6B_SAV · B_SAVD · B_SAVR · B_SAVD10000 · B_SAVD5000 · B_SAVM
NAUD_TIPVARCHAR24.54 %26
NAUD_TIPTPVARCHAR24.54 %5,526
NAUD_TIPNRVARCHAR24.54 %5,475
NAUD_TIPDTIMESTAMP WITH TIME ZONE24.54 %2,409
NAUD_TIPTPRVARCHAR24.54 %3K_D · B_MSTD · B_SAVD5000
MAX_AUK_MDOUBLE18.16 %239Range: 0.0 → 210.0
MAX_INTENSDOUBLE13.58 %271Range: 0.0 → 300.0
MAX_TANKISDOUBLE17.26 %111Range: -1.0 → 2931.0
MIN_APZELDDOUBLE11.80 %77Range: 0.0 → 100.0
PILNINTEGER0 %—
ATN_DOKINTEGER0 %—
APIBENDRVARCHAR100 %13,072
VAIZDVARCHAR100 %88
Shape_LengthDOUBLE100 %174,452Range: 0.010400618904132693 → 2547785.235683116
Shape_AreaDOUBLE100 %174,430Range: 4.840000972002739e-0 → 1535895755.6467707
_fuenteVARCHAR100 %1tpdr_asgr
_fecha_capturaDATE100 %12026-08-21
_licenciaVARCHAR100 %1CC-BY-4.0
bboxSTRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE)100 %—
geometryGEOMETRY(‘EPSG:4326’)100 %—