<div dir="ltr"><div><div><div>Hey,<br><br></div>Thanks for all the responses. They were a great help.<br></div>A it turns out my dataset was in EPSG:32644 projection.<br><br></div><div>I ran gdaltindex again as:<br><br></div><div>    gdaltindex -t_srs "EPSG:4326" <b>-src_srs_name</b> "tile_srs" index.shp *.tiff<br><br></div><div>to create an index with the projection of each tiff in the tile_srs column.<br></div><div>I then added the time stamp in each row and added the layer to the map file<br></div><div>with the TILESRS option set to the attribute name "tile_srs".<br><br></div><div>The GetMap request for the following procedure gave the error "All points failed to reproject".<br><br><br></div><div>To avoid this I reprojected all my layers to "EPSG:4326" and added to the map file without the TILESRS option.<br></div><div>To test whether the layer is time enabled I sent a GetMap request with the time parameter outside the "wms_timeextent"<br></div><div>and I got an error saying that the requested time is out of bounds.<br><br></div><div>The images produced by the GetMap request are all still blank.<br><br></div><div>Can anyone point out where I could have gone wrong in this process.<br><br></div><div>Regards,<br></div><div>Sushrut Shivaswamy<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 11, 2017 at 9: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 link="blue" vlink="purple" lang="DE">
<div class="m_-9075927095152463689WordSection1"><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hey,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">hmmmm, debugging can be an awful thing…..<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Always have a look at the logs (error, etc.).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">I’d suppose, that mapserver can’t find the tiles.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">A valid DIMENSION-Element in GetCapabilities could look like this:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><Dimension name="time" units="ISO8601" default="2016" nearestValue="0">2009/2016/<wbr>P1Y</Dimension>   
</span><span style="font-size:11.0pt;font-family:Wingdings;color:#1f497d" lang="EN-US">ß</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"> in this case the
 dataset supports time from 2009-2016 in one-year-steps]<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Are you really sure about the right relations on paths? See:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><a href="http://mapserver.org/optimization/tileindex.html#tileindex" target="_blank">http://mapserver.org/<wbr>optimization/tileindex.html#<wbr>tileindex</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">I can’t see any “SHAPEPATH” (directory of index), which is referenced in MAP-section, see:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><a href="http://mapserver.org/mapfile/map.html" target="_blank">http://mapserver.org/mapfile/<wbr>map.html</a> [from mapserver-docs: … Normally
 the location should contain the path to the tile file relative to the shapepath, not relative to the tileindex itself. … ]<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">What also works for me is using absolute paths:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Please try the the absolute path to tileindex, e.g.:<u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">TILEINDEX "/data/subfolder/index"<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">My index-file also contains absolute paths to tiff-files<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><span lang="EN-US"><I<b>s the TILEINDEX property in the map file the name of the shape file or the name of a PostGIS table?</b><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Both (and still more) ways are possible, for example SpatiaLite-Layer (OGR-Connection), other layers from same mapfile…<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hope, it helps<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Ben<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div>
</div>

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