<div dir="ltr">Hey,<div><br></div><div>I created a WMS-T layer from a time series image mosaic as follows.</div><div><br></div><div><ul><li>Ran gdaltindex on the tiff files to generate the index shapefle called index.shp.</li><li>I edited the index.shp file in QGIS and added another column called "timeWater" and added the time value in YYYY-MM-DD format next to each location entry.</li><li>I added this layer to the mapfie as follows.</li></ul><b>LAYER<br>NAME "Inundation"<br>  TYPE RASTER<br>  STATUS ON<br>  DEBUG ON<br>  PROJECTION<br>    "init=epsg:4326"<br>  END<br>  METADATA<br>    "wms_title" "INUN_WMS_T"<br>    "wms_srs"   "EPSG:4326"<br>    "wms_extent" "67.6 7.34 97.7 38.74"<br>    "wms_timeextent" "2015-12-01/2015-12-03"<br>    "wms_timeitem" "timeWater" #timeWater is a column in the index shapefile specifying time value for each tiff image<br>    "wms_timedefault" "2015-12-03"<br>    "wms_timeformat" "YYYY-MM-DD"<br>  END<br>  #TILEITEM "location" #filepath is a column in postgis table with varchar of the filepath to each image<br>  TILEINDEX "index"  #index is the name of the shape file generated with gdaltindex<br>  FILTER (`[timeWater]` = `2015-12-03`)<br>CLASS  #class to show the image in red<br>      STYLE<br>        COLOR 236 0 0<br>      END # STYLE<br>    END # CLASS<br>END</b></div><div><br></div><div>The TILEINDEX property is set to "index" which is the name of the index shapefile haveing the path and time in its columns.</div><div>The paths to the TIFF files are in the "location" column.</div><div>The time field is in the column "timeWater".</div><div><br></div><div>The <b>GetCapabilities</b> request now shows my layer with a <b><Dimension></Dimension></b> field in it so I assume it has been published properly as a layer.</div><div>Despite this when I make a GetMap request to this layer I get a blank image in png format and a black image in jpeg format. </div><div><br></div><div>I<b>s the TILEINDEX property in the map file the name of the shape file or the name of a PostGIS table?</b><br></div><div><br></div><div>Any idea on what could be wrong?</div><div><br></div><div>Note: The paths mentioned in the index shapefile are correct and relative to the map file.</div><div>          The index shapefile has also been placed in the same directory as the .map file.</div><div><br></div><div>Regards,</div><div>Sushrut Shivaswamy</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 10, 2017 at 7:15 PM, Schepers, Benjamin <span dir="ltr"><<a href="mailto:schepers@rvr-online.de" target="_blank">schepers@rvr-online.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="DE" link="#0563C1" vlink="#954F72">
<div class="m_2250636782639048116WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Sushrut,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">yes this should be possible.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Here are general information:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://mapserver.org/ogc/wms_time.html" target="_blank">http://mapserver.org/ogc/wms_<wbr>time.html</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Build index with time-information for your needs (also works for wms):<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://mapserver.org/ogc/wcs_server.html#building-spatio-temporal-tile-indexes" target="_blank">http://mapserver.org/ogc/wcs_<wbr>server.html#building-spatio-<wbr>temporal-tile-indexes</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="m_2250636782639048116MsoListParagraph"><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:Wingdings;color:#1f497d"><span>è<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This is a index-shapefile including a BBOX of every tif-file, the tif-path within the filesystem and another
 column with the date of the specific file. The date-field needs to be created/filled manually…<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I just thought of writing a python script (extending “gdaltindex” commandline-utility), which reads the date from tif-metadata
 ('TIFFTAG_DATETIME' ) and writes it to the index-shape.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Ben<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d">Mit freundlichen Grüßen<br>
Im Auftrag<br>
<br>
<b>Benjamin Schepers<br>
<br>
</b><br>
Luftbild und Geoinformationssysteme<br>
Kronprinzenstraße 6<br>
45128 Essen<br>
Fon: +49 201 2069-232<br>
Fax: +49 201 2069-369<br>
<a href="mailto:schepers@rvr-online.de" target="_blank">schepers@rvr-online.de</a><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d"><img border="0" width="132" height="107" id="m_2250636782639048116_x0000_i1025" src="cid:image001.jpg@01D26B4F.354A0EC0"></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>
<a href="http://www.metropoleruhr.de" target="_blank">www.metropoleruhr.de</a><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"><u></u><u></u></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:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-<wbr>bounces@lists.osgeo.org</a>]
<b>Im Auftrag von </b>Sushrut Shivaswamy<br>
<b>Gesendet:</b> Dienstag, 10. Januar 2017 14:34<br>
<b>An:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.<wbr>org</a><br>
<b>Betreff:</b> [mapserver-users] WMS T time series data support<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hey,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'm trying to visualise my time series data set using map server.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I have a series of files with file names in the format<b> <span style="background:white">{coveragename}_{<wbr>timestamp}.tif</span></b><span style="font-size:11.0pt;font-family:"Lucida Sans Unicode","sans-serif";color:#262523;background:white">.</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
I need to query a single layer composed of the data from all these files and<br>
see the data by varying the TIME parameter in my GetMap request.<br>
<br>
GeoServer provides a tutorial on how to setup an Image Mosaic as time series layer.<br>
<br>
Is there way to get the same effect in MapServer.<br>
<br>
Regards,<br>
Sushrut Shivaswamy<u></u><u></u></p>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>