[mapserver-users] raster layer legend: how to
Martin Landa
landa.martin at gmail.com
Sat Dec 2 07:57:18 PST 2017
Hi,
2017-12-02 16:56 GMT+01:00 Martin Landa <landa.martin at gmail.com>:
> https://rain1.fsv.cvut.cz/services/wms?service=wms&version=1.3.0&layer=H_N2_24h&REQUEST=getlegendgraphic&FORMAT=image/png&sld_version=1.1.0
>
> I would like to set up legend like:
>
> http://geo102.fsv.cvut.cz/~landa/tmp/wms-legend.png
OK, I was able to add at least legend img statically via
CLASS
NAME "H_N2_24h"
KEYIMAGE "wms-legend.png"
END # CLASS
and
LEGEND
STATUS ON
KEYSIZE 71 258
END # LEGEND
But still the image with included legend is somehow small. What
parameter am I missing?
Anyway I am interested how to set up my mapfile to produce such legend
automatically for TIFF data instead of using static image.
Thanks, Ma
--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
More information about the MapServer-users
mailing list