[Mapserver-users] PNG image as symbol for Annotation layer
Eric Bridger
eric at gomoos.org
Thu Sep 18 11:09:41 PDT 2003
Try using a LAYER TYPE of point. I think with ANNOTATION all you'll get is the text.
HTH
Eric
At 01:12 PM 09/18/2003 -0400, Paul Dugas wrote:
>I feel silly to have to ask this but I can't seem to get this working.
>Please forgive me in advance if it turns out to be silly operator error.
>
>I'm trying to put a "you are here" bullseye image on a generated map along
>with some text. Relevant (according to me, let me know if more is
>required) portions of the map file are:
>
>SYMBOL
> NAME 'urhere'
> TYPE PIXMAP
> IMAGE "images/bullseye.png"
>END
>
>LAYER
> NAME URHERE
> TYPE ANNOTATION
> STATUS DEFAULT
> CLASS
> SYMBOL "urhere"
> LABEL
> POSITION AUTO
> COLOR 34 86 136
> TYPE truetype
> SIZE 10
> FONT "Luxi"
> ANTIALIAS true
> WRAP "|"
> SHADOWCOLOR 230 230 230
> END
> END
> FEATURE
> TEXT "You are here.|(mile marker x)"
> POINTS -81.00524 34.35565 END
> END
>END
>
>What I'm getting is the text but no image. I've tried moving the SYMBOL
>definition out to a seperate SYMBOLSET file with no change. I've changed
>the name of the PNG file to something bogus and it complains so I think
>it's actually finding the correct file. I've tried using a simple
>"circle" symbol instead of an external PNG file and I dont get that
>either, just the text.
>
>Any suggestions would be appreciated.
>
>Paul
>
>--
>Paul A. Dugas <paul at dugasenterprises.com> phone: 404.932.1355
>Dugas Enterprises, LLC fax: 770.516.4841
>1711 Indian Ridge Drive, Woodstock, GA 30189 USA
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list