Colin Marquardt pisze:
> The relief layer is different of course, but not so much IMO:
> http://m4.mapserver.mapy.cz/relief-l/11_7e60000_8480000 vs.
> http://opentiles.com/cmarqu/tiles_relief/12/2209/1372.png
> 
> Does anybody have a guess as to what the crucial difference is?
> 
They are more different then You think. In Your case You shade 
luminosity and assign opacity 0.7 (constant alfa). In mapy.cz image is 
all black and in fact shaded alfa channel is making it look relief.

Try to invert Your gray value and make it alfa of new black image.
Then simple composition with base layer without any additional opacity 
change in OpenLayers should be enough.

Nice trick with multiplication by using www browser to apply alfa and 
make it hillshaded.

I tried this too when experimenting, but finally decided for different 
approach (like gimp's merge-grain):
http://mapa.ump.waw.pl/ump-www/?zoom=10&lat=49.54125&lon=19.28081
https://lists.berlios.de/pipermail/mapnik-users/2009-February/001651.html
On the other side, I have some areas too bright.

Comparison of different methods using Your image:
http://mapa.ump.waw.pl/ump-www/mapnik/composing.png

Legend:
without effect     opacity(Your example)
merge-grain(mine)  multiply(mapy.cz)


Marcin Rudowski
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to