GeoRutter

Geospatial data sources by country, with access methods and caveats.

Spain wastewater treatment plants data sources

Where can I get a list of urban wastewater treatment plants in Spain, with location, design capacity, treated volume and treatment level?

Answer

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.

Official data
Structured data
Non official data
Partial coverage
Published
2026-11-19
Research reviewed
2026-11-16
Access checked
No complete access check recorded

Requested attributes

AttributeCoverageSourcesScope and limitations
Plant location locationCovered
  • s001
uwwLatitude/uwwLongitude filled for all 2,138; sample check by region found no points outside their region. EEA states 100 m resolution.
Design capacity design_capacityCovered
  • s001
  • s003
uwwCapacity in p.e. for all 2,138; regional lists add m3/day (ACA, EPSAR) or p.e. (Madrid, Aragon).
Treated volume treated_volumePartially covered
  • s001
uwwWasteWaterTreated (m3/year) filled for 1,666 of 2,138 plants; blank for 472. No plant-level source for the rest found.

Not published: 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.

Treatment level treatment_levelCovered
  • s001
  • s002
  • s003
Boolean flags primary, secondary, more stringent, N and P removal, UV etc.; text type in ACA. Compliance codes P/F per parameter.

Main caveats

Sources

UWWTD Treatment plants, data call 2023, public final version (Oct. 2025)

Source id
s001
Publisher
European Environment Agency (data reported by Spain under Directive 91/271/EEC)
Official
Yes
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
Yes
Location precision
exact
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)
Date of data
2022-12-31 (reporting exercise 2023)
Caveats
  • Consult the main caveats and the complete reading traps and access evidence in the detail.
Test
Tested on
2026-11-16
Method
api_query
Http status
200
Problems
  • Provisional until the Commission compliance check ends (stated in the metadata)
Example
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}
Members summary
Not a grouped source

Depuradoras de aguas residuales (Q2023. Dir 91/271/CEE)

Source id
s002
Publisher
MITECO, Subdireccion General de Planificacion Hidrologica
Official
Yes
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
Yes
Location precision
exact
Summary
Depuradoras de aguas residuales (Q2023. Dir 91/271/CEE)
Coverage note
Spain, including islands
Date of data
2022-12-31
Caveats
  • Consult the main caveats and the complete reading traps and access evidence in the detail.
Test
Tested on
2026-11-16
Method
download
Http status
200
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
Example
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"}
Members summary
Not a grouped source

Regional lists of treatment plants

Source id
s003
Publisher
Autonomous-community bodies and operators (ACA, Comunidad de Madrid/Canal de Isabel II, Aragon, Baleares, EPSAR and others)
Official
Yes
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
Yes
Location precision
exact
Summary
Regional lists of treatment plants
Coverage note
Per region; 8 of 17 regions listed, 5 opened with data
Date of data
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.
Test
Tested on
2026-11-16
Method
api_query
Http status
200
Problems
None recorded
Example
Complete procedure available in the full detail
Members summary
Total
Not stated
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
Not stated

Additional sources in the detail: 1. Read the full detail; locate each source by its source_id.

Document access

Summary
Not stated

Local search terms

Confidence

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.

Research 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.

Record metadata

Schema version
1.0
Country
es
Country name
Spain
Topic
wastewater-treatment-plants
Territory
es
Territory level
country
Parent url
No parent territory
Html url
https://georutter.org/es/wastewater-treatment-plants/