[mapserver-users] legend
k_karo at web.de
k_karo at web.de
Tue Aug 5 12:36:35 PDT 2008
Hello,
The wms connect to a remote wms and include a wms layer.
But the cascading wms doesnŽt deliver a legend image. What I am doing wrong? Did I forget something?
Below is the mapfile.
Thanks for any help!
Regards
MAP
NAME Test
STATUS ON
SIZE 500 500
IMAGETYPE PNG
IMAGECOLOR 230 230 230
SHAPEPATH "C:/ms4w/Apache/htdocs/files/data/"
SYMBOLSET "symbols/symbols.sym"
FONTSET "fonts/fonts.list"
UNITS METERS
EXTENT 4484076 5512613 4759784 5750701
RESOLUTION 96
PROJECTION
'init=epsg:31468'
END
####################### LEGEND ########################
LEGEND
STATUS ON
KEYSIZE 36 20
KEYSPACING 10 7
LABEL
TYPE TRUETYPE
FONT arial
COLOR 0 0 0
SIZE 10
ANTIALIAS TRUE
END
TEMPLATE "./legend_template.html"
END
################## START WEB ####################
WEB
TEMPLATE "./template.html"
IMAGEPATH "C:/ms4w/Apache/htdocs/tmp/"
IMAGEURL "/tmp/"
METADATA
"wms_server_version" "1.1.1"
"map" "/ms4w/Apache/htdocs/files/mapdatei6.map"
"ows_schemas_location" "http://schemas.opengis.net"
"wms_title" "Testkarte"
"wms_onlineresource" "http://141.30.230.229/cgi-bin/mapserv6.exe?
map=C:/ms4w/Apache/htdocs/files/mapdatei6.map"
"wms_srs" "EPSG:31467 EPSG:31468 EPSG:31469 EPSG:25833 EPSG:4326"
"WMS_FEATURE_INFO_MIME_TYPE" 'text/html'
wms_fees" "none"
END
END
LAYER
NAME Verfuegbarkeit
TYPE RASTER
STATUS ON
CONNECTIONTYPE WMS
CONNECTION "http://www.umwelt.sachsen.de/de/wu/umwelt/lfug/lfug-
internet/infosysteme/wmsconnector/com.esri.wms.Esrimap/wms_hwsk_intensitaet?"
PROJECTION
'init=epsg:31468'
END
METADATA
"wms_name" "2"
"wms_title" "Verfuegbarkeit im Internet"
"wms_abstract" "Verfuegbarkeit im Internet"
"wms_srs" "EPSG:31468"
"wms_server_version" "1.1.1"
"wms_format" "image/png"
"WMS_FEATURE_INFO_MIME_TYPE" 'text/html'
END
END
END ######### END MAP ########
________________________________________________________________________
Schon gehört? Bei WEB.DE gibt' s viele kostenlose Spiele:
http://games.entertainment.web.de/de/entertainment/games/free/index.html
More information about the MapServer-users
mailing list