Madrid is a very green city.
Among the cartographic data made available by the Municipality of Madrid there are the green areas for each district.

You can find the data on this page Cartografía municipal por distritos a escala 1: 1000, SHP format, ETRS89
The resource is a set of zip files (one for each district of Madrid) which each contain several layers in ESRI Shapefile format
. A description for each layer contained in the zip archives of each district,in spanish language, is available in the file cartografia-distritos-1-1000.csv

We have extracted some of these datasets and created geojson files covering the whole territory.

  • garden areas(35Mb)
    original file: 11_zona_ajardinada_p.shp
    description: garden areas enclosure
  • garden courtyards areas (2,2Mb)
    original file: 11_zona_ajardinada_sobre_patio_p.shp
    description: garden area on courtyard

Attention:
the data of the garden areas contain only the polygonal without any attributes


The data is open data and is licensed under these conditions

The general conditions allow the reuse of data for commercial and non-commercial purposes. You have to cite the origin of the data as Madrid City Council and not suggest the Madrid City Council supports your work

Please read the complete license here in particular the section relative to the *Condiciones generales para la reutilización*