source: qesdi/wms_ddc_vis/trunk/lib/wms_ddc_vis/controllers/demo.py @ 5403

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/qesdi/wms_ddc_vis/trunk/lib/wms_ddc_vis/controllers/demo.py@5403
Revision 5403, 289 bytes checked in by pnorton, 10 years ago (diff)

Moved QESDI tree from DCIP repository
 http://proj.badc.rl.ac.uk/svn/dcip/qesdi@3900.

Line 
1import logging
2
3from wms_ddc_vis.lib.base import *
4
5log = logging.getLogger(__name__)
6
7class DemoController(BaseController):
8
9    def index(self, fileoruri):
10        c.featureCollection = globalCSMLConnector.getCsmlDoc(fileoruri)
11        c.fcName = fileoruri
12        return render('demo')
Note: See TracBrowser for help on using the repository browser.