<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY defanghtml_style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>OK - thanks for the hints. I can now get a static string on my map as annotation, but I am still struggling to modify this via the URL. My map file snippet is:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;LAYER<BR>&nbsp; NAME fid<BR>&nbsp; STATUS ON<BR>&nbsp; TYPE annotation<BR>&nbsp; TRANSFORM false<BR>&nbsp; FEATURE<BR>&nbsp;&nbsp;&nbsp; POINTS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 600 20 #this is the position of the text in image coordinates (pixels)<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; TEXT "úrmid%"<BR>&nbsp; END&nbsp;&nbsp; <BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; LABEL #defines the font, colors etc. of the text<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONT "arial"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE TRUETYPE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 14<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BUFFER 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 255 255 #--Halo<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FORCE TRUE<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp; END <BR>&nbsp;END</DIV>
<DIV>&nbsp;</DIV>
<DIV>My URL contains this section:</DIV>
<DIV>&nbsp;</DIV>&amp;map.layer[fid].feature[0].TEXT=AS00001
<DIV>&nbsp;</DIV>
<DIV>I have tried with and without quotes around the TEXT, and also with and without feature[0].</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any assistance appreciated.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Robert Sanson<BR><BR>&gt;&gt;&gt; "Fawcett, David" &lt;David.Fawcett@state.mn.us&gt; 26/09/2008 1:35 a.m. &gt;&gt;&gt;<BR></DIV>
<DIV><DEFANGHTML_SPAN class=948393113-25092008>If you want to allow the title string to be passed through the URL, you can use URL Configuration changes to pass the text in.&nbsp; </DEFANGHTML_SPAN></DIV>
<DIV><DEFANGHTML_SPAN class=948393113-25092008></DEFANGHTML_SPAN></DIV>
<DIV><DEFANGHTML_SPAN class=948393113-25092008>Take a look at this document (if you are using MapServer 5.x): <A href="http://trac.osgeo.org/mapserver/browser/branches/branch-5-0/mapserver/MIGRATION_GUIDE.TXT">http://trac.osgeo.org/mapserver/browser/branches/branch-5-0/mapserver/MIGRATION_GUIDE.TXT</A></DEFANGHTML_SPAN></DIV>
<DIV><DEFANGHTML_SPAN class=948393113-25092008></DEFANGHTML_SPAN></DIV>
<DIV><DEFANGHTML_SPAN class=948393113-25092008>Scroll down to the section on URL configuration changes.&nbsp; Take a look at example 3.&nbsp; I am not sure if you can pass in just the text, or if you will need to pass in the feature coords and the text.&nbsp; </DEFANGHTML_SPAN></DIV>
<DIV><DEFANGHTML_SPAN class=948393113-25092008></DEFANGHTML_SPAN></DIV>
<DIV><DEFANGHTML_SPAN class=948393113-25092008>Combine this with the example that Jukka pointed you to and you should be set.</DEFANGHTML_SPAN></DIV>
<DIV><DEFANGHTML_SPAN class=948393113-25092008></DEFANGHTML_SPAN></DIV>
<DIV><DEFANGHTML_SPAN class=948393113-25092008>David.</DEFANGHTML_SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>-----Original Message-----<BR><B>From:</B> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org] <B>On Behalf Of </B>Rahkonen Jukka<BR><B>Sent:</B> Thursday, September 25, 2008 1:36 AM<BR><B>To:</B> Robert Sanson; mapserver-users@lists.osgeo.org<BR><B>Subject:</B> Re: [mapserver-users] Including a title on a map?<BR><BR></DIV>
<DIV dir=ltr align=left><DEFANGHTML_SPAN class=401373406-25092008>Perhaps you could&nbsp;see if this copyright layer document&nbsp;points to right direction?</DEFANGHTML_SPAN></DIV>
<DIV dir=ltr align=left><DEFANGHTML_SPAN class=401373406-25092008></DEFANGHTML_SPAN></DIV>
<DIV dir=ltr align=left><DEFANGHTML_SPAN class=401373406-25092008><A href="http://mapserver.gis.umn.edu/docs/faq/copyright-layer">http://mapserver.gis.umn.edu/docs/faq/copyright-layer</A></DEFANGHTML_SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><DEFANGHTML_SPAN class=401373406-25092008></DEFANGHTML_SPAN>-<DEFANGHTML_SPAN class=401373406-25092008>Jukka Rahkonen-</DEFANGHTML_SPAN><BR></DIV>
<BLOCKQUOTE dir=ltr defanghtml_style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
<HR tabIndex=-1>
<B>Lähettäjä:</B> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org] <B>Puolesta </B>Robert Sanson<BR><B>Lähetetty:</B> 25. syyskuuta 2008 7:02<BR><B>Vastaanottaja:</B> mapserver-users@lists.osgeo.org<BR><B>Aihe:</B> [mapserver-users] Including a title on a map?<BR><BR></DIV>
<DIV></DIV>
<DIV>Is it possible to print a title on a map? I would like to be able to send a variable on the URL containing a string to be used as a title to embed into the returned image in a particular location.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am using Javascript to formulate a CGI request for a PDF output, using mode=map.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Many thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Robert Sanson</DIV><BR><BR>
<TABLE style="COLOR: black" bgColor=white>
<TBODY>
<TR>
<TD><BR>------------------------------------------------------------------<BR>The&nbsp;contents&nbsp;of&nbsp;this&nbsp;email&nbsp;are&nbsp;confidential&nbsp;to&nbsp;AsureQuality.&nbsp;If&nbsp;you&nbsp;have&nbsp;received&nbsp;this&nbsp;communication&nbsp;in&nbsp;error&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;immediately&nbsp;and&nbsp;delete&nbsp;the&nbsp;message&nbsp;and&nbsp;any&nbsp;attachments.&nbsp;The&nbsp;opinions&nbsp;expressed&nbsp;in&nbsp;this&nbsp;email&nbsp;are&nbsp;not&nbsp;necessarily&nbsp;those&nbsp;of&nbsp;AsureQuality.&nbsp;This&nbsp;message&nbsp;has&nbsp;been&nbsp;scanned&nbsp;for&nbsp;known&nbsp;viruses&nbsp;before&nbsp;delivery.&nbsp;AsureQuality&nbsp;supports&nbsp;the&nbsp;Unsolicited&nbsp;Electronic&nbsp;Messages&nbsp;Act&nbsp;2007.&nbsp;If&nbsp;you&nbsp;do&nbsp;not&nbsp;wish&nbsp;to&nbsp;receive&nbsp;similar&nbsp;communications&nbsp;in&nbsp;future,&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;of&nbsp;this&nbsp;message.<BR>------------------------------------------------------------------</TD></TR></TBODY></TABLE><BR><BR>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by SurfControl plc. </FONT><A href="http://www.surfcontrol.com/"><FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>www.surfcontrol.com</FONT></A></P></BLOCKQUOTE></BLOCKQUOTE><BR><BR><FONT style="BACKGROUND-COLOR: #ffffff">
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">Click <A href="https://www.mailcontrol.com/sr/8KBuz0TuG3PTndxI!oX7UihQAH2Wln+Dl3nxVTW8QEzLdM2kKMnUZ86pZht1Q5VlAx1tJ6swZg7wFL4l1WzKMQ==">here</A> to report this email as spam.</FONT></P></FONT><br><br><table bgcolor=white style="color:black"><tr><td><br>------------------------------------------------------------------<br>
The&nbsp;contents&nbsp;of&nbsp;this&nbsp;email&nbsp;are&nbsp;confidential&nbsp;to&nbsp;AsureQuality.&nbsp;If&nbsp;you&nbsp;have&nbsp;received&nbsp;this&nbsp;communication&nbsp;in&nbsp;error&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;immediately&nbsp;and&nbsp;delete&nbsp;the&nbsp;message&nbsp;and&nbsp;any&nbsp;attachments.&nbsp;The&nbsp;opinions&nbsp;expressed&nbsp;in&nbsp;this&nbsp;email&nbsp;are&nbsp;not&nbsp;necessarily&nbsp;those&nbsp;of&nbsp;AsureQuality.&nbsp;This&nbsp;message&nbsp;has&nbsp;been&nbsp;scanned&nbsp;for&nbsp;known&nbsp;viruses&nbsp;before&nbsp;delivery.&nbsp;AsureQuality&nbsp;supports&nbsp;the&nbsp;Unsolicited&nbsp;Electronic&nbsp;Messages&nbsp;Act&nbsp;2007.&nbsp;If&nbsp;you&nbsp;do&nbsp;not&nbsp;wish&nbsp;to&nbsp;receive&nbsp;similar&nbsp;communications&nbsp;in&nbsp;future,&nbsp;please&nbsp;notify&nbsp;the&nbsp;sender&nbsp;of&nbsp;this&nbsp;message.<br>
------------------------------------------------------------------</td></tr></table></BODY></HTML>