Hi,I have a file.map like this:MAP
NAME distribution
CONFIG PROJ_LIB /usr/share/proj/
STATUS ON
SHAPEPATH ./
PROJECTION
init=epsg:4326
END
CONFIG MS_ERRORFILE /tmp/mapserver.log
DEBUG 5
LAYER
NAME tif
DATA
Just add in a NAME parameter inside of each CLASS tag set. You'll need to
request the LEGEND object via CGI or orther method, but the NAME vales are used
to describe the Legend Chips in the mapserver output.
bobb
michele pierri pierm...@yahoo.it wrote:
Hi,
I have a file.map like
ha scritto:
Da: Bob Basques bob.basq...@ci.stpaul.mn.us
Oggetto: Re: [mapserver-users] Get the legend of a layer .map file
A: mapserver-users@lists.osgeo.org, michele pierri pierm...@yahoo.it
Data: Giovedì 23 settembre 2010, 17:06
Just add in a NAME parameter
@lists.osgeo.org
Subject: Re: [mapserver-users] Get the legend of a layer .map file
Can you take me an example,please?
I'm sorry but I am not very expert.
And after how I can do the request via CGI?
CLASS
EXPRESSION ([pixel] = 0 AND [pixel] 20 )
NAME === IS IT WRIGHT?
STYLE
COLOR 0 255 255
Thanks.
--- Gio 23/9/10, michele pierri pierm...@yahoo.it ha scritto:
Da: michele pierri pierm...@yahoo.it
Oggetto: Re: [mapserver-users] Get the legend of a layer .map file
A: Bob Basques bob.basq...@ci.stpaul.mn.us, mapserver-users@lists.osgeo.org
Data: Giovedì 23 settembre 2010, 17:12
Can