GetFeatureInfo on WMS

12 messages Options
Embed this post
Permalink
Robert Walter-3

GetFeatureInfo on WMS

Reply Threaded More More options
Print post
Permalink
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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users
Michael Schulz

Re: GetFeatureInfo on WMS

Reply Threaded More More options
Print post
Permalink
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 <[hidden email]>:

> 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
> [hidden email]
> 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
[hidden email]

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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users
Robert Walter-3

Re: Re: GetFeatureInfo on WMS

Reply Threaded More More options
Print post
Permalink
In reply to this post by Robert Walter-3
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 <[hidden email]>:
> 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
> [hidden email]
> 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
[hidden email]

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
[hidden email]
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
_______________________________________________
Mapbender_users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users
Michael Schulz

Re: Re: GetFeatureInfo on WMS

Reply Threaded More More options
Print post
Permalink
Hi Robert,

as far as I can see it is true, that Mapbender currently doesn't check
whether a queryable layer is also visible, and if not visible
automatically also disables it's queryability.

I think we had some discussion about that issue in the past, because
there are use-cases, when you exactly want a layer to be queryable but
not visible. The outcome is, that when using treegde with element_var
"ficheckbox" set to true, it is up to the user to en-/disable
visbility/queryability in the tree by means of seperate checkboxes. If
"ficheckbox" is set to false, you'll only get one checkbox per layer,
that toggles visbility/queryability combined on or off. So maybe
thats's what you're looking for.

Cheers, Michael


2009/9/30 Robert Walter <[hidden email]>:

> 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 <[hidden email]>:
>> 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
>> [hidden email]
>> 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
> [hidden email]
>
> 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
> [hidden email]
> 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
> _______________________________________________
> Mapbender_users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>



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

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

-----------------------------------------------------------
Michael Schulz
[hidden email]

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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users
Robert Walter-3

Re: Re: GetFeatureInfo on WMS

Reply Threaded More More options
Print post
Permalink
In reply to this post by Robert Walter-3
Hi Michael,

thanks for your answer.

Setting "ficheckbox" to false works for switching the layer manually off. But when the setting maxScale in wms settings is set and the layer is invisible because of the mapscale, the featureinfo still shows the error.

And when I surf through the mapbender application in the wiki-gallery, obviously no one uses the maxscale setting in conjunction with the featureinfo tool. So this seems to be a known problem.

Greetings Robert



Hi Robert,

as far as I can see it is true, that Mapbender currently doesn't check
whether a queryable layer is also visible, and if not visible
automatically also disables it's queryability.

I think we had some discussion about that issue in the past, because
there are use-cases, when you exactly want a layer to be queryable but
not visible. The outcome is, that when using treegde with element_var
"ficheckbox" set to true, it is up to the user to en-/disable
visbility/queryability in the tree by means of seperate checkboxes. If
"ficheckbox" is set to false, you'll only get one checkbox per layer,
that toggles visbility/queryability combined on or off. So maybe
thats's what you're looking for.

Cheers, Michael


2009/9/30 Robert Walter <[hidden email]>:
> 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 <[hidden email]>:
>> 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
>> [hidden email]
>> 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
> [hidden email]
>
> 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
> [hidden email]
> 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
> _______________________________________________
> Mapbender_users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>



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

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

-----------------------------------------------------------
Michael Schulz
[hidden email]

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
[hidden email]
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
_______________________________________________
Mapbender_users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users
Michael Schulz

Re: Re: GetFeatureInfo on WMS

Reply Threaded More More options
Print post
Permalink
Hi Robert,

I wonder whether UMN Mapserver in this case throws an error at all
...? Hmm. Looking at your error message, it gets thrown in
msLoadWMSGetMapParams. I don't think this function already takes the
scale into account, it just collects the layers that are given in the
request and checks whether they exist. When drawing the map it just
omits them, I guess the same should happen for getFI. I am not totally
sure about this and happy to be told the opposite.

Could you check your getFeatureInfo Request whether there are any
other things happening to the layers or querylayers parameter? Are you
using grouped layers?

Cheers, Michael

2009/9/30 Robert Walter <[hidden email]>:

> Hi Michael,
>
> thanks for your answer.
>
> Setting "ficheckbox" to false works for switching the layer manually off. But when the setting maxScale in wms settings is set and the layer is invisible because of the mapscale, the featureinfo still shows the error.
>
> And when I surf through the mapbender application in the wiki-gallery, obviously no one uses the maxscale setting in conjunction with the featureinfo tool. So this seems to be a known problem.
>
> Greetings Robert
>
>
>
> Hi Robert,
>
> as far as I can see it is true, that Mapbender currently doesn't check
> whether a queryable layer is also visible, and if not visible
> automatically also disables it's queryability.
>
> I think we had some discussion about that issue in the past, because
> there are use-cases, when you exactly want a layer to be queryable but
> not visible. The outcome is, that when using treegde with element_var
> "ficheckbox" set to true, it is up to the user to en-/disable
> visbility/queryability in the tree by means of seperate checkboxes. If
> "ficheckbox" is set to false, you'll only get one checkbox per layer,
> that toggles visbility/queryability combined on or off. So maybe
> thats's what you're looking for.
>
> Cheers, Michael
>
>
> 2009/9/30 Robert Walter <[hidden email]>:
>> 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 <[hidden email]>:
>>> 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
>>> [hidden email]
>>> 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
>> [hidden email]
>>
>> 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
>> [hidden email]
>> 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
>> _______________________________________________
>> Mapbender_users mailing list
>> [hidden email]
>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>
>
>
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Aufwind durch Wissen!
>
> Qualifizierte Open Source Schulungen bei der
> http://www.foss-akademie.de/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> -----------------------------------------------------------
> Michael Schulz
> [hidden email]
>
> 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
> [hidden email]
> 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
> _______________________________________________
> Mapbender_users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>



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

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

-----------------------------------------------------------
Michael Schulz
[hidden email]

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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users
Robert Walter-3

Re: Re: GetFeatureInfo on WMS

Reply Threaded More More options
Print post
Permalink
In reply to this post by Robert Walter-3
Hi Michael,

I don't know why, but the "LAYERS" parameter is empty in the FeatureInfoTunnel request. Here is the URL of the iframe:

... extensions/ext_featureInfoTunnel.php?url=http%3A// ... %26VERSION%3D1.1.1%26REQUEST%3DGetFeatureInfo%26SERVICE%3DWMS%26LAYERS%3D%26QUERY_LAYERS%3DPOI%26WIDTH%3D1399 ...

Any idea?

Greeting Robert



Hi Robert,

I wonder whether UMN Mapserver in this case throws an error at all
...? Hmm. Looking at your error message, it gets thrown in
msLoadWMSGetMapParams. I don't think this function already takes the
scale into account, it just collects the layers that are given in the
request and checks whether they exist. When drawing the map it just
omits them, I guess the same should happen for getFI. I am not totally
sure about this and happy to be told the opposite.

Could you check your getFeatureInfo Request whether there are any
other things happening to the layers or querylayers parameter? Are you
using grouped layers?

Cheers, Michael

2009/9/30 Robert Walter <[hidden email]>:
> Hi Michael,
>
> thanks for your answer.
>
> Setting "ficheckbox" to false works for switching the layer manually off. But when
the setting maxScale in wms settings is set and the layer is invisible because of
the mapscale, the featureinfo still shows the error.
>
> And when I surf through the mapbender application in the wiki-gallery, obviously
no one uses the maxscale setting in conjunction with the featureinfo tool. So this
seems to be a known problem.

>
> Greetings Robert
>
>
>
> Hi Robert,
>
> as far as I can see it is true, that Mapbender currently doesn't check
> whether a queryable layer is also visible, and if not visible
> automatically also disables it's queryability.
>
> I think we had some discussion about that issue in the past, because
> there are use-cases, when you exactly want a layer to be queryable but
> not visible. The outcome is, that when using treegde with element_var
> "ficheckbox" set to true, it is up to the user to en-/disable
> visbility/queryability in the tree by means of seperate checkboxes. If
> "ficheckbox" is set to false, you'll only get one checkbox per layer,
> that toggles visbility/queryability combined on or off. So maybe
> thats's what you're looking for.
>
> Cheers, Michael
>
>
> 2009/9/30 Robert Walter <[hidden email]>:
>> 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 <[hidden email]>:
>>> 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
>>> [hidden email]
>>> 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
>> [hidden email]
>>
>> 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
>> [hidden email]
>> 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
>> _______________________________________________
>> Mapbender_users mailing list
>> [hidden email]
>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>
>
>
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Aufwind durch Wissen!
>
> Qualifizierte Open Source Schulungen bei der
> http://www.foss-akademie.de/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> -----------------------------------------------------------
> Michael Schulz
> [hidden email]
>
> 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
> [hidden email]
> 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
> _______________________________________________
> Mapbender_users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>



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

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

-----------------------------------------------------------
Michael Schulz
[hidden email]

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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users

--
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
_______________________________________________
Mapbender_users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users
Sven Böhme

Select EPSG

Reply Threaded More More options
Print post
Permalink
In reply to this post by Robert Walter-3
Hi,

in the WMS GUI settings I can choose the EPSG. But I can only chosse
between two EPSG code, although the WMS supports more than two codes.
How can I use e.g. EPSG:31468 for Germany WMS?

Thanks
Sven

--
--------------------------------------

Dipl.-Geogr. Sven Böhme
[hidden email]

--------------------------------------

CPA Systems GmbH
Grantham-Allee 2-8
D-53757 Sankt Augustin

Tel.: +49 (0) 2241 / 25 94 – 24
Fax.: +49 (0) 2241 / 25 94 - 29

www.cpa-systems.de

--------------------------------------
Handelsregister:
HRB 9706, Amtsgericht Siegburg

Geschäftsführer:

Dr.-Ing. habil. Christoph Averdung
Dr.-Ing. René Thiele
Dr.-Ing. Matthias Ellsiepen

_______________________________________________
Mapbender_users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users
Jäger, Frank (KRZ)

RE: Select EPSG

Reply Threaded More More options
Print post
Permalink

> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of
> Sven Böhme
> Sent: Thursday, October 01, 2009 9:28 AM
> To: Mapbender User List
> Subject: [Mapbender-users] Select EPSG
>
> Hi,
>
> in the WMS GUI settings I can choose the EPSG. But I can only
> chosse between two EPSG code, although the WMS supports more
> than two codes.
> How can I use e.g. EPSG:31468 for Germany WMS?
>
> Thanks
> Sven
>

Hi,
/php/mod_changeEPSG.php doesn't look at the WMS.
Available EPSG-Codes are hard coded. I changed it to my needs:

<form action="<?php echo $self;  ?>" method='POST'>
<select class='epsg' name='epsg' onchange='mod_changeEPSG()'>
<option value="">undefined</option>
<option value="EPSG:31467">Gauß-Krüger 3 (31467)</option>
<option value="EPSG:25832">ETRS89/UTM (25832)</option>
<!-- <option value="EPSG:4326">Geogr. Koord.(4326)</option> -->
</select>


"EPSG:4326" doesn't work with minscale/maxscale and "setScaleHint" in a GUI.


Frank

_______________________________________________
Mapbender_users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users
Sven Böhme

Re: Select EPSG

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi Frank,

thank you for your answer. But I try to change the EPSG in the administartion GUI (WMS GUI Einstellungen /serttings). There you can choose the EPSG  for the WMS on top. And there are only the initial EPSG codes. But I try to use e.g. Germany WMS as background WMS and another WMS (EPSG:31468). But I can´t change the EPSG of the Germany WMS and the other WMS doesn´t support 4326 or 31467.

Sven

Jäger schrieb:
-----Original Message-----
From: [hidden email] 
[[hidden email]] On Behalf Of 
Sven Böhme
Sent: Thursday, October 01, 2009 9:28 AM
To: Mapbender User List
Subject: [Mapbender-users] Select EPSG

Hi,

in the WMS GUI settings I can choose the EPSG. But I can only 
chosse between two EPSG code, although the WMS supports more 
than two codes. 
How can I use e.g. EPSG:31468 for Germany WMS?

Thanks
Sven

    

Hi,
/php/mod_changeEPSG.php doesn't look at the WMS.
Available EPSG-Codes are hard coded. I changed it to my needs:

<form action="<?php echo $self;  ?>" method='POST'>
<select class='epsg' name='epsg' onchange='mod_changeEPSG()'>
<option value="">undefined</option>
<option value="EPSG:31467">Gau&szlig;-Kr&uuml;ger 3 (31467)</option>
<option value="EPSG:25832">ETRS89/UTM (25832)</option>
<!-- <option value="EPSG:4326">Geogr. Koord.(4326)</option> -->
</select>


"EPSG:4326" doesn't work with minscale/maxscale and "setScaleHint" in a GUI.


Frank

_______________________________________________
Mapbender_users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users

  


-- 
--------------------------------------

Dipl.-Geogr. Sven Böhme
[hidden email]

--------------------------------------

CPA Systems GmbH
Grantham-Allee 2-8
D-53757 Sankt Augustin

Tel.: +49 (0) 2241 / 25 94 – 24
Fax.: +49 (0) 2241 / 25 94 - 29

www.cpa-systems.de

--------------------------------------
Handelsregister:
HRB 9706, Amtsgericht Siegburg

Geschäftsführer:

Dr.-Ing. habil. Christoph Averdung
Dr.-Ing. René Thiele
Dr.-Ing. Matthias Ellsiepen 

_______________________________________________
Mapbender_users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users
Michael Schulz

Re: Select EPSG

Reply Threaded More More options
Print post
Permalink
Hi Sven,

the problem is that UMN Mapserver can be configured to serve a lot of
SRS'es, but only exposes EPSG:4326 and the SRS of the map-object with
bounding-boxes in the getCap-XML. Only these SRS that have BBOX
information are taken from mapbender to fill the EPSG-Select list of
the first wms of a gui in edit GUI-WMS settings.

So far the only way is to change the getCap-XML manually and add bbox
entries for each SRS you want to be able to choose from and then load
the getCap locally.

Cheers, Michael


2009/10/1 Sven Böhme <[hidden email]>:

> Hi Frank,
>
> thank you for your answer. But I try to change the EPSG in the
> administartion GUI (WMS GUI Einstellungen /serttings). There you can choose
> the EPSG  for the WMS on top. And there are only the initial EPSG codes. But
> I try to use e.g. Germany WMS as background WMS and another WMS
> (EPSG:31468). But I can´t change the EPSG of the Germany WMS and the other
> WMS doesn´t support 4326 or 31467.
>
> Sven
>
> Jäger schrieb:
>
> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf Of
> Sven Böhme
> Sent: Thursday, October 01, 2009 9:28 AM
> To: Mapbender User List
> Subject: [Mapbender-users] Select EPSG
>
> Hi,
>
> in the WMS GUI settings I can choose the EPSG. But I can only
> chosse between two EPSG code, although the WMS supports more
> than two codes.
> How can I use e.g. EPSG:31468 for Germany WMS?
>
> Thanks
> Sven
>
>
>
> Hi,
> /php/mod_changeEPSG.php doesn't look at the WMS.
> Available EPSG-Codes are hard coded. I changed it to my needs:
>
> <form action="<?php echo $self;  ?>" method='POST'>
> <select class='epsg' name='epsg' onchange='mod_changeEPSG()'>
> <option value="">undefined</option>
> <option value="EPSG:31467">Gauß-Krüger 3 (31467)</option>
> <option value="EPSG:25832">ETRS89/UTM (25832)</option>
> <!-- <option value="EPSG:4326">Geogr. Koord.(4326)</option> -->
> </select>
>
>
> "EPSG:4326" doesn't work with minscale/maxscale and "setScaleHint" in a GUI.
>
>
> Frank
>
> _______________________________________________
> Mapbender_users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
>
>
> --
> --------------------------------------
>
> Dipl.-Geogr. Sven Böhme
> [hidden email]
>
> --------------------------------------
>
> CPA Systems GmbH
> Grantham-Allee 2-8
> D-53757 Sankt Augustin
>
> Tel.: +49 (0) 2241 / 25 94 – 24
> Fax.: +49 (0) 2241 / 25 94 - 29
>
> www.cpa-systems.de
>
> --------------------------------------
> Handelsregister:
> HRB 9706, Amtsgericht Siegburg
>
> Geschäftsführer:
>
> Dr.-Ing. habil. Christoph Averdung
> Dr.-Ing. René Thiele
> Dr.-Ing. Matthias Ellsiepen
>
> _______________________________________________
> Mapbender_users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
>



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

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

-----------------------------------------------------------
Michael Schulz
[hidden email]

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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users
Sven Böhme

Re: Select EPSG

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hallo Michael,

thanks a lot.

Sven

Michael Schulz schrieb:
Hi Sven,

the problem is that UMN Mapserver can be configured to serve a lot of
SRS'es, but only exposes EPSG:4326 and the SRS of the map-object with
bounding-boxes in the getCap-XML. Only these SRS that have BBOX
information are taken from mapbender to fill the EPSG-Select list of
the first wms of a gui in edit GUI-WMS settings.

So far the only way is to change the getCap-XML manually and add bbox
entries for each SRS you want to be able to choose from and then load
the getCap locally.

Cheers, Michael


2009/10/1 Sven Böhme [hidden email]:
  
Hi Frank,

thank you for your answer. But I try to change the EPSG in the
administartion GUI (WMS GUI Einstellungen /serttings). There you can choose
the EPSG  for the WMS on top. And there are only the initial EPSG codes. But
I try to use e.g. Germany WMS as background WMS and another WMS
(EPSG:31468). But I can´t change the EPSG of the Germany WMS and the other
WMS doesn´t support 4326 or 31467.

Sven

Jäger schrieb:

-----Original Message-----
From: [hidden email]
[[hidden email]] On Behalf Of
Sven Böhme
Sent: Thursday, October 01, 2009 9:28 AM
To: Mapbender User List
Subject: [Mapbender-users] Select EPSG

Hi,

in the WMS GUI settings I can choose the EPSG. But I can only
chosse between two EPSG code, although the WMS supports more
than two codes.
How can I use e.g. EPSG:31468 for Germany WMS?

Thanks
Sven



Hi,
/php/mod_changeEPSG.php doesn't look at the WMS.
Available EPSG-Codes are hard coded. I changed it to my needs:

<form action="<?php echo $self;  ?>" method='POST'>
<select class='epsg' name='epsg' onchange='mod_changeEPSG()'>
<option value="">undefined</option>
<option value="EPSG:31467">Gau&szlig;-Kr&uuml;ger 3 (31467)</option>
<option value="EPSG:25832">ETRS89/UTM (25832)</option>
<!-- <option value="EPSG:4326">Geogr. Koord.(4326)</option> -->
</select>


"EPSG:4326" doesn't work with minscale/maxscale and "setScaleHint" in a GUI.


Frank

_______________________________________________
Mapbender_users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users



--
--------------------------------------

Dipl.-Geogr. Sven Böhme
[hidden email]

--------------------------------------

CPA Systems GmbH
Grantham-Allee 2-8
D-53757 Sankt Augustin

Tel.: +49 (0) 2241 / 25 94 – 24
Fax.: +49 (0) 2241 / 25 94 - 29

www.cpa-systems.de

--------------------------------------
Handelsregister:
HRB 9706, Amtsgericht Siegburg

Geschäftsführer:

Dr.-Ing. habil. Christoph Averdung
Dr.-Ing. René Thiele
Dr.-Ing. Matthias Ellsiepen

_______________________________________________
Mapbender_users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users


    



  


-- 
--------------------------------------

Dipl.-Geogr. Sven Böhme
[hidden email]

--------------------------------------

CPA Systems GmbH
Grantham-Allee 2-8
D-53757 Sankt Augustin

Tel.: +49 (0) 2241 / 25 94 – 24
Fax.: +49 (0) 2241 / 25 94 - 29

www.cpa-systems.de

--------------------------------------
Handelsregister:
HRB 9706, Amtsgericht Siegburg

Geschäftsführer:

Dr.-Ing. habil. Christoph Averdung
Dr.-Ing. René Thiele
Dr.-Ing. Matthias Ellsiepen 

_______________________________________________
Mapbender_users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapbender_users