Hi List,
I am using pmapper 3.2.
I put the "LEGENDICON" definition in METADATA, put the full address to image
but i won't works. It keep showing the automated generated image for legend
(generated by pmapper). it doesn't is a problem of permission, the apache
user can access with read and write permission. I tried put the full path,
relative path to image but don't works.
Works if i use KEYITEM.
Any idea?
Here's my layer definition:
#
#Layer bar_name
#
LAYER
NAME "bar_name"
CONNECTIONTYPE postgis
CONNECTION "user=postgres password=xxxxx dbname=geo host=localhost"
DATA "the_geom from bar using unique gid using srid=4326"
STATUS OFF
TYPE ANNOTATION
TOLERANCE 3
TOLERANCEUNITS pixels
LABELITEM "text"
LABELMINSCALE 1000
CLASS
NAME "bar_name"
#KEYIMAGE "images/legend/a.png"
#TEMPLATE void
LABEL
POSITION Auto
COLOR 0 0 0
OUTLINECOLOR 255 255 255
BUFFER 1
TYPE truetype
ENCODING "UTF-8"
FONT FreeSans
SIZE 8
MAXSIZE 9
#SIZE small
END #Label
END
METADATA
DESCRIPTION "bar_name"
"LEGENDICON" "/var/www/html/geo/images/legend/a.png"
"LAYER_ENCODING" "UTF-8"
"ows_title" "bar_name"
END
END
#
#End of layer
#
Thanks
--
Luigi Castro Cardeles
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users