[Mapbender-users] GetFeatureInfo on WMS

Robert Walter robert-walter at gmx.de
Wed Sep 30 04:35:12 EDT 2009


Hi,

I'm using Mapbender 2.6 with a modified copy of gui2. The error message appears if a wms layer is set to invisible or invisible because of it's scale and the featureinfo checkbox is still enabled. I think there should be a dependency between the visibility of a layer and the possibility to make featureinfo requests.

Greetings Robert


Hi,

could you give us more information on what version of mapbender you
are using? Is this error happening in a standard gui or in a self-made
gui?

Greetings, Michael


2009/9/28 Robert Walter <robert-walter at gmx.de>:
> Hi list,
>
> I have a problem with getfeatureinfo-requests on WMS-layers. In the mapfile of the
wms a template for each layer is defined. I use the featureinfotunnel with the new
popup-module.
>
> When the wms is enabled and visible in Mapbender the getfeatureinfo-request shows
the correct info. But when the wms is turned off in treegde-module or the
wms-layer is invisible because of its scale, the getfeatureinfo shows the
following error:
>
> <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
> <!DOCTYPE ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
> <ServiceExceptionReport version="1.1.1">
> <ServiceException code="LayerNotDefined">
> msWMSLoadGetMapParams(): WMS server error. Invalid layer(s) given in the LAYERS
parameter.
> </ServiceException>
> </ServiceExceptionReport>
>
> What can I do, to avoid this behaviour. When there is no object visible, the
getfeatureinfo-request should return no result and must not open the popup.
>
> Greeting RW
> --
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Besuchen Sie uns auf der INTERGEO 2009: 22.09. - 24.09.2009 in Karlsruhe;
Halle 1, Stand 1.417
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
_______________________________________________
Mapbender_users mailing list
Mapbender_users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapbender_users

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


More information about the Mapbender_users mailing list