<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.E-MailFormatvorlage18
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Hi Mike,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">just my thoughts:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">What would be the result of an
<b>getmap</b>-Request in your second scenario with multiple discrete timestamps?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">A getmap-request just can produce one single image – anything else wouldn’t make sense to me. So if you request two
 discrete timestamps, one would expect to get two rasters from DB/filesystem and there has to be a logic what should be done by mapserver with those two images (choose the topmost or the underlying or a merge of them – which merge method? – of those pics to
 get one of two or many)…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Maybe the latest date, as you determined, is the topmost.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">My thought what getfeatureinfo logic does are equivalent to that…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Maybe I’m wrong with that, but that could just be answered by someone who can read the sourcecode?!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">If you want to merge rasters on the fly (or their values) COMPOSITE maybe could help you:
<a href="http://mapserver.org/de/mapfile/composite.html">http://mapserver.org/de/mapfile/composite.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Sincerely<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Ben<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><br>
<br>
<b>Benjamin Schepers<br>
<br>
</b><br>
Luftbild und Geoinformationssysteme<br>
Kronprinzenstraße 35<br>
45128 Essen<br>
Fon: +49 201 2069-232<br>
Fax: +49 201 2069-500<br>
schepers@rvr-online.de<br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><img border="0" width="132" height="107" id="_x0000_i1025" src="cid:image001.jpg@01D1EEF2.E97E2630"></span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D"><br>
<br>
</span><b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#1F497D">Die Regionaldirektorin<br>
</span></b><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#1F497D">Kronprinzenstraße 35<br>
45128 Essen<br>
Zentrale: +49 (0) 201 2069-0<br>
Fax: +49 (0) 201 2069-500<br>
www.metropoleruhr.de<br>
<br>
Postfach 10 32 64<br>
45032 Essen<br>
<br>
Steuernummer: RVR 112/5797/0116<br>
USt.-ldNr.: DE 173867500<br>
<br>
</span><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:silver">Diese E-Mail koennte vertrauliche und/oder rechtlich geschuetzte Informationen enthalten.<br>
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.<br>
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail sind nicht gestattet.<br>
</span><span lang="EN-GB" style="font-size:7.5pt;font-family:"Arial","sans-serif";color:silver">This e-mail may contain confidential and/or privileged information.<br>
If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail.<br>
Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> mapserver-users [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>Im Auftrag von </b>Michael Billmire<br>
<b>Gesendet:</b> Donnerstag, 4. August 2016 21:53<br>
<b>An:</b> mapserver-users@lists.osgeo.org<br>
<b>Betreff:</b> [mapserver-users] GetFeatureInfo request for multiple times on tileindex raster layer<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I'm serving raster layers as time-series using a PostGIS tile index (<a href="http://spatial.mtri.org/cgi-bin/mapserv?REQUEST=GetCapabilities&SERVICE=WMS&map=watersensing_map">GetCapabilities</a>, for reference). <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">GetFeatureInfo is working fine for single timestamp requests, e.g.:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://spatial.mtri.org/cgi-bin/mapserv.fcgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&map=watersensing_map&QUERY_LAYERS=chl_erie&LAYERS=chl_erie&time=2015-09-06&height=512&width=512&srs=EPSG:4326&bbox=-83.55,39.45,-78.45,44.55&opacity=1&INFO_FORMAT=text/html&X=250&Y=250"><span style="font-size:7.5pt">http://spatial.mtri.org/cgi-bin/mapserv.fcgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&map=watersensing_map&QUERY_LAYERS=chl_erie&LAYERS=chl_erie&time=2015-09-06&height=512&width=512&srs=EPSG:4326&bbox=-83.55,39.45,-78.45,44.55&opacity=1&INFO_FORMAT=text/html&X=250&Y=250</span></a><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">However, when requesting <b>multiple</b> <b>discrete</b> time stamps (e.g. time=2015-09-06,2016-05-23), I get multiple results (i.e. a result for each timestamp), BUT the pixel value returned is the same for each result, representing the
 raster with the latest date:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt"><a href="http://spatial.mtri.org/cgi-bin/mapserv.fcgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&map=watersensing_map&QUERY_LAYERS=chl_erie&LAYERS=chl_erie&time=2015-09-06,2016-05-23&height=512&width=512&srs=EPSG:4326&bbox=-83.55,39.45,-78.45,44.55&opacity=1&INFO_FORMAT=text/html&X=250&Y=250">http://spatial.mtri.org/cgi-bin/mapserv.fcgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&map=watersensing_map&QUERY_LAYERS=chl_erie&LAYERS=chl_erie&time=2015-09-06,2016-05-23&height=512&width=512&srs=EPSG:4326&bbox=-83.55,39.45,-78.45,44.55&opacity=1&INFO_FORMAT=text/html&X=250&Y=250</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">In my template, [value_list] returns just the single value (i.e. the value of the raster at the latest date), [value_0] returns that same value, and [value_1] returns nothing.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Is there anything obvious here that I'm doing wrong? Is this type of multiple timestamp pixel querying even supported?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">thanks!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-Mike<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Michael Billmire, CMS-GIS/LIS<br>
Research Scientist<br>
Michigan Tech Research Institute (MTRI)<br>
3600 Green Ct. Suite 100<br>
Ann Arbor, MI 48105<br>
<br>
<a href="mailto:michael.billmire@mtu.edu" target="_blank">michael.billmire@mtu.edu</a><br>
work: 734.913.6853<br>
cell: 513.739.0686<br>
fax: 734.913.6880<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>