[mapserver-users] html legend not working

Raffaele Morelli raffaele.morelli at gmail.com
Mon Aug 3 22:27:16 PDT 2015


2015-08-03 14:16 GMT+02:00 Raffaele Morelli <raffaele.morelli at gmail.com>:

> Short story: I can't get html legend to work...
>
> legend.html file is in the same directory of the mapfile, as you can see
> the LABEL block is
> a verbatim copy from Mapserver documentation.
>
> The INCLUDE layer is a point layer with CLASS correctly defined.
>
> This my request to test
>
> http://localhost/cgi-bin/mapserv?MAP=/home/www/geomoose-2.8.0/maps/cen_default//cen_default.map&FORMAT=image/png&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&_OLSALT=0.9622128666378558&SRS=EPSG:3857&SCALE=6933486.650500195&WIDTH=250&STYLE=&LAYER=sostegni
>
> The legend is returned a png file, just like TEMPLATE statement wasn't
> taken into account.
>
>
​Reply to myself because I've found it's not a mapserver related issue but
a geomoose one (no matter about LEGEND and TEMPLATE statements it always
produces a png image) .

​/r​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150804/be0873e3/attachment.html>


More information about the mapserver-users mailing list