On Tue, 2011-08-09 at 01:56 -0700, NopMap wrote: > Hi! > > My server is using tirex and a fairly standard mapnik rendering backend to > create map tiles. There are also tiles with elevation contour lines which > are pre-rendered offline and uploaded. Not exactly state of the art. > > I would like to put tirex in control of rendering those contours also. > Naturally, they will never expire, but this would make nice hill shading and > contours available for all zoom levels, not just those where pre-rendering > is feasible. However, the contour tiles cannot be created by mapnik directly > as they need certain alpha channel techniques that mapnik does not provide. > The rendering in this case is done by a python script with mapnik binding > and PIL postprocessing. > > Is it possible to connect tirex to a python rendering backend? > Has anybody experience with this? > How would the skeleton of such a python script need to look like?
Perhaps you can take a look at the code http://svn.openstreetmap.org/applications/utils/tirex/lib/Tirex/Backend/Test.pm I would argue it's possible :) > > bye > Nop > > > -- > View this message in context: > http://gis.638310.n2.nabble.com/Tirex-and-python-rendering-backend-tp6667407p6667407.html > Sent from the Developer Discussion mailing list archive at Nabble.com. > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/dev _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

