Commit Graph

427 Commits

Author SHA1 Message Date
b269c60344 fix #4532 - one of the printfs actually was a scanf 2012-08-25 14:52:24 +00:00
ddcfcd999f typos 2012-08-16 21:47:22 +00:00
3430b4fc9c [mod_tile] Fix segfault in apache if ServerName is not specified in apache site config
The auto-config feature for tile-layer.json was probing the ServerName variable. To fix the
segfault, it now uses "localhost" if this variable is NULL. This needs a better fix later.
2012-08-14 15:23:04 +00:00
ef4b36a7b5 fix possible, but unlikely buffer overflow 2012-08-07 16:28:23 +00:00
6731509c8d finally remove hardcoded tile path and replace it by config option 2012-07-26 21:37:50 +00:00
4362093d39 add some ignores 2012-07-26 12:09:35 +00:00
c0cf1caa92 update license to latest V2.0 version - typo fixes and FSF address update 2012-07-26 12:04:25 +00:00
eac1da42b6 fix buffer overflow 2012-07-26 11:58:04 +00:00
ff8a2ec952 do not depend directly on mapnik::config_error 2012-07-20 20:40:45 +00:00
3e4284d8e4 touchup mapnik usage to support current master and older versions more cleanly 2012-07-20 20:35:22 +00:00
53f7c572aa [mod_tile] Implement a tilejson endpoint.
Implement a tilejson endpoint to automatically configure a tile layer.
It follows the spec as described in https://github.com/mapbox/tilejson-spec/tree/master/2.0.0

Using TileJSON for specifying layer information was suggested in http://lists.openstreetmap.org/pipermail/dev/2012-July/025215.html
2012-07-14 20:33:21 +00:00
a077f872f7 simple conversion script from metatiles to tiles 2012-07-12 20:13:02 +00:00
75f4c10396 reduce memory corruption 2012-06-29 12:55:55 +00:00
00ca1532e8 fix build issue 2012-06-26 08:59:56 +00:00
122fc84fbc dynamically allocate memory for per-layer statistics; do not segfault
when more than XMLCONFIGS_MAX layers in use.
2012-06-23 20:05:19 +00:00
f3bdcad327 whitespace fixes 2012-06-23 19:28:43 +00:00
bc9a9f7923 [mod_tile] Add a few more debuging log messages to track down issues in tile serving pathway 2012-03-24 19:48:49 +00:00
375b7057b2 +add mapnik/config_error.hpp. Fixes #4303. 2012-03-20 21:39:20 +00:00
007aea4588 [renderd] Print mapnik version used in renderd on start up
I have seen several cases recently in which renderd was using a different version of mapnik than the user expected,
as both Mapnik version 0.7 and 2.0 were installed. As style sheets aren't compatible between the versions, this caused problems.

This patch uses the preprocessor directive MAPNIK_VERSION to determine the version. I don't know if it is possible to compile
against one version and then dynamically link against a different version at run-time. But that probably will cause other problems
anyway.
2012-03-03 22:13:51 +00:00
e6535fa6a5 [mod_tile] Fix /dirty and /status
The sscanf expression to parse the URL was too greedy, lumping the /dirty and /status into the file extension,
causing the tile layers being rejected due to a wrong file extension.
2012-02-02 07:52:08 +00:00
40aa23d3b5 [mod_tile] Fix AddTileConfig AddTileMimeConfig
In the commit to add support for other file extensions other than png,
AddTileConfig configuration was broken due to a typo.

Bug reported by Sven Geggus and Frederik Ramm
2012-01-29 18:17:49 +00:00
5e92c90ab2 [mod_tile] mod_tile appears to only need icu version 4.2 which is installed in Ubuntu 10.04 2012-01-26 20:20:42 +00:00
bdf4219bd3 [renderd] Improve debian packaging files 2012-01-26 18:46:51 +00:00
d4a35a2af2 [renderd] add some man pages for renderd utils 2012-01-26 18:43:54 +00:00
9f685ee38d [renderd] Make speedtest configurable for renderd socket and map name 2012-01-26 16:40:54 +00:00
48e8aefd61 [mod_tile] make libicu configurable if it is installed in a non-standard place 2012-01-22 19:07:04 +00:00
a408752555 [mod_tile] improve autoconf settings to be more portable
Libraries under Solaris weren't correctly found beforehand
2012-01-22 18:00:15 +00:00
2f92076e53 [mod_tile] add autoconf dependencies to the debian build files 2012-01-22 17:41:12 +00:00
be36f26688 [mod_tile] improve autoconf detection of mapnik libraries
mapnik 0.7 does not have a mapnik-config utility. Use other means to determin flags for mapnik library
2012-01-22 06:26:01 +00:00
5b096812de [mod_tile] Fixup debian build scripts for the autoconf/automake build system 2012-01-15 19:25:12 +00:00
bd5242edfc [mod_tile] fix debian dependencies for mapnik2 2012-01-15 07:43:20 +00:00
e8b44db339 [mod_tile] Add svn:ignores for the auto generated file 2012-01-15 07:37:43 +00:00
070df38706 use autoconf / automake to find libraries and make it more portable 2012-01-15 07:23:52 +00:00
f4ea5dc0c0 [render_old] print time stamp of the old tile 2012-01-15 03:00:59 +00:00
68c2dcbcde [mod_tile] Make it possible to serve tiles other than .png.
Make it possible to serve tiles other than raster png files,
e.g. jpeg or javascript vector tiles.

This adds a configuration parameter to tile layers specifying the
file extension and mimetype. The default remain image/png.
2012-01-01 18:46:51 +00:00
a31b71df9e [mod_tile] Allow for per tile style planet-import-complete
If you have several styles served from the same mod_tile, it might be desirable to have
different planet-import-complete dates. This can for example be used if the style sheet changes
and a complete re-render is needed.

It first checks the planet-import-complete file in the tile directory of the style and if the file doesn't
exist checks in the root tile directory.
2011-12-31 17:51:43 +00:00
97a18242ab [mod_tile] Add per tile-layer stats.
If mod_tile serves many different tile styles, it might be interesting how havily various
layers are used and which layers particularly have many 404 errors due to not rendering fast enough.
2011-12-31 11:36:19 +00:00
7520608aa6 [render_old] Add a --map option and some portability improvements
-- map: instead of going through all layers defined in your config, only go through a specific one. This can be useful if you have many layers defined
-- replace file based load average detection with the c function. This is portable to solaris
-- be more robust against mod_tile socket closures.
2011-12-20 15:31:54 +00:00
4d13755d7f [render_old] Make more options configurable
Instead of hardcoding parameters at compile time, make them runtime settable

--config
--max-load
--timestamp
2011-12-10 23:47:38 +00:00
d0ef49df3f [render_old] fix displaying of render rate output
The rate displayed for rendered tiles were the rate of adding tiles to the internal queue,
rather than the rate of render completion
2011-12-10 18:15:05 +00:00
a3bd1d17b4 Add a new "bulk mode" to mod_tile. If your server is in bulk mode, it will
never mark tiles dirty and never re-render dirty tiles, and it will always
enqueue tiles at "bulk" priority.
2011-12-05 11:05:01 +00:00
fa3969cd22 [mod_tile] Update debian build scripts 2011-10-15 03:14:15 +00:00
5f6c120abe Add a script to update a osm2pgsql db and expire tiles
Add a demonstration slippymap to access local rendered tiles
2011-10-15 03:12:52 +00:00
44487172ec Quieten down output from render_expired 2011-10-15 02:57:21 +00:00
0451630679 [mod_tile] update debian packaging scripts to reduce linthian warnings 0.4 2011-09-21 15:15:05 +00:00
364c2c766d mod_tile: automatically install mod_tile.conf into sites-available
update debian package version of mod_tile.conf to be in line with the standard one.
2011-07-16 23:52:14 +00:00
cc6a4a001a renderd: Update renderd.conf in the debian package 2011-07-16 23:38:51 +00:00
16847267a5 mod_tile: automatically enable mod_tile in apache on first install of debian package
Brings postinst script in line with the template for apache modules on the debian wiki
2011-07-16 23:35:12 +00:00
cd0b3c8efe renderd: fix debian init script
Fixes bug #3004
2011-07-16 23:25:13 +00:00
5f4fe8545a mod_tile: update debian control file
add dependency on dpatch. Fixes bug #3000
update dependency from mapnik0.6 to mapnik0.7
recommend osm2pgsql
2011-07-16 23:13:06 +00:00