I am trying to work on weighted overlay analysis in Google Earth Engine Python API. I have reclassified my layers and tryting to assign weights for each of my selected indicators. Getting errors. Could anybody suggest appropriate ways to do so.
Sample code:
overlay = image.expression(
('0.6 * slopereclass) + (0.4 * elevationreclass))', {
'Slopereclass': image.select('slopereclass'),
'elevationreclass': image.select('elevationreclass')
}))
``
where `slopereclass` is reclassified slope and `elevationreclss` is reclassified elevation.