positioning an arbitrary feature . . .

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Fri Jan 27 13:47:14 EST 2006


Bob,

I don't think you can. I tried to do this a while ago and eventually 
gave up. There are two bugs that you might want to look at and cc 
yourself to. You might also want to add this requirement to one of them.

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1592
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1547

-Steve W.

Bob Basques wrote:
> 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