[Mapbender-users] Problem emit WMS service of the LDS NRW

Armin Retterath armin.retterath at lvermgeo.rlp.de
Fri Sep 7 03:10:37 EDT 2007

Hello Ralph,
you will have a problem because your php5 modul has no possibility to
get the xml document. You need a proxy load capabilities from internet. 
Therefor you may specifiy another type of connection in the
mapbender.conf file. I think till now you'll have specified http
(define("CONNECTION", "http");) and your Server has a proxy connetion to
the www.
Things you have to do:
install php5-curl (if not yet installed)
uncomment the line
define("CONNECTION", "curl");
in your mapbender.conf, comment out the line for http connection and set
your proxy configuration like:
define("CONNECTION_PORT", "port");
restart your apache2.

After this mapbender should open external Capabilities. After this your
problem would be that you cannot load the local Capabilities Dokuments
(maybe from localhost or servers in your intranet). It depends on the
possibilities of your proxy which nets are declared. There is no way to
define an exception as its done in the configuration of e.g. firefox. 
The simple solution for your problem would be to load the Capabilities
with your Browser and store them local. After this you load them by
LoadWMS with a local path. If your apache has the rights to read the
documents, all would be ok and you don't have any other problems. 
I think this is much easier than installing moduls and configuring
mapbender to use curl.

Am Freitag, den 07.09.2007, 08:35 +0200 schrieb Ralf Eckert:
> Hello list,
> with the attempt WMS of services of the LDS
> http://www.geoserver.nrw.de/home/gbdatenLDS.html
> to load into the MapBender.
> for example:
> http://www.gis2.nrw.de/wmsconnector/wms/luftbild?REQUEST=GetCapabilities&VERSION=1.1.0&SERVICE=WMS
> After a longer running time I receive the following error messages:
> file:
> http://www.gis2.nrw.de/wmsconnector/wms/luftbild?REQUEST=GetCapabilities&VERSION=1.1.0&SERVICE=WMS
> Warning:
> file_get_contents
> (http://www.gis2.nrw.de/wmsconnector/wms/luftbild?REQUEST=GetCapabilities&VERSION=1.1.0&SERVICE=WMS):
> failed tons of open stream: Connection timed out in
> /nas1/htdocs/mapbender223intra/http/classes/class_connector.php on LINE 49
> Unable ton of open document:
> http://www.gis2.nrw.de/wmsconnector/wms/luftbild?REQUEST=GetCapabilities&VERSION=1.1.0&SERVICE=WMS
> The attention is probably the Connection timed out!
> With me those are to be gotten warning activated around more information.
> The MapBender runs in the Intranet of the city Gummersbach and is to
> represent the maps for the internal official use with further
> specialized's applications.
> Do other problems similar of you have? If not, where my error lies, how I
> eliminate it?
> MfG
> i.A. Ralf Eckert
> Stadt Gummersbach
> Fachbereich 9
> GIS - Koordination
> Rathausplatz 1
> 51643 Gummersbach
> Tel:  (49) 2261 / 87 - 1318
> Fax:  (49) 2261 / 87 - 8318
> Web:  www.gummersbach.de
>       gis.gummersbach.de
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
Armin Retterath
Kompetenz- und Geschäftsstelle
Geodateninfrastruktur Rheinland-Pfalz
beim LVermGeo-RP
Ferdinand-Sauerbruch-Straße 15
56073 Koblenz
Telefon: +49 (0)261/492-466
Fax: +49 (0)261/492-492
E-Mail: armin.retterath at lvermgeo.rlp.de

More information about the Mapbender_users mailing list