[mapserver-users] pixmap legend
Till Adams
adams at terrestris.de
Tue Nov 19 05:37:54 PST 2013
Hi Fons,
it looks like mapserver does not find your pixmap-file.
You know that the path
"/pixmap/..."
means, that mapserver looks for this file in the servers root directory?
If the pixmap is stored relative to the mapfile, remove the leading "/"
in your path:
"pixmap/...."
Till
Am 19.11.2013 14:19, schrieb Fons Arts:
> 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
>
--
NEWS:
-> map-it.ulm.de! Das Mitmachportal für Ulm
-> GO Mobile - jetzt WebGIS auch auf Smartphones
-> Jetzt OpenSource! SHOGun - das JavaBackend für WebGIS Anwendungen
------------------------------------------------
terrestris GmbH & Co. KG
Puetzchens Chaussee 56
53227 Bonn
Germany
Till Adams
Geschaeftsfuehrung
Tel: +49 (0)228 / 962 899-52
Mobile: +49 (0)151 / 25394429
Fax: +49 (0)228 / 962 899-57
Skype: tilladams
adams at terrestris.de
http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
------------------------------------------------
Komplementaerin:
terrestris Verwaltungs GmbH
vertreten durch:
Hinrich Paulsen, Till Adams
More information about the MapServer-users
mailing list