Basically, an app from Google App Engine makes a request to Earth Engine (server to server basis) then renders this image to a web page.

In my case, it requested SRTM data:

    mapid = ee.Image('USGS/SRTMGL1_003').clip(bound).getMapId({'min': 0, 'max': 1000})

I was able to replicate demo described in Google EE demo apps in my localhost and online as well: https://service00-201702.appspot.com/

However, as you see the DEM is in black and white and without legend. Do you know where to config its color ramp and legend which shows elevation range with color ?

This is github link for this app: github.com/google/earthengine-api

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.