The final input of my work will be quintile
ee.Image objects. To test my display I would like to create an
ee.Image with the value in each pixel set randomly in [1, 5] (only integer).
I have already an
ee.Image that could be used as a base:
var data = ee.Image('Oxford/MAP/accessibility_to_cities_2015_v1_0')
I just want to rewrite every pixel in it.
Is there a simple way to do that in Google Earth Engine ?