Annotation and positioning referenced from the edges (like Scale POSITION Otption)

Bob Basques bob.basques at CI.STPAUL.MN.US
Fri Feb 16 12:04:13 PST 2007


All,

I guess I need to look harder next time, looks like it's in the newest version already . . . .  Silly me.

This works now. (COOL!)

MAP
     NAME 'point'
     UNITS FEET

     TRANSPARENT TRUE
     IMAGETYPE PNG

     SYMBOLSET point.symbols

     LAYER
         NAME 'copyright'
         TYPE ANNOTATION
         TRANSFORM LL
         STATUS DEFAULT
         FEATURE
             POINTS 40 -10 END
             TEXT 'Technical Services'
         END
         CLASS
             LABEL
                 TYPE BITMAP
                 COLOR 254 254 254
                 OUTLINECOLOR 0 0 0
                 SHADOWCOLOR 0 0 0
                 SHADOWSIZE 1 1
                 SIZE TINY
             END
         END
     END
END

bobb


Bob Basques wrote:
>
> All,
>
> I asked something similar to this a few months ago.  Didn't sound like 
> anything was in place at the time though.
>
> I would like to dress up some print output from MapServer with some 
> statistics and notes' etc.
>
> Is there (yet) a method for placement of these types of annotation with 
> respect to the edges of the image output vs using absolution pixel 
> locations.
>
> I'm looking for the same kind (type) of control afforded to the ScaleBar 
> Placement, only for other object types.
>
> I did have an idea about adding a new object type, that would basically 
> act like a layer for config purposes, but could be scaled and positioned
>
>   


-- 

****************  You can't be late until you show up.  ***************
************  You never learn anything by doing it right.  ************
***  War doesn't determine who's right. War determines who's left.  ***


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bob.basques.vcf
Type: text/x-vcard
Size: 309 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070216/94be9d65/attachment.vcf>


More information about the MapServer-users mailing list