[Mapbender-users] how to integrate a static legendimage which describe a classified raster map

Michael Schulz mschulz at webgis.de
Mon Jun 15 12:16:46 EDT 2009


Hi Peter,

is this the only layer in the mapfile? If so, you should be able to
tell the legend obj to create a legend in the size of your keyimage,
and this should be reflected accordingly in the capabilities
legendgraphic section.

The two other mapbender approaches would be:
1) modify the the getcapabilties-doc manually and don't load the
mapserver dynamic one
2) modify the mapbender db directly...

But a better solution would be a mapserver enhancement, that would let
you define a layer's static legendicon url via a metadata keyword.

Cheers, Michael


2009/6/15 Peter Freimuth <freimuth at rapideye.de>:
> Hi,
> i would like to use a scecial image like the attached file as an LegendIcon for a raster layer in mapbender 2.5- The Layer is served by a UMN and i know that there is a special attribute called KEYIMAGE which can be used for this. But of course mapbender will request this image with the same size than all other images.
>
>        CLASS
>            NAME "GC Map"
>            KEYIMAGE "images/GroundCover.png"
>        END
> Any idea,
> Peter
>
>
> --
> _______________________________________________________________________
>
> Peter Freimuth                          phone: +49 3381 8904327
> Product Development                     fax:   +49 3381 8904101
> RapidEye AG                             email: freimuth at rapideye.de
> Molkenmarkt 30
> 14776 Brandenburg an der Havel          http://www.rapideye.de
> Germany
> _______________________________________________________________________
>
> PRIVILEGE AND CONFIDENTIALITY NOTICE:
> The information in this email is intended for the named recipients
> only. It may contain privileged and confidential information.  If you
> have received this communication in error, any use, copying or
> dissemination of its contents is strictly prohibited.  Please erase all
> copies of the message along with any included attachments and notify
> RapidEye AG or the sender immediately by telephone at the number
> indicated on this page.
> _______________________________________________________________________
>
>
> RapidEye AG
> Molkenmarkt 30
> 14776 Brandenburg an der Havel
> Germany
>
> Head Office/Sitz der Gesellschaft: Brandenburg an der Havel
> Management Board/Vorstand: Wolfgang G. Biedermann
> Chairman of Supervisory Board/Vorsitzender des Aufsichtsrates: Axel Schmalz
> Commercial Register/Handelsregister Potsdam HRB 17 796
> Tax Number/Steuernummer: 048/100/00053
> VAT-Ident-Number/Ust.-ID: DE 199331235
> DIN EN ISO 9001 certified
>
> *************************************************************************
> Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
> E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den
> Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie
> die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
>
> The information in this e-mail is intended for the named recipients
> only. It may contain privileged and confidential information. If you
> have received this communication in error, any use, copying or
> dissemination of its contents is strictly prohibited. Please erase all
> copies of the message along with any included attachments and notify
> RapidEye AG or the sender immediately by telephone at the number
> indicated on this page.
>
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
>



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Aufwind durch Wissen!

Qualifizierte Open Source Schulungen bei der
http://www.foss-akademie.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-----------------------------------------------------------
Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

+++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++

Schwimmbadstraße 2
D-79100  Freiburg i. Br.

Tel:  +49 (0)761 705798-102
Tel:  +49 (0)761 705798-0
Fax: +49 (0)761 705798-09

+++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++

http://www.webgis.de / http://www.zopecms.de
--------------------------------------------------------------
Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck
Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg


More information about the Mapbender_users mailing list