Hi Luca,

As you can see from my site [1][2] I've managed to get things sorted,
so I can give you a quick overview of how it works

* Get SRTM data from NASA [3]
* Use colouring util from perrygeo [4] to make the coloured tiffs
* pre-warp the image using gdal_warp [5]
* Use rastersymbolizer on a raster input layer (not gdal input[6])

Hope that helps get you going - most of the work was exploring the dead ends.

Cheers,
Andy

[1] http://www.opencyclemap.org/?zoom=7&lat=53.8&lon=-1.85&layers=B000
[2] 
http://www.gravitystorm.co.uk/shine/archives/2008/08/17/hill-colouring-on-the-cycle-map/
[3] http://wiki.openstreetmap.org/index.php/Contours#Downloading_data_from_NASA
[4] http://www.perrygeo.net/wordpress/?p=7
[5] because mapnik won't warp it for you, so make sure your raster
layer has the same SRS as the map layer
[5] because gdal_warp gets the coordinates in the geotiff header wrong
on my system for spherical mercator warping. I work out the hix hiy
etc for mapnik using mapnik's projection code, and put that into a
raster input plugin layer definition instead.



On Wed, Aug 20, 2008 at 6:30 PM, L N <[EMAIL PROTECTED]> wrote:
> Hello,
>
> has anyone an answer to Andy's question ?
>
>>Hi All,
>>
>>I've been looking at shaded relief, as per the mapnik demos:
>>http://mapnik.org/maps/shaded_relief/
>>http://mapnik.org/maps/srtm_relief/
>>
>>Is the code to convert SRTM -> shaded relief rasters available anywhere?
>>
>>Thanks,
>>Andy
>
> __________________________________________________
> Do You Yahoo!?
> Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto
> spazio gratuito per i tuoi file e i messaggi
> http://mail.yahoo.it
> _______________________________________________
> 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