[Mapserver-users] PNG image as symbol for Annotation layer
Paul Dugas
Paul at DugasEnterprises.com
Thu Sep 18 10:12:42 PDT 2003
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
More information about the MapServer-users
mailing list