source: TI02-CSML/trunk/services/3rdParty/tilecache-1.4/tilecache_http_server.py @ 2202

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI02-CSML/trunk/services/3rdParty/tilecache-1.4/tilecache_http_server.py@2202
Revision 2202, 293 bytes checked in by lawrence, 13 years ago (diff)

Adding tilecache to the "interesting" OGC services already implemented
in python.

  • Property svn:executable set to *
Line 
1#!/usr/bin/python
2from TileCache.Service import wsgiApp
3
4if __name__ == '__main__':
5    from wsgiref import simple_server
6    print "Listening on port 8080"
7    httpd = simple_server.WSGIServer(('',8080), simple_server.WSGIRequestHandler,)
8    httpd.set_app(wsgiApp)
9    httpd.serve_forever()
Note: See TracBrowser for help on using the repository browser.