# HG changeset patch # User Stephan Holl # Date 1311754420 -7200 # Node ID a9a3ce2625a8b178d850bfa62868b63faf181eb5 # Parent bef2e9522741f34484bcfca1372072ca754a2b7c Added Link to GetCapabilities diff -r bef2e9522741 -r a9a3ce2625a8 contrib/python/generateHTML.py --- a/contrib/python/generateHTML.py Wed Jul 27 09:46:36 2011 +0200 +++ b/contrib/python/generateHTML.py Wed Jul 27 10:13:40 2011 +0200 @@ -21,6 +21,7 @@ url = 'http://localhost/cgi-bin/mapserv.exe' getmap = url + '?Request=GetMap&Service=WMS&Version=1.1.1' getmap += '&srs=EPSG:4326&width=800&height=600&format=image/png&styles=' +getcaps = url + '?Request=GetCapabilities&Service=WMS&Version=1.1.1' def writeHeader(): print ''' @@ -58,7 +59,7 @@ if extent: ext = str(extent).strip('[\'\'\\r\\n]') gm += '&bbox='+''.join(ext) - print "
  • %s | WMS GetMap
  • " % (urlmapfile, layers[i], gm) + print "
  • %s | WMS GetMap | WMS GetCapabilities Version 1.1.1
  • " % (urlmapfile, layers[i], gm, getcaps) i=i+1 print ""