[Geomoose-users] Legend for raster layers

Vojko Daneu vojko.daneu at mail.telepac.pt
Wed Sep 16 07:57:56 EDT 2009


Hallo,
showing the legend of vector layers works without any problems in GeoMoose 1.6.
In my application I have a raster layer for which I want also to show a legend in the side panel. To do so I have created a html-template with a legend image and some legend text. How do I show the template in the side panel?

Here is my map-file, but it does not show the template ...

MAP
    NAME 'mn_wind'
    SIZE 800 650
    STATUS ON
    EXTENT 391510 5935905 391710 5936205
    UNITS METERS
    IMAGETYPE PNG
    TRANSPARENT TRUE

    LEGEND
        STATUS ON
    END

    LAYER
        NAME 'Wind Velocity'
        DATA '00008_wind.png'
        TYPE RASTER
        STATUS DEFAULT
        CLASS
            NAME 'Wind Velocity'
            TEMPLATE 'test.html'
        END
    END
END

Thanks,
Vojko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090916/5b872d71/attachment.html


More information about the Geomoose-users mailing list