sheild symbols in PDF

Hunter, David - St. Louis Park, MN David.Hunter at FNF.COM
Mon Aug 1 13:21:10 EDT 2005


I'm adding road shields to my demo application.  Got them to work in PNG
output, but they don't appear in PDF output.  Is there a trick to
getting symbols to work in PDF maps?  I'm using CGI version 4.4.1.
Here's a snippet that shows the class I created to display shields on
one type of highway:

 

   LABELITEM "hwyname"

    LABELMAXSCALE 490

    LABELMINSCALE 0

 

    CLASSITEM "fcc"

    CLASS

      NAME "U.S. Highways"

      EXPRESSION "A21"

      STYLE

        COLOR 0 0 0

        SYMBOL 'symbols/ushwy.png'

      END

      LABEL

        MINFEATURESIZE 50

        MINDISTANCE 150

        POSITION cc

        SIZE TINY

        COLOR 0 0 0

      END

    END

 

    CLASS

            LABEL

                        TYPE TRUETYPE

                        FONT arial

                        SIZE 7

                        COLOR 0 0 0

                        #OUTLINECOLOR 255 204 051

                        ANTIALIAS TRUE

                        ANGLE auto

                        FORCE false

                        POSITION cc

                        OFFSET 0 0

                        MINDISTANCE 335

            END

     END

  END

David S. Hunter
Sr. Software Engineer
Fidelity National Geographic Solutions
division of Fidelity National Financial
5353 Gamble Drive, Suite 201
St. Louis Park, MN 55416
* Email: david.hunter at fnf.com
' Phone: 952.542.1440 ext. 256
* Fax: 952.542.3859

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050801/a07e63a1/attachment.html


More information about the mapserver-users mailing list