Commit Graph

27 Commits

Author SHA1 Message Date
9fe9e22b2c mod_tile: Catch errors from render threads to exit cleanly 2011-04-03 16:58:15 +00:00
4c10a2baa6 mod_tile: turn on exceptions for file errors when writing tiles 2011-04-03 15:28:06 +00:00
28590890da mod_tile: Add extra header file and wrap a couple of defines to fix compilation errors & warnings 2010-09-27 13:42:37 +00:00
79aa013e0b mod_tile: replace all static max_zoom values of 18 with MAX_ZOOM constant. Patch derived from the work of the Geopard Team, especially Jonathan-David SCHRODER <jonathan.schroder@gmail.com> 2010-09-10 23:55:42 +00:00
02a0afa883 [renderd] Add a munin graph to show how much time renderd spends rendering tiles of various zoom levels
With this graph, it is hopefully possible to see where (i.e. towards which zoomlevel) most of the rendering time goes,
and thus might give some indication where optimisations in the style sheet are best focused at, if performance is an issue.
It useses purely wallclock time and thus does not account for individual resources.
2010-09-01 20:19:26 +00:00
9781bd9ecd fixup mapnik2 support in gen_tile.cpp 2010-08-30 23:38:39 +00:00
e55edcd706 mod_tile: Clean up what happens when a request comes in for a layer which failed to load 2010-07-07 21:33:38 +00:00
7a2e9c0d9e mod_tile: Catch and report config_error exceptions from Mapnik while loading the map style 2010-07-07 21:00:48 +00:00
d53c3cd447 [mod_tile renderd munin] report mod_tile / renderd usage by zoom level via munin 2010-03-05 18:35:10 +00:00
489d744858 check mapnik version, compatibility with 0.8 2010-01-15 16:56:46 +00:00
c95fdb710f [renderd] Add the ability to explicitly expire renderd tiles from proxys via HTCP
For large setups of mod_tile, and renderd, it may be beneficial to have a reverse proxy infront of the main tile server.
However when using a fast updating db e.g. running off the minutly diffs, the proxy may either deliver stale content, or the
cache expiry has to be set very short, which limits the effectiveness of the proxy. Instead, this patch adds an explicit
mechanism to renderd to signal to the proxy which tiles have been rerendered and thus should be discarded from the cache.
2009-06-10 19:16:53 +00:00
29080ad2ec More changes to make the tile cache directory configurable at runtime
* -t|--tile-dir option for render_list and convert_meta
* renderd reads it from renderd.conf section "[renderd]" setting "tile_dir"
* mod_tile reads from Apache conf ModTileTileDir directive
There are still some places in store.c left, where HASH_DIR is used directly. More fixes needed.
2009-06-10 16:26:12 +00:00
ed0bd0f71f renderd uses syslog now instead of logging messages to stderr
renderd has -c, --config option to set config file at runtime
2009-06-09 16:22:28 +00:00
875a253533 Renderd uses iniparser3.0b ini file parser now which is included
Made renderd more configurable at runtime: socketname, num_threads and the mapnik settings plugins_dir, font_dir, and font_dir_recurse are now available through renderd.conf
    There should be only one incompatible change: the [Default] section in the config is now in all lowercase "[default]" because the parser lib gives section and key names back in lowercase
2009-06-09 15:34:15 +00:00
3b1ad8432f - Added Apache config options for MAX_LOAD_OLD, MAX_LOAD_MISSING and REQUEST_TIMEOUT, defined in C code are only default values now
- Preparation for adding minzoom and maxzoom to config
2009-06-04 16:09:02 +00:00
098276b83e Improve efficiency by using map.buffer instead of implementing our own rendering gutter. Avoid saving intermediate png files during rendering (This requires mapnik svn >= r814). Determine map projection from <Map> object instead of hard coding. Partial re-write of meta-tile code to C++. 2009-01-20 00:35:26 +00:00
101f422926 Applied MacOSX compile fixes from Artem with a few modifications 2009-01-10 15:50:02 +00:00
1a3958cf0d mod_tile: New apache directives and options for multiple tile sets 2009-01-05 22:43:54 +00:00
3a636b98b2 mod_tile: Remove the map_lock. If this causes corrupted map tiles then you need to upgrade to a newer version of Mapnik (or set NUM_THREADS to 1). 2008-06-23 23:05:31 +00:00
4794bbc6ca mod_tile: Move map style & font location into render_config.h. Fix up operation with non-metatile rendering. Several utilities are not implemented for non-metatile (render_list, render_old, speedtest). 2008-06-23 21:55:47 +00:00
b1f2b3b516 mod_tile: Check for bad status during directory creation or rename 2008-06-10 22:47:48 +00:00
923337038c mod_tile: Update to a new meta tile scheme which stores all sub-tiles in a single .meta file. The PNG files are extracted from this on the fly by mod_tile. This is more efficient in disk space and inode usage 2008-02-16 20:30:49 +00:00
b810ae20d7 mod_tile: Adjust to latest Mapnik API 2008-01-30 18:30:40 +00:00
f6d777fb82 mod_tile: remove unused ImageMagick header 2008-01-23 21:38:14 +00:00
060498b387 mod_tile: Implement meta-tiles. Add speed test and tool to allow bulk rendering of tile list from stdin 2008-01-23 20:49:40 +00:00
bfeb102662 mod_tile: Implement directory hashing. Improve reconnection between mod_tile and renderer. Use new Mapnik native code for cutting and saving the tiles in 256 colours. Removes ImageMagick dependency. 2008-01-20 17:42:58 +00:00
cd9801bc1e mod_tile: Apache module and rendering daemon for serving OSM tiles 2007-10-12 21:18:59 +00:00