Seismic hazard NCSE-02
What it is
Whether a project must apply the Spanish seismic building code and how strictly, municipality by municipality: aceleracion is the basic seismic acceleration as a fraction of g and coeficient the contribution coefficient K. 8,183 municipal areas, of which 2,609 (31.9 %) carry an assigned value, between 0.04 and 0.25 g. What matters is how to read the blanks: a null is not missing data, it means the code assigns no value below 0.04 g, which is precisely the threshold above which NCSE-02 applies. Measured: Granada reaches 0.25 g across 168 municipalities, Málaga 0.21 across 100, Alicante and Murcia 0.16, Almería and Huelva 0.14; Madrid, Bilbao and A Coruña come back null. Two usage warnings. First, coeficient arrives wrapped in parentheses — (1.0), (1.1)… up to (1.4) — exactly as IGN publishes it: strip them before computing, and they were not stripped here so as not to alter what the source says. Second, and more important: the layer uses the 2002 municipal map. 39 municipalities of the current INE register have no entry of their own — later splits and mergers, from El Palmar de Troya to Valderrubio or Usansolo — whose value must be inherited from the parent municipality; and conversely, 81 IGN entries no longer exist as municipalities: mostly shared jurisdictions in Burgos, Navarre and Álava, all without an assigned acceleration, which is where the gaps in nombre and ine_pro come from. The geometry is the one IGN publishes, not a reconstruction.
According to the publishing agency
Official text, in Spanish, exactly as the upstream service publishes it:
Áreas de peligrosidad 2002 — NCSE-02 Mapa de peligrosidad sísmica de la Norma de Construcción Sismorresistente NCSE-02, con la aceleración sísmica básica y el coeficiente de contribución asignados a cada término municipal.
At a glance
| ID | es_geologia_ncse02 |
| Records | 8,183 |
| Size | 7.5 MB |
| Geometry | MULTIPOLYGON |
| CRS | EPSG:4326 |
| Version | v/2026-08 |
| Source | ign |
| Upstream layer | ign:HazardArea2002.NCSE-02 |
| Licence | CC-BY-4.0 |
Extent: -18.161181, 27.637819 → 4.328054, 43.790004
Download
curl -H "x-api-key: $GEOVIS_API_KEY" \ https://datos.geovis.es/v1/data/datasets/es_geologia_ncse02/downloadsha256 of this version:
db76e6749de14d717ceb61cb85c86f2e56683aa79dc11cac79e220ac8ccacd88Query 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 |
|---|---|---|---|---|
gid | BIGINT | 100 % | 8,183 | Range: 1 → 8191 |
ine_mun | VARCHAR | 100 % | 8,183 | |
ine_pro | VARCHAR | 97.79 % | 51 | |
nombre | VARCHAR | 99.03 % | 8,087 | |
x | VARCHAR | 31.88 % | 2,608 | |
y | VARCHAR | 31.88 % | 2,609 | |
aceleracion | VARCHAR | 31.88 % | 22 | |
coeficient | VARCHAR | 31.88 % | 5 | (1.0) · (1.3) · (1.1) · (1.2) · (1.4) |
prov_code | VARCHAR | 100 % | 52 | |
prov_name | VARCHAR | 100 % | 52 | |
prov_aprox | BOOLEAN | 100 % | 1 | false |
_fuente | VARCHAR | 100 % | 1 | ign |
_fecha_captura | DATE | 100 % | 1 | 2026-08-22 |
_fecha_edicion | DATE | 100 % | 1 | 2026-08-22 |
_licencia | VARCHAR | 100 % | 1 | CC-BY-4.0 |
_atribucion | VARCHAR | 100 % | 1 | Obra derivada de BTN 2026 |
bbox | STRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE) | 100 % | — | |
geometry | GEOMETRY(‘EPSG:4326’) | 100 % | — |