[MXD2map-commits] bsh.mxd-konverter: r217:13f1cf17f620
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jul 28 11:13:55 CEST 2011
details: bsh.mxd-konverter/rev/13f1cf17f620
changeset: 217:13f1cf17f620
user: Stephan Holl <stephan.holl at intevation.de>
date: Mon Jul 25 11:01:53 2011 +0200
description:
[mq]: arcpy_image
diffstat:
contrib/python/generateHTML.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r d0acdab62b03 -r 13f1cf17f620 contrib/python/generateHTML.py
--- a/contrib/python/generateHTML.py Mon Jul 25 10:51:39 2011 +0200
+++ b/contrib/python/generateHTML.py Mon Jul 25 11:01:53 2011 +0200
@@ -43,10 +43,12 @@
def writeLayers(mapfile, layers, extent):
basename = os.path.basename(mapfile)
+ png = mapfile.replace(".map", "_arcpy.png")
print '''<li>Layer: <strong>%s</strong></li>
<br>
+<a target="bild" href="%s"><img witdth="80" height="60" border="" src="%s"></a>
Anzahl der Layer: %s
-''' % (basename, len(layers))
+''' % (basename, png, png, len(layers))
i = 0
print "<ul>"
while i < len(layers):
More information about the MXD2map-commits
mailing list