diff --git a/city_metrix/layers/impervious_surface.py b/city_metrix/layers/impervious_surface.py index dc2133a..ee278d4 100644 --- a/city_metrix/layers/impervious_surface.py +++ b/city_metrix/layers/impervious_surface.py @@ -12,7 +12,7 @@ def __init__(self, **kwargs): def get_data(self, bbox): # load impervious_surface - dataset = ee.Image("Tsinghua/FROM-GLC/GAIA/v10").gt(0) # change_year_index is zero if permeable as of 2018 + dataset = ee.ImageCollection(ee.Image("Tsinghua/FROM-GLC/GAIA/v10").gt(0)) # change_year_index is zero if permeable as of 2018 imperv_surf = ee.ImageCollection(dataset .filterBounds(ee.Geometry.BBox(*bbox)) .select('change_year_index')