[MXD2map-commits] bsh.mxd-konverter: r226:18cb0b709df8

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jul 28 11:13:56 CEST 2011


details:   bsh.mxd-konverter/rev/18cb0b709df8

changeset: 226:18cb0b709df8

user:      Stephan Holl <stephan.holl at intevation.de>

date:      Wed Jul 27 10:18:26 2011 +0200

description:
Added missing map=-Parameter to GetCaps


diffstat:

 contrib/python/generateHTML.py |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r a9a3ce2625a8 -r 18cb0b709df8 contrib/python/generateHTML.py
--- a/contrib/python/generateHTML.py	Wed Jul 27 10:13:40 2011 +0200
+++ b/contrib/python/generateHTML.py	Wed Jul 27 10:18:26 2011 +0200
@@ -56,10 +56,11 @@
         urlmapfile  = url + '?map=' + mapfile
         urlmapfile += '&template=openlayers&mode=browse&layers=' + layers[i]
         gm  = getmap + '&map=' + mapfile + '&layers=' + layers[i]
+	gc = getcaps + '&map=' + mapfile
         if extent:
             ext = str(extent).strip('[\'\'\\r\\n]')
             gm += '&bbox='+''.join(ext)
-        print "<li><a target='_new' href='%s'>%s</a> | <a target='_getmap' href='%s'>WMS GetMap</a> | <a target='_getcaps' href='%s'>WMS GetCapabilities Version 1.1.1</a></li>" % (urlmapfile, layers[i], gm, getcaps) 
+        print "<li><a target='_new' href='%s'>%s</a> | <a target='_getmap' href='%s'>WMS GetMap</a> | <a target='_getcaps' href='%s'>WMS GetCapabilities Version 1.1.1</a></li>" % (urlmapfile, layers[i], gm, gc) 
         i=i+1
     print "</ul>"
 


More information about the MXD2map-commits mailing list