KEYIMAGE
He, Matt Yubin
mhe at ITSC.UAH.EDU
Wed Mar 22 07:25:23 PST 2006
Hi, All
I have a layer definition as shown below. However, after I added
"KEYIMAGE "../legend_images/mylegend.jpg"", Mapserver showed some
errors. How should I correct it? Should I add a "Class" tag somewhere?
Thanks.
Matt
LAYER
CONNECTION "http://mywmsserver/"
CONNECTIONTYPE WMS
DUMP TRUE
METADATA
"wms_srs" "EPSG:4326 EPSG:4267 EPSG:4269 EPSG:4326"
"wms_onlineresource" "http://mywmsserver"
"wms_latlonboundingbox" "-180 90 180 -90"
"layer_index" "3"
"wms_queriable" "1"
"wms_name" "name"
"wms_format" "image/png"
"wms_formatlist" "image/png,image/jpeg"
"selected" "0"
"LEGEND_ORDER" "3"
"wms_server_version" "1.1.1"
"wms_title" "My Layer"
END
NAME "LayerName"
PROJECTION
"init=epsg:4326"
END
SIZEUNITS PIXELS
KEYIMAGE "/legend_images/mylegend.jpg"
STATUS OFF
TEMPLATE "blank.html"
TOLERANCE 0
TOLERANCEUNITS PIXELS
TYPE RASTER
UNITS METERS
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060322/f0f66e05/attachment.htm>
More information about the MapServer-users
mailing list