{"schema_version":"1.0","country":"es","country_name":"Spain","topic":"protected-areas","question":"Where can I get the boundaries (geometry) of protected natural areas in Spain, at every designation level (international, national and regional), with category and designation date?","territory":"es","territory_level":"country","parent_url":null,"published_on":"2026-11-19","research_reviewed_on":"2026-11-17","access_checked_on":null,"answer":{"official_data":"structured","non_official_data":"partial","summary":"The IEPNB/MITECO GeoServer WFS (iepnb.gob.es/geoserver) serves geometry for all Spanish protected areas: ENP (1785, includes regional figures), Red Natura 2000 (1865) and international sites (178), each with figure, IUCN category and designation YEAR (anio_alta). Full dates: MITECO MAB files, EEA Natura 2000 tables, Ramsar RSIS and 9 of 17 regional layers; other regions give a norm or only the year.","main_caveats":["anio_alta and EEA legalFoundationDate are a YEAR. For Donana RN2000 the WFS says 1997 but the EEA Natura table has DATE_SPA 1987-09-01 and DATE_SAC 2012-09: they are not the same event.","WFS list_normas comes out as 'Java String[]@hash' (unreadable); norms must be read elsewhere (Natura SPA/SAC_LEGAL_REFERENCE, Ramsar RAM_BOE, Andalucia NOR_DECLA).","ENP layer mixes figures that overlap (Natura 2000 entries, Zonas Humedas, Cuevas, Arbol Singular...). Do not add areas by feature; 1785 is the official count.","Catalonia ENPE mirror (gissrv.diba.cat) returns empty rings and ANY_APROV in only 4 of 389 rows; the IDEC OGC API has the Generalitat data. MITECO Ramsar GeoJSON zip is empty (22 bytes); use the shp zip.","EEA CDDA service is v21 (data to March 2023, 1852 ES sites); MITECO/IEPNB are Dec 2025. Counts differ between sources (ENP 1785 vs 1852)."],"confidence":"high","confidence_reason":"Services and files queried and counted at all levels, including all 17 communities; open_questions remain on what anio_alta records and on the two cities' own data.","attributes":[{"attribute":"boundary_geometry","covered":"partial","source_ids":["s001","s002","s005"],"note":"Coverage combines distinct components of the question; see the original detailed evidence and its geographic and technical limits.","gap":"not_checked","gap_note":"The original rows have different scopes. Their combination has not been established as complete; original rows are retained in internal curation."},{"attribute":"designation_levels","covered":"partial","source_ids":["s001","s002","s005"],"note":"Coverage combines distinct components of the question; see the original detailed evidence and its geographic and technical limits.","gap":"not_checked","gap_note":"The original rows have different scopes. Their combination has not been established as complete; original rows are retained in internal curation."},{"attribute":"category","covered":"yes","source_ids":["s001","s002","s003"],"note":"designacion/cod_desig (ES01..ES98), IUCN category name in WFS; EEA service has iucnCategory code.","gap":null,"gap_note":null},{"attribute":"designation_date","covered":"partial","source_ids":["s001","s003","s004","s002","s005","s006"],"note":"Year only nationally (anio_alta, legalFoundationDate); full date in MAB_DECLAR, Natura DATE_*, RSIS and 9 regional layers; elsewhere in the BOE/regional norm.","gap":"not_published","gap_note":"No national layer carries the full date for every ENP; searched MITECO ENP files and dictionary, IEPNB WFS schema, EEA CDDA fields and 17 regional services. Day-level date is in each norm (BOE/regional bulletin)."}]},"sources":[{"source_id":"s001","name":"IEPNB GeoServer WFS: ENP, Red Natura 2000 and international protected areas","publisher":"MITECO - Inventario Espanol del Patrimonio Natural y la Biodiversidad (IEPNB)","official":true,"landing_url":"https://iepnb.gob.es/areas-tematicas/espacios-protegidos","data_url":"https://iepnb.gob.es/geoserver/ows?service=WFS&version=2.0.0&request=GetCapabilities","access":"api","format":"WFS 2.0.0 (GeoJSON, GML, SHAPE-ZIP)","license":"CC BY 4.0 by default (aviso legal: Creative Commons-Reconocimiento)","language":"es","has_coordinates":true,"location_precision":"exact","summary":"IEPNB GeoServer WFS: ENP, Red Natura 2000 and international protected areas","coverage_note":"Spain, all regions incl. Canarias; terrestrial and marine","data_date":"December 2025 (ENP count 1785 matches the MITECO table)","caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"test":{"tested_on":"2026-11-17","method":"api_query","http_status":200,"problems":[]},"example":{"example_request":"https://iepnb.gob.es/geoserver/ows?service=WFS&version=2.0.0&request=GetFeature&typeNames=ENP:enp&count=1&outputFormat=application/json&srsName=EPSG:4326&cql_filter=nombre='Doñana'  (counts: add resultType=hits; layers RN2000:rn2000 and convenio_internacional:conv_internacional; international only: curl -G ... --data-urlencode outputFormat=application/json, 178 features, 23 MB)","example_result":"ENP Doñana: MultiPolygon, designacion Parque Natural, cod_desig ES10, anio_alta 1989, nombre_categoria_iucn 'Paisaje terrestre y marino protegido', nombre_organismo 'Junta de Andalucía'. RN2000 Doñana: id_ref ES0000024, desc_figura 'LIC/ZEC + ZEPA', anio_alta 1997, superficie_oficial 128267.84. conv_internacional Ramsar 'Colas del embalse de Ullibarri-Gamboa': anio_alta 2002."},"members_summary":null},{"source_id":"s002","name":"MITECO Banco de Datos de la Naturaleza: downloadable cartography (ENP, Red Natura 2000, Ramsar, MAB, ZEPIM)","publisher":"MITECO - Banco de Datos de la Naturaleza","official":true,"landing_url":"https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/enp_descargas.html","data_url":"https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/enp/Enp2025_geojson.zip","access":"direct_download","format":"Shapefile, GeoJSON, KMZ, GML (zip)","license":"CC BY (datos.gob.es record lists CC BY for the Natura 2000 distributions)","language":"es","has_coordinates":true,"location_precision":"exact","summary":"MITECO Banco de Datos de la Naturaleza: downloadable cartography (ENP, Red Natura 2000, Ramsar, MAB, ZEPIM)","coverage_note":"Spain; Peninsula and Balearics EPSG:25830, Canarias EPSG:32628 (MAB Canarias EPSG:4083)","data_date":"December 2025","caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"test":{"tested_on":"2026-11-17","method":"download","http_status":200,"problems":["Ramsar GeoJSON zip empty","RN2000 GML link 404","Metadata host mapama.gob.es does not resolve","RN2000 shp 132 MB and GeoJSON 195 MB only read by headers/Range"]},"example":{"example_request":"curl -sL -o enp_geojson.zip https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/enp/Enp2025_geojson.zip   (also https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/mab/Mab_Limites_OAPN_GeoJson.zip, https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/ramsar-descargas/shapes/Ramsar_2025_shp.zip, https://www.miteco.gob.es/content/dam/miteco/es/biodiversidad/servicios/banco-datos-naturaleza/zepim/zepim-geojson.zip)","example_result":"Enp2025_p.json: 1638 polygons (EPSG:25830) + Enp2025_c.json 147 (EPSG:32628); first: {SITE_NAME:'A Carballa da Rocha', ODESIGNATE:'Monumento Natural', SITE_CODE_:'ES113016', DESIG_ABBR:'ES19', Sup_ha:0.629}. MAB: Val d'Aran MAB_DECLAR 2024-07-05."},"members_summary":{"total":null,"listed":5,"tested":5,"data_found":0,"scope_note":"Inherited members; data findings were not reclassified during this structural migration. Consult each member note.","pattern":null}},{"source_id":"s003","name":"EEA Nationally designated areas (CDDA/NatDA) - ArcGIS service v21 and public GPKG v23","publisher":"European Environment Agency","official":true,"landing_url":"https://bio.discomap.eea.europa.eu/arcgis/rest/services/ProtectedSites/CDDAv21_Dyna_WM/MapServer","data_url":"https://sdi.eea.europa.eu/datashare/public.php/webdav/eea_v_3035_100_k_natda-poly_p_2024-2025_v23_r00/NatDA_2025_v01_public_WorldEPSG4326.gpkg","access":"api","format":"ArcGIS REST (JSON, GeoJSON); GPKG v23 on EEA datastore","license":"no limitations to public access (catalogue record); EEA reuse terms","language":"es","has_coordinates":true,"location_precision":"exact","summary":"EEA Nationally designated areas (CDDA/NatDA) - ArcGIS service v21 and public GPKG v23","coverage_note":"38 European countries; Spain 1852 records (Estonia, Ireland, Türkiye restricted)","data_date":"Service v21: data to March 2023; public GPKG v23 published 2025-08-19 (internal v23 Jun 2025)","caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"test":{"tested_on":"2026-11-17","method":"api_query","http_status":200,"problems":["Public share link streams a zip of the whole datastore; use WebDAV paths. GPKG v23 only checked by headers and a Range read (SQLite header)."]},"example":{"example_request":"curl -sL -G 'https://bio.discomap.eea.europa.eu/arcgis/rest/services/ProtectedSites/CDDAv21_Dyna_WM/MapServer/4/query' --data-urlencode \"where=cddaCountryCode='ES'\" --data-urlencode 'outFields=siteName,legalFoundationDate,iucnCategory,designationTypeCode,nationalId' --data-urlencode 'resultRecordCount=2' --data-urlencode 'returnGeometry=false' --data-urlencode 'f=json'   |   curl -sI -u 'sptXqwkQr5g7Bp5:' https://sdi.eea.europa.eu/datashare/public.php/webdav/eea_v_3035_100_k_natda-poly_p_2024-2025_v23_r00/NatDA_2025_v01_public_WorldEPSG4326.gpkg  (headers); curl -s -u 'sptXqwkQr5g7Bp5:' -r 0-99 ... returns 'SQLite format 3'","example_result":"count 1852 (layers 3 and 4); {siteName:'Llevant', legalFoundationDate:2001, iucnCategory:'II', designationTypeCode:'ES10', siteArea:1417.3, nationalId:'ES530007'}; {siteName:'Los Baselisos', legalFoundationDate:2017, iucnCategory:'VI'}. Geometry: add where siteName='Llevant', outSR=4326, f=geojson (MultiPolygon)."},"members_summary":null}],"other_sources_count":6,"if_unstructured":{"summary":null},"local_terms":[{"term":"Espacios Naturales Protegidos (ENP)","language":"es","meaning":"Protected natural areas declared under Ley 42/2007"},{"term":"Red Natura 2000 / ZEPA / ZEC / LIC","language":"es","meaning":"Natura 2000 network, bird SPAs, special areas of conservation, sites of community importance"},{"term":"Parque Nacional, Parque Natural, Reserva Natural, Monumento Natural, Paisaje Protegido","language":"es","meaning":"Main national and regional protection figures"},{"term":"Reserva de la Biosfera (MAB)","language":"es","meaning":"UNESCO biosphere reserve"},{"term":"Humedal Ramsar","language":"es","meaning":"Wetland of international importance"},{"term":"ZEPIM","language":"es","meaning":"Specially protected areas of Mediterranean importance (Barcelona Convention)"},{"term":"fecha de declaración / norma de declaración","language":"es","meaning":"Declaration date and legal act (BOE, BOJA, DOGC)"},{"term":"Banco de Datos de la Naturaleza (BDN)","language":"es","meaning":"MITECO service that compiles the national inventory"}],"provenance":{"pass_count":1,"models":["Claude Sonnet 5.5 (High)"],"minutes_estimate":50,"pages_opened":88,"passes":[{"pass":1,"date":"2026-11-17","model":"Claude Sonnet 5.5 (High)"}],"note":"Minutes are researcher estimates. Counts describe documented passes, not publication approval. Missing history or effort is not reconstructed."},"card_url":"https://georutter.org/v1/es/protected-areas.json","detail_url":"https://georutter.org/v1/es/protected-areas/detail.json","html_url":"https://georutter.org/es/protected-areas/","country_url":"https://georutter.org/v1/countries/es.json"}
