[OSM-talk] OpenHikingMap - OpenCycleMap
osm.list at randomjunk.co.uk
Wed Feb 4 13:58:28 GMT 2009
2009/2/4 Stéphane Brunner <stephane.brunner at gmail.com>:
> With Sylvain Letuffe we progress to create an OpenHikingMap but we
> have some technical problem.
> He succeed to create geoTiff files for 1°x1° but if we generate a map
> of the total world we have thousands of files. And how to include it
> in the mapnik style file ?
> For contour generation we should generate if world wide in one time if
> we don't want to have some brake on the 1°x1° tiles borders.
> Where is it possible to download the mapnik style file (osm.xml) used
> to create OpenCycleMap it can be a good base.
We have a python script that creates a layer for each tiff produced.
I've attached it, it has some hardcoded paths so you'll need to edit
it. The generated file is then included into the mapnik style sheet --
you can use XML entities to do that . Make sure you're using a
recent version of Mapnik (svn version 789 or later) because otherwise
it can't handle the thousands of layers efficiently due to a bug.
For the contours we haven't figured out how to prevent those
irritating joins on the srtm tile boundary yet. They're not that
noticable. If you figure it out do let me & andy know :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2002 bytes
Desc: not available
More information about the talk