[mapserver-users] pixmap legend

Fons Arts f.arts at gisarts.nl
Tue Nov 19 05:19:05 PST 2013


  Hi list,

I trying to overrule a  hardcoded legendicon Az (annotation) with a 
pixmap in the class section.



map file
LEGEND
   STATUS on
   KEYSIZE 26 13
END

     LAYER
         CONNECTIONTYPE postgis
         NAME "bag_adres"
         GROUP "bag_adres"
         CONNECTION 
*************************************************************
         DATA "geom from public.bag_adres USING UNIQUE oid"
         TYPE ANNOTATION
         TOLERANCE 10
         MAXSCALE 3500
         MINSCALE 0
         STATUS ON
         LABELITEM "huisnummers"
         TEMPLATE "blank.html"
         CLASS
             NAME 'Huisnummers'
*            KEYIMAGE "/pixmap/adres.png"*
             LABEL
                 COLOR 0 0 0
                 SHADOWCOLOR 255 255 255
                 TYPE truetype
                 FONT arialvet
                 SIZE 8
                 POSITION CC
                 PARTIALS FALSE
                 ANTIALIAS TRUE
                 OFFSET 0 0
             END
         END
     END

The result is a white image.



thanks in advance.
gr Fons
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20131119/bd96ef6a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moz-screenshot-51.png
Type: image/png
Size: 585 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20131119/bd96ef6a/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moz-screenshot-52.png
Type: image/png
Size: 522 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20131119/bd96ef6a/attachment-0001.png>


More information about the mapserver-users mailing list