[OSM-dev] [Mapnik-devel] reliefs madness

Artem Pavlenko artem.mapnik at googlemail.com
Wed Jan 9 09:26:34 GMT 2008


http://mapnik.org/maps/srtm_relief/

This is an experiment to see how OSM data can be overlaid on top of  
relief maps and test warping etc. I haven't spent time to adjust  
cartography just got rid of everything apart from 'places' and mayor  
roads. Tiles are in Mercator projection (same as OSM) and quantized  
by Mapnik to have max 256 colours.

I'm using the following gradient  (0-5000m)

0 RGB(0,96,70,255)
0.010204 RGB(15,121,47,255)
0.102041 RGB(232,214,124,255)
0.244898 RGB(161,66,0,255)
0.346939 RGB(158,0,0,255)
0.571429 RGB(110,110,110,255)
0.816327 RGB(255,255,255,255)

./bin/darwin/release/relief -- 
bbox=-841180.171507,6373242.87273,-114662.443602,7524074.4827  ./ 
srtm  relief_1.png --z 4 --az=180 --alt=45  --sea=lightblue -g ~/ 
gradient/DEM_poster.ggr --end=5000

I'm aware of voids and 'below sea level' areas (TODO) and I'm looking  
for the best solution. Ideas welcome!


Cheers
Artem








More information about the dev mailing list