Source

TileLite /

Filename Size Date modified Message
demo
docs
utils
83 B
141 B
59 B
744 B
197 B
1.5 KB
198 B
1.9 KB
979 B
4.4 KB
1.3 KB
13.9 KB
2.0 KB
2.0 KB

TileLite

An ultra lightweight Mapnik tile-server written as a WSGI (Web Server Gateway Interface) application.

Goals

  • Designed for fast, dynamic rendering of web tiles in the OSM scheme (zoom/x/y.png) and Google Mercator projection.
  • Supports caching of tiles, various mapnik formats, and map buffers to avoid cut labels.
  • Maintains Map objects in memory for optimized rendering in a multi-process environment (not threaded).
  • Built for rendering scenarios where easy setup and speed to first rendering are top priorities.
  • To complement the more flexibile TileCache[1] by providing a more lean, single-purpose tool.
  • To complement to the powerful Mod_tile[2] by providing an effortless way of running locally or embedding within Apache.
  • Able to work alongside the generate_tiles.py script[3] by serving or regenerating a cache seeded by generate_tiles.py.

Requires

  • Requires Python, Mapnik (>= 0.6.0), and a Mapnik xml or mml mapfile you wish to serve.
  • Reading mml (Mapnik Markup Language) requires Cascadenik.

Features

  • Comes bundled with a development server that can be run from the commandline:
$ liteserv.py <xml> [options]
  • Can be deployed with ModWsgi using one thread and many processes.
  • Able to read from an optional configuration file for customization of various rendering and caching parameters.

More info

See the notes in the 'docs' folder and the sample 'tilelite.cfg' in the 'utils' folder.

http://bitbucket.org/springmeyer/tilelite/

References

[1] If you need to WMS, TMS, seeding, or custom projection support TileCache is awesome (http://tilecache.org/)

[2] If you need server queuing, threading, and expiry support use the powerful Mod_tile (http://wiki.openstreetmap.org/wiki/Mod_tile)

[3] http://svn.openstreetmap.org/applications/rendering/mapnik/generate_tiles.py