What Mapnik version are you using? Trunk is the only code that supports setting 
transparency and colors for given data values. Also I be you want to preprocess 
with gdal_translate not Gdalwarp. 

Dane

--- \o/ ---
Sent from my phone

On Jun 7, 2011, at 2:02 AM, Ayahnya Fathimah <[email protected]> wrote:

> Hi,
> 
> I would like to draw hillshading using RasterSymbolizer.
> the tiff source is a result of gdaldem hillshade process. it is a gray
> scaled image.
> 
> supposed the Map bgcolor is defined as #82b2e0
> 
> How can I achieve that the ocean color in rastersylmolizer is the map bgcolor?
> 
> I already tried to use gdalwarp to replace the ocean part in the tif
> image to white.
> and set the rastersylmbolyzer mode to multiply. but I dont get #82b2e0
> as color result in the ocean.
> I though if the forground is white I will get the bgcolor as a result.
> 
> What I want to achieve is to avoid the ocean is affected by hillshading.
> 
> Any help would be appreciated.
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to