<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>RE: [UMN_MAPSERVER-USERS] Dynamic Maptitle</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hi Stefanie and List,</FONT>
</P>

<P><FONT SIZE=2>I modified my layer configuration according to the hints of Sefanie (tnx fot that!).</FONT>
<BR><FONT SIZE=2>It seems a better way to configure the layer, but the maptile itself is still static. I would like to use a parameter in the Text like for instance:</FONT></P>

<P><FONT SIZE=2>...</FONT>
<BR><FONT SIZE=2>TEXT &quot;Rainfall in the year %parameter_year%&quot; </FONT>
<BR><FONT SIZE=2>...</FONT>
</P>

<P><FONT SIZE=2>Has anyone a suggestion?</FONT>
</P>
<BR>

<P><FONT SIZE=2>This is my layer configuration now:</FONT>
<BR><FONT SIZE=2>&nbsp;LAYER</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; NAME &quot;Titel&quot;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; STATUS DEFAULT #title should always be on</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; TRANSFORM FALSE</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; TYPE ANNOTATION</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; CLASS</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp; LABEL</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bitmap</FONT>
<BR><FONT SIZE=2>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; verdana-italic #Truetype fonts do not work yet on my machine</FONT>
<BR><FONT SIZE=2>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION&nbsp; CC</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR&nbsp;&nbsp;&nbsp;&nbsp; 0 0 0</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp; END</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; END</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; FEATURE</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp; POINTS 240 10</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp; END</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp; TEXT &quot;%year% Dynamic Title here&quot;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; END</FONT>
<BR><FONT SIZE=2>&nbsp;END</FONT>
</P>
<BR>

<P><FONT SIZE=2>Gerjan</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: UMN MapServer Users List [<A HREF="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">mailto:MAPSERVER-USERS@LISTS.UMN.EDU</A>]On</FONT>
<BR><FONT SIZE=2>Behalf Of Stefanie Weykam</FONT>
<BR><FONT SIZE=2>Sent: 26 juli 2005 9:19</FONT>
<BR><FONT SIZE=2>To: MAPSERVER-USERS@LISTS.UMN.EDU</FONT>
<BR><FONT SIZE=2>Subject: Re: [UMN_MAPSERVER-USERS] Dynamic Maptitle</FONT>
</P>
<BR>

<P><FONT SIZE=2>Gerjan,</FONT>
<BR><FONT SIZE=2>this is how I did it: </FONT>
</P>

<P><FONT SIZE=2>&nbsp;LAYER #-------subtitulo para especies---</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;subtitESP&quot;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; STATUS&nbsp;&nbsp;&nbsp;&nbsp; OFF</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; TYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANNOTATION</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; TRANSFORM&nbsp; FALSE </FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; CLASS</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRUETYPE </FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; verdana-italic&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION&nbsp; LL</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR&nbsp;&nbsp;&nbsp;&nbsp; 160 90 0 </FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; END</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; FEATURE</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEXT&nbsp;&nbsp;&nbsp; &quot;Merops apiaster&quot; # &quot;Abejaruco comĂșn&quot;</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POINTS</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 635 10</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp; END</FONT>
<BR><FONT SIZE=2>&nbsp;END</FONT>
</P>

<P><FONT SIZE=2>Remember this:</FONT>
<BR><FONT SIZE=2>TYPE is ANNOTATION</FONT>
<BR><FONT SIZE=2>Feature points refere to the image coordinates (not map coordinates!)</FONT>
<BR><FONT SIZE=2>Set the LABEL parameters to define colour and size of the text.</FONT>
<BR><FONT SIZE=2>I used POSITION LowerLeft since my titles are anchored close to the right border of the map and then extent to the left according to text length (you may wish to change that for your application).</FONT></P>

<P><FONT SIZE=2>Do not use STATUS DEFAULT in case you want to toggle the title on and off.</FONT>
</P>

<P><FONT SIZE=2>Hope this helps,</FONT>
<BR><FONT SIZE=2>Stefanie</FONT>
</P>

</BODY>
</HTML>