[OSM-dev] mod_tile svn's project variables 1)hardcoded 2)in many files
Jonathan-David SCHRODER
jonathan.schroder at gmail.com
Fri Jan 15 14:26:18 GMT 2010
Hello,
this relates to a feature request as to mod tile concering path variables.
I stumbled upon this because I need to edit several files before starting to
compile.
In mod_tiles from http://svn.openstreetmap.org/applications/utils/mod_tile
many paths are hardcoded in separate files
it would be nice:
a) to have them written in a single file...
b) have them loaded at runtime by mod_tile so as to be able to change them
and restart mod_tile/apache to work on new paths (eg. just in the
mod_tile.conf or a mod_tile_more_config.conf file).
Take care
Jonathan
root at domU-12-31-39-00-5D-87:~/mod_tile# grep "#define" * -R | grep "\"/"
daemon.c:#define PIDFILE "/var/run/renderd/renderd.pid"
mysql2file.c:#define WWW_ROOT "/var/www/html"
mysql2file.c:#define TILE_PATH "/osm_tiles2"
protocol.h:#define RENDER_SOCKET "/tmp/osm-renderd"
render_config.h:#define HASH_PATH "/var/lib/mod_tile"
render_config.h://#define TILE_PATH "/var/www/html/osm_tiles2"
render_config.h:#define RENDERD_CONFIG "/etc/renderd.conf"
render_config.h:#define MAPNIK_PLUGINS "/usr/local/lib64/mapnik/input"
render_config.h:#define FONT_DIR "/usr/local/lib64/mapnik/fonts"
render_config.h:#define PLANET_TIMESTAMP "/planet-import-complete"
render_config.h.mine:#define HASH_PATH "/var/lib/mod_tile"
render_config.h.mine://#define TILE_PATH "/var/www/html/osm_tiles2"
render_config.h.mine:#define RENDERD_CONFIG "/etc/renderd.conf"
render_config.h.mine:#define MAPNIK_PLUGINS "/usr/local/lib/mapnik/input"
render_config.h.mine:#define FONT_DIR "/usr/local/lib32/mapnik/fonts"
render_config.h.mine:#define PLANET_TIMESTAMP "/planet-import-complete"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100115/2e0b1549/attachment.html>
More information about the dev
mailing list