Skip to content

split map with 'custom' image collection? #2094

Closed Answered by giswqs
rodrigo-j-goncalves asked this question in Q&A
Discussion options

You must be logged in to vote

The collection has over 5000 elements. You need to do some pre-processing before you can use split map.

import ee
import geemap
m = geemap.Map()
esri_lulc_ts= ee.ImageCollection("projects/sat-io/open-datasets/landcover/ESRI_Global-LULC_10m_TS")
year_2017 = esri_lulc_ts.filterDate('2017-01-01','2017-12-31').mosaic().remap([1,2,4,5,7,8,9,10,11],[1,2,3,4,5,6,7,8,9])
year_2023 = esri_lulc_ts.filterDate('2023-01-01','2023-12-31').mosaic().remap([1,2,4,5,7,8,9,10,11],[1,2,3,4,5,6,7,8,9])
lengend_dict = geemap.builtin_legends['ESRI_LandCover_TS']
vis_params = {"min": 1, "max": 9, "palette": list(lengend_dict.values())}
layer_2017 = geemap.ee_tile_layer(year_2017, vis_params, '2017')
layer_2023 = g…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rodrigo-j-goncalves
Comment options

Answer selected by giswqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants