<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>

<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>[UMN_MAPSERVER-USERS] Problem using tileindex for time dimension</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText70682 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Paul,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I had a similar problem some 
time ago - as I'm running MapServer from a Windows server, I put it down at the 
time to this bug:</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV><FONT face=Arial 
size=2><A 
href="http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=970">http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=970</A></FONT>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>If you are running under 
Windows and you do get it working with the date pattern YYYYMMDD, I'd be 
extremely interested in finding out how you did it :)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Cheers,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Bonnie</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV></DIV>
<DIV id=idSignature35646 dir=ltr>
<DIV><FONT face=Arial color=#000000 size=2><FONT face=Helv size=2>
<DIV>
<DIV><FONT face=Arial color=#000000 size=2><FONT face=Helv color=#000000 size=2>
<DIV><FONT face=Arial color=gray size=2><SPAN lang=EN-AU 
style="FONT-SIZE: 11pt; COLOR: gray; FONT-FAMILY: Arial">__________________________________</SPAN></FONT></DIV>
<DIV>
<DIV class=MsoNormal><FONT face=Arial color=gray size=2><SPAN lang=EN-AU 
style="FONT-SIZE: 11pt; COLOR: gray; FONT-FAMILY: Arial"></SPAN></FONT><FONT 
face=Arial color=gray size=2><SPAN lang=EN-AU 
style="FONT-SIZE: 11pt; COLOR: gray; FONT-FAMILY: Arial">Bonnie 
Stewart</SPAN></FONT></DIV>
<DIV class=MsoNormal><FONT face=Arial color=gray size=2><SPAN lang=EN-AU 
style="FONT-SIZE: 11pt; COLOR: gray; FONT-FAMILY: Arial">Research 
Officer<BR></SPAN></FONT><FONT face=Arial color=gray size=2><SPAN lang=EN-AU 
style="FONT-SIZE: 11pt; COLOR: gray; FONT-FAMILY: Arial">Satellite Remote 
Sensing Services<BR></SPAN></FONT><FONT face=Arial color=gray size=2><SPAN 
lang=EN-AU style="FONT-SIZE: 11pt; COLOR: gray; FONT-FAMILY: Arial">Information 
Access Division<BR></SPAN></FONT><FONT face=Arial color=gray size=2><SPAN 
lang=EN-AU style="FONT-SIZE: 11pt; COLOR: gray; FONT-FAMILY: Arial">Department 
of Land Information<BR></SPAN></FONT><FONT face=Arial color=gray size=2><SPAN 
lang=EN-AU style="FONT-SIZE: 11pt; COLOR: gray; FONT-FAMILY: Arial">65 Brockway 
Road, FLOREAT WA </SPAN></FONT><FONT face=Arial color=gray size=2><SPAN 
lang=EN-AU 
style="FONT-SIZE: 11pt; COLOR: gray; FONT-FAMILY: Arial">6014<BR></SPAN></FONT><FONT 
face=Arial color=gray size=2><SPAN lang=EN-AU 
style="FONT-SIZE: 11pt; COLOR: gray; FONT-FAMILY: Arial">Ph. (08) 9387 0342 
|&nbsp;Fx. (08) 9383 7142<BR></SPAN></FONT><FONT face=Arial color=gray 
size=2><SPAN lang=EN-AU 
style="FONT-SIZE: 11pt; COLOR: gray; FONT-FAMILY: Arial"><A 
href="mailto:bonnie.stewart@dli.wa.gov.au">bonnie.stewart@dli.wa.gov.au</A><BR></SPAN></FONT><FONT 
face=Arial color=gray size=2><SPAN lang=EN-AU 
style="FONT-SIZE: 11pt; COLOR: gray; FONT-FAMILY: Arial"><A 
href="http://www.dli.wa.gov.au">www.dli.wa.gov.au</A></SPAN></FONT></DIV></DIV></FONT></FONT></DIV></DIV></FONT></FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List on behalf of Paul 
Tildesley<BR><B>Sent:</B> Wed 9/11/2005 11:46 AM<BR><B>To:</B> 
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] Problem 
using tileindex for time dimension<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>I am trying to implement a layer with a time dimension in 
MapServer to<BR>serve a set of raster images covering 6 months.<BR><BR>I have 
created a tile index that looks like this:<BR><BR>INFO: Open of 
`tindex.shp'<BR>using driver `ESRI Shapefile' successful.<BR><BR>Layer name: 
tindex<BR>Geometry: Polygon<BR>Feature Count: 91<BR>Extent: (79.969000, 
-65.015900) - (190.057000, 10.044100)<BR>Layer SRS 
WKT:<BR>(unknown)<BR>location: String (254.0)<BR>time_stamp: String 
(8.0)<BR>OGRFeature(tindex):0<BR>&nbsp; location (String) = 
SSTcomp10d_Aasia_2002_1_1_0.tif<BR>&nbsp; time_stamp (String) = 
20020101<BR>&nbsp; POLYGON ((79.96900000 
10.04410000,190.05700000<BR>10.04410000,190.05700000 
-65.01590000,79.96900000<BR>-65.01590000,79.96900000 
10.04410000))<BR><BR>OGRFeature(tindex):1<BR>&nbsp; location (String) = 
SSTcomp10d_Aasia_2002_1_11_0.tif<BR>&nbsp; time_stamp (String) = 
20020111<BR>&nbsp; POLYGON ((79.96900000 
10.04410000,190.05700000<BR>10.04410000,190.05700000 
-65.01590000,79.96900000<BR>-65.01590000,79.96900000 
10.04410000))<BR><BR>OGRFeature(tindex):2<BR>&nbsp; location (String) = 
SSTcomp10d_Aasia_2002_1_13_0.tif<BR>&nbsp; time_stamp (String) = 
20020113<BR>&nbsp; POLYGON ((79.96900000 
10.04410000,190.05700000<BR>10.04410000,190.05700000 
-65.01590000,79.96900000<BR>-65.01590000,79.96900000 
10.04410000))<BR><BR><BR>For a total of 90 tiles. I then reference this in my 
map file as<BR>follows:<BR><BR>LAYER<BR>&nbsp; NAME sst_timeset<BR>&nbsp; TYPE 
RASTER<BR>&nbsp; TILEINDEX tindex<BR>&nbsp; STATUS ON<BR>&nbsp; 
METADATA<BR>&nbsp;&nbsp;&nbsp; WMS_TITLE "Australian Region SST January to June 
2002"<BR>&nbsp;&nbsp;&nbsp; WMS_ABSTRACT "Sea-surface temperature for the 
Australian region. Ten<BR>day composites every second 
day."<BR>&nbsp;&nbsp;&nbsp; WMS_TIMEFORMAT "YYYYMMDD"<BR>&nbsp;&nbsp;&nbsp; 
WMS_TIMEEXTENT "20020101/20020630"<BR>&nbsp;&nbsp;&nbsp; WMS_TIMEDEFAULT 
"20020101"<BR>&nbsp;&nbsp;&nbsp; WMS_TIMEITEM "time_stamp"<BR>&nbsp; 
END<BR>&nbsp; OFFSITE 255 255 255<BR><BR>&nbsp; DUMP TRUE<BR>END<BR><BR>When I 
access the layer, either with or without specifying a time, I<BR>always get the 
last tile rendered, which happens to be 20020608 (I am<BR>assuming that the 
tiles do not need to be in time increasing order).<BR><BR>An example request 
is:<BR><A 
href="http://www.marine.csiro.au/mapserver/cgi-bin/mapserv?map=/srv/www/htdocs">http://www.marine.csiro.au/mapserver/cgi-bin/mapserv?map=/srv/www/htdocs</A><BR>/sst/sst_multi.map&amp;VERSION=1.1.1&amp;SERVICE=WMS&amp;REQUEST=GetMap&amp;SRS=EPSG:432<BR>6&amp;FORMAT=image/gif&amp;EXCEPTIONS=application/vnd.ogc.sexml&amp;WIDTH=400&amp;HEIGHT<BR>=250&amp;LAYERS=sst_timeset&amp;TIME=20020401<BR><BR>Does 
anyone know what I am doing wrong? Any ideas or suggestions would<BR>be 
appreciated.<BR><BR>Paul.<BR></FONT></P></DIV>


<P STYLE="margin-top: 0pt;margin-bottom: 0pt;"><SPAN STYLE="FONT-FAMILY:'Arial';FONT-SIZE:8pt;">This e-mail and any files transmitted with it are intended only for the use of the addressee(s).  It may contain information that is confidential and privileged.  If you are not an intended recipient, any use, interference with, disclosure, distribution or copying of this material is unauthorised and prohibited.  If you receive this in error, please notify the author by Return email to the sender.  Information in this message not relating to the official business of DLI shall be understood as neither given nor endorsed by it.  While every care is taken, it is recommended that you scan any attachments for viruses.  DLI liability is limited to re-supplying affected attachments. </SPAN> </P></BODY>
</HTML>