[mapserver-users] Raster layer with png legend

Luis Almería Trenco trencoluis at gmail.com
Fri Jul 10 04:08:09 EDT 2009


Hi,



anybody knows how to associate an image legend (.png) to a raster layer? I’m
trying to do so with this .map, but it doesn’t work.



LAYER

            NAME Mapabase20

            TYPE raster

            STATUS on

            DATA "mapa_base20.png"

            MINSCALE 60000

            MAXSCALE 400000



            PROJECTION

            "init=epsg:23030"

            END



            METADATA

            "wms_title" "Mapa Base 20"

            "wms_abstract" "Imagen raster"

            "wms_keywordlist" "WMS imagen raster"

            "wms_srs" "EPSG:23030"

            "wms_style" "leyendaMapabase20"

            "wms_style_leyendaMapabase20_legendurl_href" "
http://192.168.13.221/leyendaMapaBase/Leyendas/Leyenda_mapabase20.png"

            "wms_style_leyendaMapabase20_legendurl_width" "75"

            "wms_style_leyendaMapabase20_legendurl_height" "50"

            "wms_style_leyendaMapabase20_legendurl_format" "image/png"

            END

END #fin de mapabase20


Is there anything left? Is it possible to do it? Thank you.

Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090710/def96311/attachment.html


More information about the mapserver-users mailing list