On Wednesday 18 Nov 2009 1:01:45 pm Peter Körner wrote: > Nothing in the apache error log, I guess..? Maybe you changed sth. you > better shouldn't touch. Can you make a diff against the original > checkout and post it here, so we can see what you changed? > the diff is attached - I also changed some C thing into long int, but it wasn't working even before that. -- regards Kenneth Gonsalves Senior Project Officer NRC-FOSS http://nrcfosshelpline.in/web/
Only in mod_tile/: convert_meta diff mod_tile/convert_meta.c modtile/convert_meta.c 36c36 < static int maxZoom = 20; --- > static int maxZoom = 18; 123,124c123,124 < if (minZoom < 0 || minZoom > 20) { < fprintf(stderr, "Invalid minimum zoom selected, must be between 0 and 20\n"); --- > if (minZoom < 0 || minZoom > 18) { > fprintf(stderr, "Invalid minimum zoom selected, must be between 0 and 18\n"); 130,131c130,131 < if (maxZoom < 0 || maxZoom > 20) { < fprintf(stderr, "Invalid maximum zoom selected, must be between 0 and 20\n"); --- > if (maxZoom < 0 || maxZoom > 18) { > fprintf(stderr, "Invalid maximum zoom selected, must be between 0 and 18\n"); 154c154 < fprintf(stderr, " -Z, --max-zoom only process tiles less than or equal to this zoom level (default is 20)\n"); --- > fprintf(stderr, " -Z, --max-zoom only process tiles less than or equal to this zoom level (default is 18)\n"); Common subdirectories: mod_tile/debian and modtile/debian Only in mod_tile/: dir_utils.lo Only in mod_tile/: dir_utils.o Only in mod_tile/: dir_utils.slo diff mod_tile/gen_tile.cpp modtile/gen_tile.cpp 44c44 < static const int maxZoom = 20; --- > static const int maxZoom = 18; 64c64 < SphericalProjection(int levels=20) { --- > SphericalProjection(int levels=18) { Common subdirectories: mod_tile/iniparser3.0b and modtile/iniparser3.0b Only in mod_tile/: .libs diff mod_tile/Makefile modtile/Makefile 39c39 < RENDER_LDFLAGS += -lmapnik -L/usr/local/lib -Liniparser3.0b -liniparser --- > RENDER_LDFLAGS += -lmapnik -L/usr/local/lib64 -Liniparser3.0b -liniparser diff mod_tile/mod_tile.c modtile/mod_tile.c 57,65c57,65 < long int noResp200; < long int noResp304; < long int noResp404; < long int noResp5XX; < long int noRespOther; < long int noFreshCache; < long int noFreshRender; < long int noOldCache; < long int noOldRender; --- > apr_uint64_t noResp200; > apr_uint64_t noResp304; > apr_uint64_t noResp404; > apr_uint64_t noResp5XX; > apr_uint64_t noRespOther; > apr_uint64_t noFreshCache; > apr_uint64_t noFreshRender; > apr_uint64_t noOldCache; > apr_uint64_t noOldRender; Only in mod_tile/: mod_tile.c~ Only in mod_tile/: mod_tile.la Only in mod_tile/: mod_tile.lo Only in mod_tile/: mod_tile.o Only in mod_tile/: mod_tile.slo Common subdirectories: mod_tile/munin and modtile/munin diff mod_tile/render_all modtile/render_all 3c3 < for z in `seq 0 20` --- > for z in `seq 0 18` diff mod_tile/render_config.h modtile/render_config.h 4c4 < #define MAX_ZOOM 20 --- > #define MAX_ZOOM 18 34c34 < #define MAPNIK_PLUGINS "/usr/local/lib/mapnik/input" --- > #define MAPNIK_PLUGINS "/usr/local/lib64/mapnik/input" 37c37 < #define FONT_DIR "/usr/local/lib/mapnik/fonts" --- > #define FONT_DIR "/usr/local/lib64/mapnik/fonts" Only in mod_tile/: renderd diff mod_tile/renderd.conf modtile/renderd.conf 8,9c8,9 < plugins_dir=/usr/local/lib/mapnik/input < font_dir=/usr/local/lib/mapnik/fonts --- > plugins_dir=/usr/local/lib64/mapnik/input > font_dir=/usr/local/lib64/mapnik/fonts 14,15c14,15 < XML=/home/lawgon/install/mapnik/india.xml < :HOST=tile.openstreetmap.org --- > XML=/home/jburgess/osm/svn.openstreetmap.org/applications/rendering/mapnik/osm-local.xml > HOST=tile.openstreetmap.org diff mod_tile/renderd.py modtile/renderd.py 42c42 < MAX_ZOOM = 20 --- > MAX_ZOOM = 18 164c164 < def __init__(self,levels=20): --- > def __init__(self,levels=18): 551c551 < num_threads=16 --- > num_threads=4 Only in mod_tile/: render_list diff mod_tile/render_list.c modtile/render_list.c 34c34 < static int maxZoom = 20; --- > static int maxZoom = 18; 399,400c399,400 < if (minZoom < 0 || minZoom > 20) { < fprintf(stderr, "Invalid minimum zoom selected, must be between 0 and 20\n"); --- > if (minZoom < 0 || minZoom > 18) { > fprintf(stderr, "Invalid minimum zoom selected, must be between 0 and 18\n"); 406,407c406,407 < if (maxZoom < 0 || maxZoom > 20) { < fprintf(stderr, "Invalid maximum zoom selected, must be between 0 and 20\n"); --- > if (maxZoom < 0 || maxZoom > 18) { > fprintf(stderr, "Invalid maximum zoom selected, must be between 0 and 18\n"); 422c422 < fprintf(stderr, " -Z, --max-zoom=ZOOM filter input to only render tiles less than or equal to this zoom level (default is 20)\n"); --- > fprintf(stderr, " -Z, --max-zoom=ZOOM filter input to only render tiles less than or equal to this zoom level (default is 18)\n"); Only in mod_tile/: render_old diff mod_tile/render_old.c modtile/render_old.c 38c38 < static int maxZoom = 20; --- > static int maxZoom = 18; 434,435c434,435 < if (minZoom < 0 || minZoom > 20) { < fprintf(stderr, "Invalid minimum zoom selected, must be between 0 and 20\n"); --- > if (minZoom < 0 || minZoom > 18) { > fprintf(stderr, "Invalid minimum zoom selected, must be between 0 and 18\n"); 441,442c441,442 < if (maxZoom < 0 || maxZoom > 20) { < fprintf(stderr, "Invalid maximum zoom selected, must be between 0 and 20\n"); --- > if (maxZoom < 0 || maxZoom > 18) { > fprintf(stderr, "Invalid maximum zoom selected, must be between 0 and 18\n"); 455c455 < fprintf(stderr, " -Z, --max-zoom=ZOOM filter input to only render tiles less than or equal to this zoom level (default 20)\n"); --- > fprintf(stderr, " -Z, --max-zoom=ZOOM filter input to only render tiles less than or equal to this zoom level (default 18)\n"); Only in mod_tile/: speedtest diff mod_tile/speedtest.cpp modtile/speedtest.cpp 33c33 < static const int maxZoom = 20; --- > static const int maxZoom = 18; 71c71 < GoogleProjection(int levels=20) { --- > GoogleProjection(int levels=18) { Only in mod_tile/: store.lo Only in mod_tile/: store.o Only in mod_tile/: store.slo Common subdirectories: mod_tile/.svn and modtile/.svn diff mod_tile/update modtile/update 44,45c44,45 < rm -fR `seq 0 20` < mkdir `seq 0 20` --- > rm -fR `seq 0 18` > mkdir `seq 0 18`
_______________________________________________ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk