positioning an arbitrary feature . . .

Bob Basques bob.basques at CI.STPAUL.MN.US
Fri Jan 27 09:05:34 PST 2006


All,

how can I position a feature like I can with a ScaleBar (POSITION LL).

I have an interface that doesn't use a static mapsize. The Scalebar 
works great, but how can I postion abstract annotation in the same way, 
by pushing things to the corners or edges (with the POSITION parameter)

This works for the Upper left:
<cid:part1.08070209.07020003 at ci.stpaul.mn.us>
       LAYER
                NAME 'city_logo'
                STATUS DEFAULT
                TYPE POINT
                TRANSFORM OFF
                FEATURE
                  POINTS 33 65 END
                END
                CLASS
                  STYLE
                           SYMBOL 'city_logo'
                           SIZE 1
                  END
                  LABEL
                           TYPE bitmap                 
                  END
             END   
        END
        LAYER
                NAME 'title'
                STATUS DEFAULT
                TYPE POINT
                TRANSFORM OFF
                FEATURE
                  POINTS 70 17 END
                  TEXT "GISmo"
                END
                CLASS
                  LABEL
                           TYPE truetype
                           FONT bluehigh
                           SIZE 20
                           POSITION CR
                           COLOR 0 0 0
                           OUTLINECOLOR 240 240 240
                  END
             END
        END


Thanks

bobb



More information about the MapServer-users mailing list