openplanetary/opm

Hillshading is not visible

nmanaud opened this issue · 6 comments

CARTO doesn't seem to handle blending (and opacity lower than 1) of color-coded topography with basemap (Hillshade map). We need to find a work around. Vector hillshade is being explored

https://carto.com/docs/carto-engine/cartocss/composite-operations/ says:
"Composite operations are blending modes for your map layers. They fall into two main categories: color and alpha, and can be applied to all non-basemap elements in your CARTO map by adding the comp-op value to your CartoCSS code."

Example:
mars_basemap_v0_1___carto

@nmanaud yes, compositing doesn't work with a background basemap layer but what you can do is color your countour layer and use opacity: 0.5; (or an appropriate value) using opacity versus polygon-opacity will give you the result (I am pretty sure) for example, that's what I did in this map:
https://team.carto.com/u/mamataakella/builder/bc190683-5a9e-47c3-9975-d66c53e0ab6d/embed

Let me know if that works for you.

Thanks @makella ! 👍

great!