This repository was archived by the owner on May 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
demiurg/ogcserver-django
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is based on ogcserver cgi wms handler.
simply import * from utils.py
and use like so:
def wms_view(request):
class WMSFactory(BaseWMSFactory):
def __init__(self):
BaseWMSFactory.__init__(self)
layer = mapnik.Layer('name')
#important for some reason to initialize
layer.wms_srs = None
#everything like in ogcserver docs
return ogc_response(request, WMSFactory())
About
Mapnik WMS integrated as Django view
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published