[mapserver-users] How to do a static text label

Stephen Woodbridge woodbri at swoodbridge.com
Mon May 21 11:42:41 EDT 2012


On 5/21/2012 11:18 AM, Bistrais, Bob wrote:
> I’m trying to label point features with a static text string, not using
> an item value. For example, if a feature is in a layer, show the point
> symbol, and label it “A”, another layer, label it “B”.
>
> I seem to remember seeing this map file parameter somewhere, but can’t
> find it anywhere. Does anyone remember this? If so, what is the syntax
> of it?

TEXT "A"

Look in the mapfile reference for the version you are using. this tag 
has been moved in the more recent versions as some of the code has 
gotten restructured to make more sense going forward.

-Steve W


More information about the mapserver-users mailing list