{"schema_version":"1.0","country":"es","country_name":"Spain","topic":"wastewater-treatment-plants","question":"Where can I get a list of urban wastewater treatment plants in Spain, with location, design capacity, treated volume and treatment level?","territory":"es","territory_level":"country","parent_url":null,"published_on":"2026-11-19","research_reviewed_on":"2026-11-16","access_checked_on":null,"answer":{"official_data":"structured","non_official_data":"partial","summary":"Spain reports its plants to the EU under Directive 91/271/CEE. The EEA public layer (ArcGIS REST, 2,138 Spanish plants, status 31/12/2022) has coordinates, design capacity (p.e.), treatment flags and treated volume (m3/year, filled for 1,666). MITECO publishes the same report as GeoPackage with 2,357 plants but only name/id/status. Plants below the reporting threshold exist only in regional lists.","main_caveats":["EEA and MITECO layers are Spain's UWWTD report at 31/12/2022 (Q2023); the EEA output is flagged provisional pending the Commission compliance check.","uwwCapacity and load are in population equivalents (p.e.), not m3/day; Spain notes capacity is a mean project capacity while load is the weekly maximum, so load can exceed capacity (227 plants).","MITECO GPKG (INSPIRE form) has no capacity, volume or treatment fields; the SHP with those fields sits behind an Altcha download page and the WMS host fails TLS validation.","Capacity differs between sources: BOE 2025 gives 19,632 p.e. for the Mazagon expansion, EEA layer 53,140 p.e. for MAZAGON; reason not established.","Regional codes differ: ACA codi_aglomeracio ES09080010001010 equals EEA uwwCode ES9080010001010E (leading 0 dropped, E added)."],"confidence":"medium","confidence_reason":"Core fields were queried and counted on the live EEA service; MITECO SHP, OSM for Spain and several regions were not opened, and EEA data is provisional.","attributes":[{"attribute":"location","covered":"yes","source_ids":["s001"],"note":"uwwLatitude/uwwLongitude filled for all 2,138; sample check by region found no points outside their region. EEA states 100 m resolution.","gap":null,"gap_note":null},{"attribute":"design_capacity","covered":"yes","source_ids":["s001","s003"],"note":"uwwCapacity in p.e. for all 2,138; regional lists add m3/day (ACA, EPSAR) or p.e. (Madrid, Aragon).","gap":null,"gap_note":null},{"attribute":"treated_volume","covered":"partial","source_ids":["s001"],"note":"uwwWasteWaterTreated (m3/year) filled for 1,666 of 2,138 plants; blank for 472. No plant-level source for the rest found.","gap":"not_published","gap_note":"Looked in MITECO Q2023 field list (no volume field), ACA, Madrid IDEM, Aragon, Baleares, EPSAR lists and EPSAR 2019 report (only per-province volume); Idescat has aggregates only."},{"attribute":"treatment_level","covered":"yes","source_ids":["s001","s002","s003"],"note":"Boolean flags primary, secondary, more stringent, N and P removal, UV etc.; text type in ACA. Compliance codes P/F per parameter.","gap":null,"gap_note":null}]},"sources":[{"source_id":"s001","name":"UWWTD Treatment plants, data call 2023, public final version (Oct. 2025)","publisher":"European Environment Agency (data reported by Spain under Directive 91/271/EEC)","official":true,"landing_url":"https://sdi.eea.europa.eu/catalogue/srv/api/records/88b3b08d-3b1b-4a65-9406-365b218e09da","data_url":"https://water.discomap.eea.europa.eu/arcgis/rest/services/WISE_UWWTD/TreatmentPlants_2022/MapServer/0","access":"api","format":"ArcGIS REST (JSON); also GeoPackage, File Geodatabase, WMS","license":"CC-BY 4.0","language":"English","has_coordinates":true,"location_precision":"exact","publisher_type":"supranational","adds":"First source: coordinates, design capacity, treated volume and treatment flags per plant.","first_seen_pass":1,"rank":1,"summary":"UWWTD Treatment plants, data call 2023, public final version (Oct. 2025)","coverage_note":"EU/EEA member states plus others; Spain rptMStateKey=ES (2,138 of 22,554 records)","data_date":"2022-12-31 (reporting exercise 2023)","caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"coverage":{"geographic":"EU/EEA member states plus others; Spain rptMStateKey=ES (2,138 of 22,554 records)"},"fine_print":{"unit":{"value":"uwwCapacity and uwwLoadEnteringUWWTP in p.e.; uwwWasteWaterTreated in m3/year","quote":"Organic design capacity (p.e.) of the waste water treatment plant; Mean annual volume of waste water treated (m3/year).","url":"https://dd.eionet.europa.eu/datasets/latest/UWWTDArt15/tables/UWWTPs","attempts":[]},"inclusion_rule":{"value":"Active and connected plants with correct coordinates reported by Member States","quote":"The active and connected treatment plants with correct coordinates in the reported data were selected from the source European UWWTD tabular dataset","url":"https://sdi.eea.europa.eu/catalogue/srv/api/records/88b3b08d-3b1b-4a65-9406-365b218e09da","attempts":[]},"reference_date":{"value":"2022-12-31 (reporting exercise 2023)","quote":"the European Commission aiming to receive information on the implementation of the UWWTD in the reference year 2022 (situation as at 31/12/2022)","url":"https://water.discomap.eea.europa.eu/arcgis/rest/services/WISE_UWWTD/TreatmentPlants_2022/MapServer","attempts":[]},"update_frequency":{"value":"Every two years","quote":"Member States to report data on the implementation of the Directive upon request from the European Commission bi-annually.","url":"https://sdi.eea.europa.eu/catalogue/srv/api/records/88b3b08d-3b1b-4a65-9406-365b218e09da","attempts":[]},"exclusions":{"value":"Inactive, disconnected, no-coordinate and wrong-coordinate plants removed; output provisional","quote":"Inactive or disconnected treatment plants and treatment plants without coordinates or with obviously wrong coordinates were removed.","url":"https://sdi.eea.europa.eu/catalogue/srv/api/records/88b3b08d-3b1b-4a65-9406-365b218e09da","attempts":[]}},"key_fields":[{"field":"uwwCode / uwwName","meaning":"Plant code (Spanish plants ES...E) and name"},{"field":"uwwLatitude / uwwLongitude","meaning":"Plant coordinates in decimal degrees (EPSG:4258 layer)"},{"field":"uwwNUTS","meaning":"NUTS3 code; first 4 characters give the region (ES51 Cataluna)"},{"field":"uwwCapacity","meaning":"Organic design capacity, p.e."},{"field":"uwwLoadEnteringUWWTP","meaning":"Load entering the plant, p.e."},{"field":"uwwWasteWaterTreated","meaning":"Mean annual volume treated, m3/year; null in 472 Spanish plants"},{"field":"uwwPrimaryTreatment, uwwSecondaryTreatment, uwwOtherTreatment","meaning":"Booleans: primary, secondary, more stringent treatment"},{"field":"uwwNRemoval, uwwPRemoval, uwwUV, uwwChlorination","meaning":"Booleans for nutrient removal and disinfection"},{"field":"uwwBOD5Perf, uwwCODPerf, uwwTSSPerf, uwwNTotPerf, uwwPTotPerf","meaning":"Compliance code P (pass), F (fail), NR, NA"},{"field":"aggCode","meaning":"Agglomeration code, blank for some plants"},{"field":"uwwRemarks","meaning":"Free text from Spain, in Spanish in 454 plants"}],"how_to_use":{"example_request":"curl -s -G 'https://water.discomap.eea.europa.eu/arcgis/rest/services/WISE_UWWTD/TreatmentPlants_2022/MapServer/0/query' --data-urlencode \"where=rptMStateKey='ES'\" --data-urlencode 'outFields=*' --data-urlencode 'orderByFields=OBJECTID' --data-urlencode 'resultOffset=0' --data-urlencode 'resultRecordCount=1000' --data-urlencode 'returnGeometry=false' --data-urlencode 'f=json'   (repeat with resultOffset=1000 and 2000; count query: same URL with returnCountOnly=true returns {\"count\":2138})","example_result":"{\"uwwCode\":\"ES10030140002011E\",\"uwwName\":\"MONTE ORGEGIA\",\"uwwLatitude\":38.383221,\"uwwLongitude\":-0.464619,\"uwwNUTS\":\"ES521\",\"uwwCapacity\":600000,\"uwwLoadEnteringUWWTP\":235118,\"uwwWasteWaterTreated\":12183178,\"uwwPrimaryTreatment\":1,\"uwwSecondaryTreatment\":1,\"uwwOtherTreatment\":1,\"uwwNRemoval\":0,\"uwwPRemoval\":1}","steps":["Filter rptMStateKey='ES' (server limit 2,000 records per call, so page with resultOffset).","Keep OBJECTID ordering to avoid duplicates; uwwCode is unique in the 2,138 rows.","With returnGeometry=false use uwwLatitude/uwwLongitude as coordinates.","Treatment level: primary=1 in all 2,138 rows; 1,165 also have more stringent=1 plus secondary=1, 942 secondary only, 26 primary only, 5 primary plus more stringent.","Convert volume with m3/year; divide by 1e6 for hm3 (sum over the 1,666 filled rows = 3,754 hm3).","Join with MITECO GPKG on uwwCode = inspireId_Identifier_localId (all 2,138 match)."],"reading_traps":["uwwWasteWaterTreated is null in 472 of 2,138 Spanish plants; uwwMethodWasteWaterTreated is null in 781 (M 796, C 480, E 81).","Capacity is in p.e., not flow; 227 plants report load above capacity and Spain's remarks (251 plants) explain that capacity is a project mean while load is the weekly maximum.","uwwSpecification (other treatment detail) is filled in only 126 plants; uwwHyperlink in 439; uwwInspireIDFacility in 13.","repCode has trailing spaces (padded to 50 characters); strip before comparing.","Coordinate check: 0 of 2,138 points fall outside Spain's bounding box; 0 fall outside the expected box for Canarias, Baleares, Ceuta, Melilla, Cataluna and Madrid."]},"test":{"tested_on":"2026-11-16","method":"api_query","http_status":200,"content_type":"application/json","size_bytes":4148167,"records_total":22554,"records_for_country":2138,"problems":["Provisional until the Commission compliance check ends (stated in the metadata)"]},"evidence":[{"claim":"Dataset content","url":"https://sdi.eea.europa.eu/catalogue/srv/api/records/88b3b08d-3b1b-4a65-9406-365b218e09da","quote":"Dataset UWWTD_TreatmentPlants contains urban waste water treatment plants and collecting systems without UWWTP, including their coordinates, capacity and actual load treated, type of treatment and data on the performance of plants."},{"claim":"Provisional status","url":"https://sdi.eea.europa.eu/catalogue/srv/api/records/88b3b08d-3b1b-4a65-9406-365b218e09da","quote":"Current output is provisional, as it is subject to the Commission's compliance check, following which some records may be amended and further information will be added."},{"claim":"Treated volume definition","url":"https://dd.eionet.europa.eu/datasets/latest/UWWTDArt15/tables/UWWTPs","quote":"Mean annual volume of waste water treated (m3/year)."}],"members":[],"members_summary":null},{"source_id":"s002","name":"Depuradoras de aguas residuales (Q2023. Dir 91/271/CEE)","publisher":"MITECO, Subdireccion General de Planificacion Hidrologica","official":true,"landing_url":"https://www.miteco.gob.es/es/cartografia-y-sig/ide/descargas/agua/situacion-q2023.html","data_url":"https://www.miteco.gob.es/content/dam/miteco/es/cartografia-y-sig/ide/descargas/depuradorasq2023_gpkg.zip","access":"direct_download","format":"GeoPackage (INSPIRE EnvironmentalManagementFacility), SHP, KMZ, GML, WMS","license":"CC BY 4.0 (datos.gob.es record); free use crediting MITECO (download page)","language":"Spanish","has_coordinates":true,"location_precision":"exact","publisher_type":"national_government","adds":"Spain's own release: 2,357 plant ids (219 more than the EEA public layer), INSPIRE ids and status; field list of the SHP with capacity and treatment.","first_seen_pass":1,"rank":2,"summary":"Depuradoras de aguas residuales (Q2023. Dir 91/271/CEE)","coverage_note":"Spain, including islands","data_date":"2022-12-31","caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"coverage":{"geographic":"Spain, including islands"},"fine_print":{"unit":{"value":"Capacity and load in p.e. (h-e) in the SHP field list; GPKG has none","quote":"Capacidad de diseño (en habitantes equivalentes).","url":"https://gis.miteco.gob.es/descargas/info/EDAR_Q2023.pdf","attempts":[]},"inclusion_rule":{"value":"Active plants reported in Cuestionario 2023, data current and not decommissioned","quote":"contiene la localización de las estaciones depuradoras activas (cuyos datos están vigentes y no han sido dadas de baja)","url":"https://gis.miteco.gob.es/descargas/info/EDAR_Q2023.pdf","attempts":[]},"reference_date":{"value":"2022-12-31","quote":"que contiene el estado de avance de la Directiva 91/271/CEE a fecha 31/12/2022","url":"https://gis.miteco.gob.es/descargas/info/EDAR_Q2023.pdf","attempts":[]},"update_frequency":{"value":"Every two years with each reporting round","quote":"debiendo reportar cada dos años a la Comisión Europea la información recopilada","url":"https://gis.miteco.gob.es/descargas/info/EDAR_Q2023.pdf","attempts":[]},"exclusions":{"value":"Inactive plants and plants not reported; collecting systems without plant are flagged NOTCON in the SHP","quote":"Sistema de colectores sin depuradora","url":"https://gis.miteco.gob.es/descargas/info/EDAR_Q2023.pdf","attempts":[]}},"key_fields":[{"field":"name","meaning":"Plant name (GPKG)"},{"field":"inspireId_Identifier_localId","meaning":"Plant code, equals EEA uwwCode"},{"field":"status_xlink_title","meaning":"functional (2,322) or decommissioned (35)"},{"field":"uwwCapaci, uwwLoadEn, uwwPrimaT, uwwSeconT, uwwOtherT, uwwNRemov, uwwPRemov","meaning":"Per the PDF field table, SHP only: capacity, load and treatment flags"}],"how_to_use":{"example_request":"curl -sL -o dep_gpkg.zip \"https://www.miteco.gob.es/content/dam/miteco/es/cartografia-y-sig/ide/descargas/depuradorasq2023_gpkg.zip\"; python3 -I with sqlite3: select name, inspireId_Identifier_localId, status_xlink_title from EnvironmentalManagementFacility limit 2","example_result":"{\"name\":\"AGOST\",\"inspireId_Identifier_localId\":\"ES10030020001010E\",\"status_xlink_title\":\"functional\"}, {\"name\":\"ALBATERA - SAN ISIDRO\",\"inspireId_Identifier_localId\":\"ES10030050002010E\",\"status_xlink_title\":\"functional\"}","steps":["Download the GPKG zip (static link, no form).","Open the GPKG with sqlite3; table EnvironmentalManagementFacility, geometry column geom, EPSG:4326.","Filter status_xlink_title = functional to drop 35 decommissioned.","Join to the EEA layer on localId = uwwCode to bring capacity, volume and treatment."],"reading_traps":["The GPKG is the INSPIRE reporting form: 19 columns, none for capacity, volume or treatment.","It has 2,357 plants against 2,138 in the EEA public layer; 35 are decommissioned despite the \"active\" definition.","The SHP/KMZ/GML links on gis.miteco.gob.es/descargas open an HTML page with an Altcha widget and a POST button, not a file; not followed.","The WMS host wms.mapama.gob.es fails TLS validation with curl and WebFetch (unknown CA)."]},"test":{"tested_on":"2026-11-16","method":"download","http_status":200,"content_type":"application/zip","size_bytes":160972,"records_total":2357,"records_for_country":2357,"problems":["SHP, KMZ and GML downloads sit behind an Altcha challenge page","WMS host certificate not accepted by curl or WebFetch","OGC API wmts.mapama.gob.es/sig-api listed in datos.gob.es returned 30 collections, none about water"]},"evidence":[{"claim":"What the layer contains","url":"https://gis.miteco.gob.es/descargas/info/EDAR_Q2023.pdf","quote":"La cartografía incluida en este servicio contiene la localización de las estaciones depuradoras activas (cuyos datos están vigentes y no han sido dadas de baja) reportadas en el último informe de seguimiento “Cuestionario 2023”"},{"claim":"Capacity field in the SHP","url":"https://gis.miteco.gob.es/descargas/info/EDAR_Q2023.pdf","quote":"uwwCapaci Capacidad diseño (he) Capacidad de diseño (en habitantes equivalentes)."}],"members":[],"members_summary":null},{"source_id":"s003","name":"Regional lists of treatment plants","publisher":"Autonomous-community bodies and operators (ACA, Comunidad de Madrid/Canal de Isabel II, Aragon, Baleares, EPSAR and others)","official":true,"landing_url":"https://datos.gob.es/apidata/catalog/dataset/title/depuradoras?_pageSize=50&_page=0&_sort=title","data_url":"https://analisi.transparenciacatalunya.cat/resource/k288-dig3.json","access":"api","format":"Socrata JSON/CSV, WFS GeoJSON, CSV, SHP, HTML (varies by region)","license":"varies (ACA: terms of use; Navarra: CC BY 4.0)","language":"Spanish, Catalan","has_coordinates":true,"location_precision":"exact","publisher_type":"regional_government","adds":"Plants below the reporting threshold, hydraulic design flow (m3/day), process type and operator; regional detail the national layers lack.","first_seen_pass":1,"rank":3,"summary":"Regional lists of treatment plants","coverage_note":"Per region; 8 of 17 regions listed, 5 opened with data","data_date":"ACA: 31 December of each closed year; current year at last update","caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"coverage":{"geographic":"Per region; 8 of 17 regions listed, 5 opened with data"},"fine_print":{"unit":{"value":"ACA cabal_disseny m3/day and habitants_equivalents; Madrid NM_HABEQV p.e.; EPSAR caudal de proyecto m3/d","quote":"Cabal de disseny de l'EDAR en m3/dia","url":"https://analisi.transparenciacatalunya.cat/api/views/k288-dig3.json","attempts":[]},"inclusion_rule":{"value":"ACA: public sanitation systems in service financed by ACA","quote":"Dades dels sistemes públics de sanejament en alta de Catalunya amb estació depuradora d'aigües residuals (EDAR) en servei finançats per l'Agència Catalana de l'Aigua.","url":"https://analisi.transparenciacatalunya.cat/api/views/k288-dig3.json","attempts":[]},"reference_date":{"value":"ACA: 31 December of each closed year; current year at last update","quote":"Cada registre mostra la situació d'un sistema de sanejament a 31 de desembre per als anys tancats.","url":"https://analisi.transparenciacatalunya.cat/api/views/k288-dig3.json","attempts":[]},"update_frequency":{"value":"ACA: annual, dataset updated 2026-11-06 (rowsUpdatedAt in views API)","quote":null,"url":null,"attempts":["Socrata views JSON gives rowsUpdatedAt 1793955512 and catalog updatedAt 2026-11-06; no frequency sentence found","Other regional pages opened give no frequency"]},"exclusions":{"value":null,"quote":null,"url":null,"attempts":["ACA description opened: covers only plants financed by ACA","Madrid, Aragon and EPSAR pages opened give no exclusion statement"]}},"key_fields":[{"field":"codi_aglomeracio (ACA)","meaning":"Agglomeration code; equals EEA uwwCode without the final E and with ES0 for ES"},{"field":"cabal_disseny (ACA)","meaning":"Design flow m3/day"},{"field":"habitants_equivalents (ACA)","meaning":"Design p.e."},{"field":"tipus_tractament (ACA)","meaning":"Treatment type e.g. Biologic amb eliminacio de Nitrogen i Fosfor"},{"field":"explotador, ens_gestor (ACA)","meaning":"Operating company and managing body"},{"field":"NM_HABEQV, DS_ESTADO, DS_TITULA (Madrid)","meaning":"Design p.e., state, owner"}],"how_to_use":{"example_request":"curl -s 'https://analisi.transparenciacatalunya.cat/resource/k288-dig3.json?$limit=2'   and count: curl -s 'https://analisi.transparenciacatalunya.cat/resource/k288-dig3.json?$select=any,count(*)&$group=any'","example_result":"{\"any\":\"2026\",\"codi_sistema\":\"DABR\",\"codi_aglomeracio\":\"ES09080010001010\",\"sistema\":\"ABRERA\",\"latitud\":\"41.5070604\",\"longitud\":\"1.9179097\",\"explotador\":\"ACCIONA AGUA, S.A.U.\",\"tipus_tractament\":\"Biològic amb eliminació de Nitrogen i Fòsfor\",\"cabal_disseny\":\"34500\",\"habitants_equivalents\":\"115000\"}; counts 2024: 564, 2025: 573, 2026: 578. Madrid WFS: {\"DS_NOMBRE\":\"Rejas, las\",\"NM_HABEQV\":685000,\"DS_ESTADO\":\"EnServicio\",\"DS_TITULA\":\"AyuntamientoMadrid\"}","steps":["Catalonia: filter any=<latest closed year> to avoid triplicates (one row per system per year).","Madrid: request outputFormat=application/json; coordinates are EPSG:25830 metres.","Join to the EEA layer: EEA uwwCode = \"ES\" + codi_aglomeracio[3:] + \"E\" when codi_aglomeracio starts with ES0 (240 of 573 ACA rows match).","For regions not opened, search datos.gob.es titles containing \"depuradoras\" (apidata/catalog/dataset/title/depuradoras)."],"reading_traps":["ACA rows repeat each system for 2024, 2025 and 2026 (1,715 rows total); counting rows overstates plants.","ACA habitants_equivalents is a string; 295 of 573 rows in 2025 are below 2,000 p.e.","Aragon resource 112 mixes plants under construction with in-service plants; Baleares CSV carries only names.","Madrid IDEM dataset record on datos.gob.es is dated 2015, the WFS itself returned 155 features on 2026-11-16.","No regional list opened gives treated volume per plant."]},"test":{"tested_on":"2026-11-16","method":"api_query","http_status":200,"content_type":"application/json","size_bytes":null,"records_total":1715,"records_for_country":null,"problems":[]},"evidence":[{"claim":"ACA design flow definition","url":"https://analisi.transparenciacatalunya.cat/api/views/k288-dig3.json","quote":"Cabal de disseny de l'EDAR en m3/dia"},{"claim":"Madrid has more than 150 plants run by Canal de Isabel II","url":"https://www.comunidad.madrid/medio-ambiente/abastecimiento-saneamiento-aguas","quote":"La Comunidad cuenta con más de 150 estaciones depuradoras de aguas residuales (EDAR)"}],"members":[{"name":"Catalonia: ACA, Sistemes publics de sanejament en alta i EDAR","landing_url":"https://analisi.transparenciacatalunya.cat/Medi-Ambient/Sistemes-p-blics-de-sanejament-en-alta-i-estacions/k288-dig3/about_data","data_url":"https://analisi.transparenciacatalunya.cat/resource/k288-dig3.json","access":"api","tested":true,"data_found":null,"note":"573 systems in 2025 (578 in 2026), cabal_disseny m3/day, habitants_equivalents, tipus_tractament, lat/lon, explotador; no treated volume; 240 match the EEA layer."},{"name":"Madrid: EDAR del Canal de Isabel II (IDEM_MA_EDAR WFS)","landing_url":"https://datos.gob.es/apidata/catalog/dataset/a13002908-estaciones-depuradoras-de-aguas-residuales-edar-del-canal-de-isabel-ii-en-la-comunidad-de-madrid.json","data_url":"https://idem.comunidad.madrid/geoidem/ServiciosPublicos/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ServiciosPublicos:IDEM_MA_EDAR&outputFormat=application/json","access":"api","tested":true,"data_found":null,"note":"155 plants, NM_HABEQV p.e., state, owner, EPSG:25830 point; no volume or treatment."},{"name":"Aragon: depuradoras gestionadas o financiadas por la C.A.","landing_url":"https://datos.gob.es/apidata/catalog/dataset/a02002834-depuradoras-de-agua-residual-gestionadas-o-financiadas-por-la-c-a-de-aragon.json","data_url":"https://opendata.aragon.es/GA_OD_Core/download?resource_id=112&formato=csv","access":"direct_download","tested":true,"data_found":null,"note":"Resource 112: 69 rows, design p.e., x_/y_ (UTM), estado (many En construccion); other resource ids 113, 152-157 not opened."},{"name":"Baleares: ABAQUA depuradores","landing_url":"https://datos.gob.es/apidata/catalog/dataset/a04003003-depuradoras-abaqua1.json","data_url":"https://intranet.caib.es/opendatacataleg/files/dataset/depuradores-abaqua/depuradores-abaqua.csv","access":"direct_download","tested":true,"data_found":null,"note":"CSV has one column (NOM), 80 names only; a GeoJSON with the same name exists but was not opened."},{"name":"Comunitat Valenciana: EPSAR, EDAR por municipios","landing_url":"https://www.epsar.gva.es/estaciones-depuradoras-por-municipios","data_url":null,"access":"web_viewer_only","tested":true,"data_found":null,"note":"Paginated HTML list with Caudal de proyecto (m3/d) and installed power; no coordinates or volume on the list."},{"name":"Andalucia: RediAm datos analiticos de EDAR","landing_url":"https://portalrediam.cica.es/geonetwork/static/api/records/b6f49dd1-fd99-4e07-83f7-ec4135b8efe4","data_url":"https://portalrediam.cica.es/descargas?path=%2F05_CALIDAD_AMBIENTAL%2F02_AGUAS%2F02_VERTIDOS%2FDepuradorasAglomUrb","access":"direct_download","tested":false,"data_found":null,"note":"ODS of monitoring data for plants above 2,000 p.e., 2015-2025, CC BY 4.0; metadata page only."},{"name":"Navarra: Depuradoras Plan Director (SHP)","landing_url":"https://datos.gob.es/apidata/catalog/dataset/a15002917-depuradoras-plan-director-saneamiento1.json","data_url":"https://idena.navarra.es/descargas/INFRAE_Sym_Depuradora.zip","access":"direct_download","tested":false,"data_found":null,"note":"Catalogue record only; shapefile of biological plants of the Plan Director, CC BY 4.0."},{"name":"La Rioja: EDARs","landing_url":"https://datos.gob.es/apidata/catalog/dataset/a17002943-estaciones-depuradoras-de-aguas-residuales-edars.json","data_url":"https://ias1.larioja.org/opendata/download?r=Y2Q9MTA4OHxjZj0xNQ%3D%3D","access":"direct_download","tested":false,"data_found":null,"note":"Catalogue record only."}],"members_summary":{"total":null,"listed":8,"tested":5,"data_found":0,"scope_note":"Inherited members; data findings were not reclassified during this structural migration. Consult each member note.","pattern":null},"member_scope":{"total":null,"note":"Inherited members; data findings were not reclassified during this structural migration. Consult each member note.","pattern":null}},{"source_id":"s004","name":"OpenStreetMap man_made=wastewater_plant","publisher":"OpenStreetMap contributors","official":false,"landing_url":"https://taginfo.openstreetmap.org/api/4/tag/stats?key=man_made&value=wastewater_plant","data_url":"https://overpass-api.de/api/interpreter","access":"api","format":"OSM via Overpass JSON","license":"ODbL","language":"multiple","has_coordinates":true,"location_precision":"exact","publisher_type":"community","adds":"Independent crowdsourced outlines/points; no capacity or volume guaranteed.","first_seen_pass":1,"rank":4,"coverage":{"geographic":"Global; Spain count not obtained"},"fine_print":{"unit":{"value":null,"quote":null,"url":null,"attempts":["Taginfo page opened: counts only","Overpass endpoints refused connections from this host"]},"inclusion_rule":{"value":null,"quote":null,"url":null,"attempts":["Taginfo page opened: counts only","Overpass endpoints refused connections from this host"]},"reference_date":{"value":null,"quote":null,"url":null,"attempts":["Taginfo data_until 2026-11-16","Overpass not reachable"]},"update_frequency":{"value":null,"quote":null,"url":null,"attempts":["Taginfo page opened","Overpass not reachable"]},"exclusions":{"value":null,"quote":null,"url":null,"attempts":["Taginfo page opened","Overpass not reachable"]}},"key_fields":[{"field":"man_made=wastewater_plant","meaning":"Tag for sewage treatment plants"},{"field":"capacity, operator","meaning":"Optional tags, fill rate in Spain not measured"}],"how_to_use":{"example_request":"[out:json][timeout:60]; area[\"ISO3166-1\"=\"ES\"][admin_level=2]->.a; nwr[\"man_made\"=\"wastewater_plant\"](area.a); out count;   (sent to https://overpass-api.de/api/interpreter with --data-urlencode \"data@q.txt\")","example_result":"Not obtained: connection refused on overpass-api.de, lz4, z, kumi.systems and private.coffee; maps.mail.ru returned 504. Taginfo global: 93,611 objects (4,026 nodes, 87,618 ways, 1,967 relations).","steps":["Run the Overpass query above for Spain; count and then fetch with out center tags.","Check how many objects carry capacity or operator tags before relying on it."],"reading_traps":["Spain-specific count and tag coverage not measured; taginfo number is global."]},"test":{"tested_on":"2026-11-16","method":"not_tested","http_status":null,"content_type":"application/json","size_bytes":null,"records_total":93611,"records_for_country":null,"problems":[]},"evidence":[{"claim":"Global count of the tag","url":"https://taginfo.openstreetmap.org/api/4/tag/stats?key=man_made&value=wastewater_plant","quote":"{\"type\":\"all\",\"count\":93611"}],"members":[],"members_summary":null}],"sector":{"regulator":{"name":"Ministerio para la Transición Ecológica y el Reto Demográfico (MITECO), Dirección General del Agua","url":"https://www.miteco.gob.es/es/agua/publicaciones/inf_autorizacion_vertido/informes-sobre-autorizaciones-de-vertido-2023.html"},"operators":{"structure":"many","note":"Competence lies originally with municipalities; many plants are run by autonomous-community bodies (ACA, EPSAR) or utilities (Canal de Isabel II). No national operator census found.","census_url":null},"publication_obligation":{"exists":"yes","norm":"Directiva 91/271/CEE art. 15 (transposed by Real Decreto-ley 11/1995 and Real Decreto 509/1996); competent authorities (Comunidades Autonomas) report to the Commission","url":"https://gis.miteco.gob.es/descargas/info/EDAR_Q2023.pdf","what_must_be_published":"Monitoring of discharges and a report including the list of treatment plants and their conformity","frequency":"Every two years (Q2023 covers status at 2022-12-31)"},"consolidated_republication":{"found":"yes","note":"MITECO republishes the national report; the EEA republishes all member states with attributes. Regions publish their own lists in parallel.","checked_pages":[{"organization":"MITECO (IDE descargas)","url":"https://www.miteco.gob.es/es/cartografia-y-sig/ide/descargas/agua/situacion-q2023.html","saw":"Aglomeraciones, Depuradoras and Puntos de vertido Q2023 as SHP, KMZ, GML, GeoPackage; status 31/12/2022; last updated 10/02/2025"},{"organization":"European Environment Agency","url":"https://sdi.eea.europa.eu/catalogue/srv/api/records/88b3b08d-3b1b-4a65-9406-365b218e09da","saw":"Treatment plants reported under UWWTD data call 2023, public final version Oct. 2025, CC-BY 4.0, REST/WMS/GeoPackage"},{"organization":"datos.gob.es","url":"https://datos.gob.es/es/catalogo/e0dat0002-depuradoras-de-aguas-residuales-q2023-dir-91-271-cee","saw":"Catalogue record of the MITECO Q2023 layer with WMS, ATOM and download links, CC BY 4.0"}]}},"national_registry":{"exists":"partial","note":"MITECO Q2023 and the EEA layer are official national sets, but only for plants reported under Directive 91/271/CEE; no national register of all plants, and the MITECO SHP download needs an Altcha challenge.","checked_pages":[{"organization":"MITECO","url":"https://www.miteco.gob.es/es/cartografia-y-sig/ide/descargas/agua/situacion-q2023.html","saw":"Active plants reported in Cuestionario 2023, five download formats"},{"organization":"European Environment Agency","url":"https://sdi.eea.europa.eu/catalogue/srv/api/records/88b3b08d-3b1b-4a65-9406-365b218e09da","saw":"Only active, connected plants with valid coordinates; internal version requires Eionet login"},{"organization":"MITECO PRTR-Espana","url":"https://prtr-es.miteco.gob.es/informes/descargas.aspx","saw":"Complejos ZIP: 9,430 complexes, 188 coded 5.f; name, address, municipality only"},{"organization":"Comunidad de Madrid","url":"https://www.comunidad.madrid/medio-ambiente/abastecimiento-saneamiento-aguas","saw":"More than 150 EDAR run by Canal de Isabel II; refers to the operator site for detail"}]},"if_unstructured":{"summary":null,"recipe":["For a plant missing treated volume in the EEA layer, search the plant name and municipality in the BOE search and in the regional operator reports.","In a BOE environmental-assessment resolution, read the section \"Características del proyecto\": design capacity in p.e. and m3/day appear in one sentence (tested on BOE-A-2025-21097 with pdftotext -layout).","For Comunitat Valenciana, read the EPSAR annual report province table for treated volume; per-plant volume was not found there.","Compare the document figure with uwwCapacity of the same plant in the EEA layer before using either."],"location_method":"Coordinates come from the EEA/MITECO layers or regional lists; the BOE document gives only a textual place (350 m north of Mazagon beach). The PNOA orthophoto and Catastro parcels can confirm a point.","cross_with":["EEA layer joined with MITECO GPKG on uwwCode = localId","ACA/Madrid/Aragon lists for plants below the threshold","Catastro INSPIRE parcels and PNOA orthophoto for position checks"],"where_published":[{"name":"BOE: resoluciones de evaluacion ambiental (MITECO)","url":"https://www.boe.es/buscar/boe.php","what":"Impact reports for plant expansions with design p.e. and m3/day","how_to_search_inside":"Text search at boe.es/buscar/boe.php for \"EDAR\" plus the municipality; only projects subject to state environmental assessment.","example_document":{"url":"https://www.boe.es/boe/dias/2025/10/20/pdfs/BOE-A-2025-21097.pdf","what_it_gives":"BOE-A-2025-21097, Mazagon (Huelva): \"dimensionada para una capacidad máxima de tratamiento de 19.632 habitantes equivalentes y 3.569,46 m³/d\" and location \"350 m al Norte de la playa de Mazagón\" (section Características del proyecto, BOE page 137108; location text on page 137110)."}},{"name":"EPSAR Informe de gestion (Comunitat Valenciana)","url":"https://www.epsar.gva.es/sites/default/files/2020-07/INFORME-DE-GESTION_2019.pdf","what":"Annual management report with treated flow","how_to_search_inside":"PDF with text; open the table on installations in service by province.","example_document":{"url":"https://www.epsar.gva.es/sites/default/files/2020-07/INFORME-DE-GESTION_2019.pdf","what_it_gives":"Table \"INSTALACIONES EN SERVICIO / CAUDAL TRATADO (HM3/AÑO) / HE TRATADOS\": ALICANTE 170, 133,06, 2.436.221; CASTELLON 120, 53,01, 570.941 (PDF page 17). Per province, not per plant."}},{"name":"MITECO Censo Nacional de Vertidos, resumen ejecutivo 2023","url":"https://www.miteco.gob.es/content/dam/miteco/es/agua/publicaciones/vertidos_informe_23_23oct.pdf","what":"Aggregated authorised discharge volumes","how_to_search_inside":"PDF; tables by agglomeration size and river basin district.","example_document":{"url":"https://www.miteco.gob.es/content/dam/miteco/es/agua/publicaciones/vertidos_informe_23_23oct.pdf","what_it_gives":"Index lines \"3.7. Volumen vertido de aguas residuales urbanas por tamaño de aglomeración urbana\"; aggregated, no plant list."}}]},"related_not_answering":[{"name":"iAgua Data, estaciones depuradoras de aguas residuales de Espana","url":"https://www.iagua.es/data/infraestructuras/estaciones-depuradoras-aguas-residuales-espana","why":"Republishes the 91/271 report (2,125 EDAR) by region; no coordinates and no download, and the original is the EEA/MITECO data."},{"name":"PRTR-Espana Complejos ZIP","url":"https://prtr-es.miteco.gob.es/informes/descargas/PRTR_Espana_MITECO_Complejos.zip","why":"188 complexes coded 5.f but only name, address and municipality; no coordinates, capacity or volume."},{"name":"Censo Nacional de Vertidos, resumen ejecutivo 2023","url":"https://www.miteco.gob.es/content/dam/miteco/es/agua/publicaciones/vertidos_informe_23_23oct.pdf","why":"Aggregate discharge volumes by agglomeration size and basin, not a plant list."},{"name":"Idescat Estadistica de tratamiento de aguas residuales urbanas 2023","url":"https://idescat.cat/paae/2024/060204/es","why":"Catalonia aggregates (capacity, treated flow); the page gives no plant-level file."},{"name":"Aglomeraciones urbanas Q2023 (MITECO)","url":"https://www.miteco.gob.es/es/cartografia-y-sig/ide/descargas/agua/situacion-q2023.html","why":"Layer of agglomeration areas, not of plants."}],"open_questions":["BOE-A-2025-21097 gives 19,632 p.e. as the maximum capacity of the Mazagon expansion while the EEA layer gives 53,140 p.e. for MAZAGON; the pages opened do not explain the difference."],"history":[{"pass":1,"date":"2026-11-16","role":"research","model":"Claude Sonnet 5.5 (High)","rules_version":"6.12","note":"EEA UWWTD 2023 layer (REST) gives location, p.e. capacity, treatment flags and m3/yr for 2138 Spanish plants; volume missing for 472; no national list of plants under 2,000 p.e.","headline":{"official_data":"structured","non_official_data":"partial","national_registry":"partial"},"sources":{"total":4,"new":4,"dropped":0},"negatives":{"overturned":0,"confirmed":0},"effort":{"pages":33,"minutes":16}}],"local_terms":[{"term":"EDAR","language":"es","meaning":"estacion depuradora de aguas residuales, treatment plant"},{"term":"depuradora / ERAR / EDARU","language":"es","meaning":"common names for the same plants"},{"term":"habitante equivalente (h-e)","language":"es","meaning":"unit of load: 60 g BOD5/day"},{"term":"aglomeracion urbana","language":"es","meaning":"area served by a collecting system; unit of the 91/271 report"},{"term":"Cuestionario Q2023 / Directiva 91/271/CEE","language":"es","meaning":"the biennial report to the Commission"},{"term":"saneamiento en alta","language":"es/ca","meaning":"trunk collectors and plants (regional or state), versus municipal sewers"},{"term":"caudal de diseno / cabal de disseny","language":"es/ca","meaning":"design flow, m3/day"},{"term":"tratamiento mas riguroso / mas exigente","language":"es","meaning":"more stringent treatment, nutrient removal"}],"provenance":{"pass_count":1,"models":["Claude Sonnet 5.5 (High)"],"minutes_estimate":16,"pages_opened":33,"passes":[{"pass":1,"date":"2026-11-16","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/wastewater-treatment-plants.json","detail_url":"https://georutter.org/v1/es/wastewater-treatment-plants/detail.json","html_url":"https://georutter.org/es/wastewater-treatment-plants/","country_url":"https://georutter.org/v1/countries/es.json"}
