[MXD2map-commits] bsh.mxd-konverter: r228:1cfb92731f48
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jul 28 11:13:57 CEST 2011
details: bsh.mxd-konverter/rev/1cfb92731f48
changeset: 228:1cfb92731f48
user: Stephan Holl <stephan.holl at intevation.de>
date: Wed Jul 27 13:58:15 2011 +0200
description:
Added link to the mapfile
diffstat:
contrib/python/generateHTML.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r 58d8ac962683 -r 1cfb92731f48 contrib/python/generateHTML.py
--- a/contrib/python/generateHTML.py Wed Jul 27 13:45:21 2011 +0200
+++ b/contrib/python/generateHTML.py Wed Jul 27 13:58:15 2011 +0200
@@ -46,11 +46,11 @@
basename = os.path.basename(mapfile)
png = mapfile.replace(".map", "_arcpy.png")
gc = getcaps + '&map=' + mapfile
- print '''<li>Layer: <strong>%s</strong> | <a target='_getcaps' href='%s'>GetCapabilities</a></li>
+ print '''<li>Layer: <strong><a target='_mapfile' href='file://%s'>%s</a></strong> | <a target='_getcaps' href='%s'>GetCapabilities</a></li>
<br>
<a target="bild" href="file://%s"><img witdth="80" height="60" border="" src="file://%s"></a>
Anzahl der Layer: %s
-''' % (basename, gc, png, png, len(layers))
+''' % (mapfile, basename, gc, png, png, len(layers))
i = 0
print "<ul>"
while i < len(layers):
More information about the MXD2map-commits
mailing list