Code for "A 10 m resolution urban green space map for major Latin American cities from Sentinel-2 remote sensing images and OpenStreetMap". The green space map is deposited @ figshare (https://doi.org/10.6084/m9.figshare.19803790)
Here we provide data and code using a toy example, with City ID='CO_001’ (Apartado, Colombia).
To try this toy example, first run Code/01_download_images_from_GEE.ipynb to download Sentinel-2 images to Sample_image, then run Code/02_classification where the output UGS map is saved at Results. In addition, users will need to download the OSM polygons beforehand and save them to OSM.