Skip to content

Commit

Permalink
TileStache.Goodies.AreaServer docs
Browse files Browse the repository at this point in the history
  • Loading branch information
migurski committed Mar 25, 2012
1 parent 5fa519f commit 927a922
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ doc:
pydoc -w TileStache.Goodies.Providers.MirrorOSM
pydoc -w TileStache.Goodies.Providers.Grid
pydoc -w TileStache.Goodies.Providers.GDAL
pydoc -w TileStache.Goodies.AreaServer

pydoc -w scripts/tilestache-*.py

Expand Down
9 changes: 6 additions & 3 deletions TileStache/Goodies/AreaServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The built-in Mapnik provider (http://tilestache.org/doc/#mapnik-provider)
is one example.
There are no tiles here, just a quick a dirty way of getting variously-sized
There are no tiles here, just a quick & dirty way of getting variously-sized
images out of a codebase that's ordinarily oriented toward tile generation.
Example usage, with gunicorn (http://gunicorn.org):
Expand All @@ -27,10 +27,13 @@
from TileStache.Core import KnownUnknown

class WSGIServer (WSGITileServer):
""" Inherit the constructor from TileStache WSGI, which just loads
""" WSGI Application that can handle WMS-style requests for static images.
Inherits the constructor from TileStache WSGI, which just loads
a TileStache configuration file into self.config.
WSGITileServer autoreload argument is ignored, though. For now.
"""

def __call__(self, environ, start_response):
""" Handle a request, using PATH_INFO and QUERY_STRING from environ.
Expand Down

0 comments on commit 927a922

Please sign in to comment.