source: cows/trunk/cows/pylons/templates/catalogue.xml @ 5173

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows/trunk/cows/pylons/templates/catalogue.xml@5173
Revision 5173, 973 bytes checked in by domlowe, 13 years ago (diff)

WCS urls now generated in WebMapContext? documents

Line 
1<?xml version="1.0"?>
2
3<?python
4
5from genshi import QName
6from routes import url_for
7
8?>
9<html xmlns:py="http://genshi.edgewall.org/"
10      xmlns:xlink="http://www.w3.org/1999/xlink"
11      >
12  <head>
13    <title>COWS Server Catalogue</title>
14  </head>
15
16  <body>
17    <h1>COWS Server Catalogue</h1>
18
19    <h3>FeatureCollections available</h3>
20    <ul py:for="fc in c.featureCollections">
21      <li>${fc}
22        [<a href="${url_for(controller='csmlwms', fileoruri=fc, id=None,
23                            request='GetCapabilities', service='WMS')}"
24                            >WMS</a>]
25        [<a href="${url_for(controller='csmlwcs', fileoruri=fc, id=None,
26                            request='GetCapabilities', service='WCS')}"
27                            >WCS</a>]
28        [<a href="${url_for(controller='csmlwfs', fileoruri=fc, id=None,
29                            request='GetCapabilities', service='WFS')}"
30                            >WFS</a>]
31        [<a href="${url_for(controller='demo', fileoruri=fc)}"
32                            >Demo</a>]
33      </li>
34    </ul>
35  </body>
36
37</html>
Note: See TracBrowser for help on using the repository browser.