On 21 November 2014 at 11:20, Max S <
basi...@gmail.com> wrote:
> So I expect I have to
> convert these images, chop them up in tiles and so on, so that Mapnik can be
> used to serve them.
That's not the approach I would take. For a start, mapnik doesn't
"serve" the end results - it's just a library, so you need some piece
of software like mod_tile or tilestache to serve them. Mapnik is the
library that will read the GeoTIFFs, reproject them, and knows what to
do when a tile is requested.
So the first step is to create a mapnik config file with the GeoTIFFs
as datasources (I recommend the GDAL datasource, rather than the basic
raster datasource). Your symbolizer will be a RasterSymbolizer where
you can choose scaling algorithms etc (and even recolour things if you
need to).
If you have hundreds of geotiffs, I'd recommend building a gdal .vrt
file first (using gdalbuildvrt) to cut down on the number of layers
used - it just saves a bit of sanity. If you're new to mapnik, I'd
also suggest building your config file using Tilemill, where feedback
is quick and results are easy to see, and then exporting the XML to
use in mod_tile/tilestache/whatever later on.
Cheers,
Andy