Commit Graph

32 Commits

Author SHA1 Message Date
f53545e7dc Add some per zoom level timing information to render_list
This should allow render_list to be used more easily for benchmarking with a
well known list of tiles as reference.
2013-04-14 19:21:19 -06:00
33055b84de [render_list] fix invalid free() in case of default mapname or tilepath 2013-03-26 15:52:08 +00:00
e8001c859f Add support for pluggable storage backends to mod_tile / renderd
So far, (meta)tiles could only be stored and retrieved from a locally mounted posix filesystem.  Although, the posix
filesystem API is it self a plugable storage layer into which one can mount many different filsystems, from temporary
filesystems to network filesystems, as mod_tile installations scale up to multi-server environments this might not be sufficient and one
may want to use other storage layers.

This patch therefore abstracts all storage calls out into a separate API that can be implemented by various storage backends to fit the needs of different
installations. 

Three storage backends are included in this commit:

- file backend: This is the equivalent of what existed before in mod_tile / renderd. This uses a posix filesystem to store (meta)tiles
- memcached: This stores tiles in a memcached store
- rados: This stores tiles in a rados / ceph cluster

The memcached and rados backends should currently still be considered as experimental

There are also other refactoring and cleanups in this commit
2013-03-23 22:19:30 +00:00
d27101ee6f [mod_tile] Add some configure compatibility fixes for solaris 2012-09-15 18:35:50 +00:00
9f284bfece [mod_tile] bzero is defined in <strings.h> but was not included
On Linux strings.h must have been included through some other header, 
but on solaris it isn't. So it needs to explicitly be included.
2012-09-02 01:15:26 +00:00
6731509c8d finally remove hardcoded tile path and replace it by config option 2012-07-26 21:37:50 +00:00
76ae48d93d render_list: attempt to adjust the stats for the QMAX tiles which are likely in the queue 2011-07-02 20:22:55 +00:00
6bb5f5cfce render_list: display message when the tile zoom is out of range 2011-07-02 19:36:23 +00:00
63612ebb94 render_list: add -f and -l into getopt list 2011-07-02 19:01:11 +00:00
a120b00289 mod_tile: move load average check to the render-threads to prevent them emptying the queue while overloaded 2010-09-29 20:34:16 +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
d3c56c0251 make max load configurable 2009-11-23 00:10:32 +00:00
f3212b418e add --force parameter to override planet_import_complete timestamp check 2009-11-22 23:58:03 +00:00
4c097f7e19 Fix threading issue in render_old & render_list which caused some threads to be unused 2009-11-22 22:24:02 +00:00
7e3f77a946 render_list should be using xyz_to_meta() since that is what we're looking for, not a png file 2009-11-22 22:07:49 +00:00
3d919046af Add multiple request threads into render_list 2009-11-15 17:52:02 +00:00
082b47a1ee bugfix: count rendered tiles in --all mode of render_list 2009-06-15 12:07:35 +00:00
7001143317 off-by-one bug fixed for render_list -a 2009-06-12 15:35:15 +00:00
2cb5480cc7 Fixes to debian scripts
renderd starts in background mode now by default (use -f|--foreground for old behaviour)
2009-06-12 13:07:05 +00:00
62d025ae60 another step towards making tile directory configurable at runtime (still some places left that use hardcoded HASH_PATH) 2009-06-12 10:09:08 +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
753f9e11db Added --min/max-x/y options to restrict tile range when using --all 2009-06-10 13:25:18 +00:00
7fb1c6a7ba Added --socket command line option to render_list and render_old (unix domain socket to connect to renderd)
Added --map command line option to render_list (name of map config instead of "default")
Added --all command line option to render_list (render all tiles in given zoom levels instead of reading from stdin)
2009-06-10 12:07:10 +00:00
101f422926 Applied MacOSX compile fixes from Artem with a few modifications 2009-01-10 15:50:02 +00:00
1b6b685fa7 Make render_list generate V2 requests with the Default layer 2009-01-10 15:37:08 +00:00
1a3958cf0d mod_tile: New apache directives and options for multiple tile sets 2009-01-05 22:43:54 +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
72796eb4de Include limits.h for PATH_MAX definition. 2008-05-20 07:44:55 +00:00
6679aeb8a3 mod_tile: Add render_old which automatically requests the rendering of old tiles 2008-02-02 18:58:25 +00:00
8a32a2664e mod_tile: Enhance render_list to take into account last planet import time 2008-02-02 17:31:43 +00:00
3af8fe46a9 mod_tile: Accept normal x,y,z format in render_list 2008-02-01 19:59:08 +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