Hi Everyone,<br><br>A little while ago, Brent Fraser sent me a mapfile snippet that could be used to add a Title to a map using pixel coordinate space.  It looked like this:<br><br><span class="ul-threaded" style="margin: 0.5em 0pt 0pt -20px;"><span class="text-cell">  LAYER
<br>    NAME title
<br>    STATUS DEFAULT
<br>    TRANSFORM FALSE
<br>    TYPE ANNOTATION
<br><br>    FEATURE
<br>      POINTS 4 396 END
<br>      TEXT &#39;This is a Great Map!&#39;
<br>    END
<br><br>    CLASS
<br>      LABEL
<br>        TYPE TRUETYPE
<br>        FONT arial
<br>        SIZE 8
<br>        ANTIALIAS
<br>        COLOR 255 255 255
<br>        POSITION UR
<br>      END
<br>    END
<br><br>  END
<br></span></span><br>This works well, but I would like to override the TEXT value using mapscript to create new labels that are based on the result of PostGIS queries.  I&#39;ve been picking apart various examples on the web, but can&#39;t seem to come up with the magic sauce.  I can figure out how to grab the layer ByName, but then I&#39;m not quite sure what I need to do in order to access the feature and override the TEXT.<br>
<br>Can someone give me a clue?<br><br>Thanks,<br><br>Roger<br>