[mapserver-users] Raster layer with png legend

Thomas Bonfort thomas.bonfort at camptocamp.com
Fri Jul 10 04:18:29 EDT 2009


http://mapserver.org/mapfile/class.html
-> KEYIMAGE

regards,
thomas

www.camptocamp.com
+33 4 79 26 57 97



2009/7/10 Luis Almería Trenco <trencoluis at gmail.com>:
> 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
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


More information about the mapserver-users mailing list