[mapserver-users] pixmap legend

thomas bonfort thomas.bonfort at gmail.com
Wed Nov 20 02:06:58 PST 2013


Fons,
https://github.com/mapserver/mapserver/issues/4808 may be related and is on
my todo list for 6.4.1

regards,
thomas


On 19 November 2013 14:19, Fons Arts <f.arts at gisarts.nl> wrote:

>  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
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20131120/b91ba699/attachment-0001.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/20131120/b91ba699/attachment-0002.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/20131120/b91ba699/attachment-0003.png>


More information about the mapserver-users mailing list