[Mapserver-users] PNG image as symbol for Annotation layer

Paul Dugas Paul at DugasEnterprises.com
Thu Sep 18 13:57:29 EDT 2003


Murphy's law...  Just after I sent this I figured out I needed a COLOR
element in the CLASS to make it work.

Sorry for the wasted bandwidth.

Paul

Paul Dugas said:
> 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
>
>


--
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
--
On-site at Georgia DOT, TMCx1015, 404.635.8013, paul.dugas at dot.state.ga.us



More information about the mapserver-users mailing list