Excellent! I'll give it a go asap. Artem On 25 Dec 2008, at 22:12, Brian Quinion wrote:
> Hi, > > The patch is too large for the mailing list, so you can instead > download it here: http://osm.sjjb.co.uk/mod_tile_ini.diff > > This patch adds various extra options to mod_tile: > > - Support for multiple named mapnik/tile configurations > > - Extra apache directives, e.g.: > > AddTileConfig /uri/ ConfigName > AddTileConfig /osm/ Postcode > LoadTileConfig /etc/renderd.conf > > - Config file support (by default /etc/renderd.conf) of the format: > > [Default] > URI=/osm_tiles2/ > XML=/home/jburgess/osm/svn.openstreetmap.org/applications/rendering/ > mapnik/osm.xml > > [Postcode] > URI=/osm/ > XML=/home/jburgess/osm/svn.openstreetmap.org/applications/rendering/ > mapnik/postcode.xml > > - Changes so mod_tile only effects a specific apache virtual host (the > one where the Add/LoadTileConfig directive is used) > > - Removed the requirement for the meta tiles directory to be in the > web root, moved by default to /var/lib/mod_tile/ > > As a side effect of these changes the protocol version is moved up to > 2 and an extra level of hierarchy is introduced into the HASH_PATH for > the name of the mapnik xml file. To preserve the existing meta files > they need to be manually moved to the new folder structure by creating > a 'Default' folder and moving the files into it. > > I've tested this but could easily have missed something. > > If people are happy with these changes I will happily commit them to > svn but it's quite a significant change! > -- > Brian > > _______________________________________________ > dev mailing list > dev@openstreetmap.org > http://lists.openstreetmap.org/listinfo/dev _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev