<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:0px 0px 1.2em!important">Hi James,</p>
<p style="margin:0px 0px 1.2em!important">On 3 February 2017 at 22:21, James Klassen <<a href="mailto:klassen.js@gmail.com" target="_blank">klassen.js@gmail.com</a>> wrote:</p>
<p style="margin:0px 0px 1.2em!important"></p><div class="markdown-here-exclude"><p></p><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Looks like the fake template trick doesn't work with raster layers. So it seems it needs an empty template file. The following works for me:<br></div></blockquote><p></p></div><p style="margin:0px 0px 1.2em!important"></p>
<p style="margin:0px 0px 1.2em!important">I have tried but for me it does not work. I have used your html templates.</p>
<p style="margin:0px 0px 1.2em!important">It’s surely a stupid error of mine :(</p><p style="margin:0px 0px 1.2em!important">As usual, thank you very much</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline;white-space:pre;overflow:auto;border-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important"> LAYER
DATA "query.tif"
EXTENT 369957.267038251 4124951.49692997 378066.716402869 4133060.94629459
GROUP "DEMG"
METADATA
"coordsys_name" "WGS 84 / UTM zone 33N"
"ows_title" "query"
"identify_record" "query.html"
"wms_group_title" "DEMG"
END # METADATA
NAME "query"
PROJECTION
"proj=utm"
"zone=33"
"datum=WGS84"
"units=m"
"no_defs"
END # PROJECTION
STATUS ON
TEMPLATE "query.html"
TILEITEM "location"
TOLERANCE 0
TYPE RASTER
UNITS METERS
CLASS
NAME "query"
END # CLASS
END # LAYER
LAYER
DATA "display.tif"
EXTENT 369957.267038251 4124951.49692997 378066.716402869 4133060.94629459
GROUP "DEMG"
METADATA
"coordsys_name" "WGS 84 / UTM zone 33N"
"ows_title" "display"
"identify_record" "dummy.html"
END # METADATA
NAME "display"
PROJECTION
"proj=utm"
"zone=33"
"datum=WGS84"
"units=m"
"no_defs"
END # PROJECTION
STATUS ON
TEMPLATE "dummy.html"
TILEITEM "location"
TOLERANCE 0
TYPE RASTER
UNITS METERS
CLASS
NAME "display"
END # CLASS
END # LAYER
</code></pre><hr>
<p style="margin:0px 0px 1.2em!important">Andrea Borruso<br> website: <a href="http://blog.spaziogis.it">http://blog.spaziogis.it</a><br>38° 7’ 48” N, 13° 21’ 9” E, EPSG:4326</p>
<hr>
<p style="margin:0px 0px 1.2em!important"> “cercare e saper riconoscere chi e cosa,<br> in mezzo all’inferno, non è inferno,<br> e farlo durare, e dargli spazio”</p>
<p style="margin:0px 0px 1.2em!important"> Italo Calvino</p>
<div title="MDH:PGRpdiBjbGFzcz0iZ21haWxfZXh0cmEiPkhpIEphbWVzLDwvZGl2PjxkaXYgY2xhc3M9ImdtYWls
X2V4dHJhIj48YnI+PGRpdiBjbGFzcz0iZ21haWxfcXVvdGUiPk9uIDMgRmVicnVhcnkgMjAxNyBh
dCAyMjoyMSwgSmFtZXMgS2xhc3NlbiA8c3BhbiBkaXI9Imx0ciI+Jmx0OzxhIGhyZWY9Im1haWx0
bzprbGFzc2VuLmpzQGdtYWlsLmNvbSIgdGFyZ2V0PSJfYmxhbmsiPmtsYXNzZW4uanNAZ21haWwu
Y29tPC9hPiZndDs8L3NwYW4+IHdyb3RlOjxicj48YmxvY2txdW90ZSBjbGFzcz0iZ21haWxfcXVv
dGUiIHN0eWxlPSJtYXJnaW46IDBweCAwcHggMHB4IDAuOGV4OyBib3JkZXItbGVmdDogMXB4IHNv
bGlkIHJnYigyMDQsIDIwNCwgMjA0KTsgcGFkZGluZy1sZWZ0OiAxZXg7Ij48ZGl2Pkxvb2tzIGxp
a2UgdGhlIGZha2UgdGVtcGxhdGUgdHJpY2sgZG9lc24ndCB3b3JrIHdpdGggcm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