<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Steve,<br><br>Thank you for your answer. I have tried the method you suggest. But it prints out "%time%, not the value of time.<br><br>Peisheng<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: Steve.Lime@state.mn.us<br>To: zhaops@hotmail.com; mapserver-users@lists.osgeo.org<br>Subject: RE: [mapserver-users] how to add a time stamp on raster data<br>Date: Tue, 21 Aug 2012 21:13:10 +0000<br><br>


<style><!--
.ExternalClass .ecxhmmessage p
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:12pt;font-family:Calibri;}

--></style><style id="ecxowaParaStyle">
</style>


<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Probably, you'd do it through an annotation layer. What version are you using? What interface (CGI, WMS, WCS)? Basically the idea would be to funnel the time parameter into a TEXT
 expression in the annotation layer. Layer would look like (assuming a variable called 'time' is passed) this I think:
<div>
<div><br>
</div>
<div>LAYER</div>
<div>  NAME 'timestamp'</div>
<div>  TYPE ANNOTATION</div>
<div>  STATUS DEFAULT</div>
<div>  TRANSFORM LL # lower-left corner of the </div>
<div>  FEATURE</div>
<div>    POINTS 10 10 END</div>
<div>  END  </div>
<div>  VALIDATION</div>
<div>    'time' 'some expression that matches time values'</div>
<div>  END</div>
<div>  CLASS</div>
<div>    LABEL</div>
<div>      ...</div>
<div>    END</div>
<div>    TEXT '%time%'</div>
<div>  END</div>
<div>END</div>
<div><br>
</div>
<div>This would plop the passed time in the lower left corner of the output, or at least I think it should.</div>
<div><br>
</div>
<div>Steve<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px"><br>
<hr tabindex="-1">
<div id="ecxdivRpF815438" style="direction:ltr"><font color="#000000" face="Tahoma" size="2"><b>From:</b> mapserver-users-bounces@lists.osgeo.org [mapserver-users-bounces@lists.osgeo.org] on behalf of Peisheng Zhao [zhaops@hotmail.com]<br>
<b>Sent:</b> Tuesday, August 21, 2012 3:35 PM<br>
<b>To:</b> users mapserver<br>
<b>Subject:</b> [mapserver-users] how to add a time stamp on raster data<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr"><br>
Hi all,<br>
<br>
We have a set of time-series data. Is it popossible to add a time stamp, i.e. the value of time parameter in the request, on raster data? Thanks.<br>
<br>
Peisheng<br>
</div>
</div>
</div>
</div>
</div>
</div></div>                                          </div></body>
</html>