Armin Retterath wrote:
hello christian,your problem is, that mapbenders interpretation of the scale-hints has problems with service requests in an ellipsoid coordinate systems. Mapbender computes scale numbers by using an defined dpi factor. These numbers are used by the client for doing the GetMap Requests. If you choose ellipsoid coordinates, mapbender has no library to transform the scale numbers who refer to orthogonal projected coordinates, in scales that refer to the angle numbers of the ellipsoidal system. Therefor - if you want request the service in a system like epsg:4326 - you have to remove the scale-hints in the mapbender db (Edit GUI-WMS - set the scales to 0!). After this, mapbender does the requests, but you cannot see at which levels the single layers does give information. The names of the layers in the tree stay black at every scale. The problem with the version 2.4.2 would be, that someone has updated the wms-table in the mapbender db. In the versions before, the scales have been set to 0. You only have to correct these values and set them to 0 in 'Edit GUI-WMS' (admin1). It would help. greetingsarmin
Hey, this issue has bugged us so often that it is time to address it more thoroughly. This is something that should be of interest to many users and attract at least some co-funding. Any ideas how to go about it?
What happens when loading via AddWMS - potentially no 4326 service will ever be dsiplayed (I experienced this somewhere but don't remember what application it was.
Regards, Arnulf
Am Mittwoch, den 29.08.2007, 12:13 +0200 schrieb [EMAIL PROTECTED]:hi armin,thanks for your help but unfortunately no hint works for me(see below). do you have any further suggestions?greetings from munich christianp.s. beside this i don't see anything at wms_africa, wmms_australia and so on. i think i have a principal installation problem-----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED] Im Auftrag von Armin RetterathGesendet: Mittwoch, 29. August 2007 09:52 An: Mapbender User List Betreff: Re: [Mapbender-users] problems with the jpl-wms hi christian, You have 2 possibilities to include the service:loadWMS in the admin1 gui or by using the addwms module in the graphical guis. Loading the URL by using both modules doesnt make any problems in normal environments. Your problem is that you cannot ope the capabilities files with the libapache2-phpX module. You use http connections in your mapbender.conf file.Mostly its better to use the curl connection.Therefor you need the libcurl and php5-curl libraries. After installing this libraries you must restart your webserver.the os is windows xp so there is no curl availableIf your are behind any proxy you must define this in your mapbender.conf! In your conf file there is no proxy defined. Therewy you mapbender cannot connect to the server and get the capabilities file.i am behind a firewall but we are using no proxy. other wmsare working well, for example the demis wms.Another way to register the services is to load an local xml file(capabilities-file) in mapbender (using the modul loadWMSin admin1).The file must be readable for the apache webserver! If you have any further questions:0261/492-466 greetingsarminAm Mittwoch, den 29.08.2007, 09:09 +0200 schrieb[EMAIL PROTECTED]:dear mapbender users,i have problems to integrate the following wms in mapbenderapplicationshttp://wms.jpl.nasa.gov/wms.cgi?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1it doesn't work for example in the mapbender gui2 neither.the demis wmsworks fine. maybe my mapbender.conf misses something (see below) thanks for every hint christianp.s. also the NRW: Bodenkarte BK50 or the Bavarian WMSdoesn't work, soi think it is a elementary problem of my installation configuration: Mapbender 2.4.2 Php Version: 5.1.4 PostgreSQL 8.1.4POSTGIS="1.1.2" GEOS="2.2.1-CAPI-1.0.1" PROJ="Rel. 4.4.9,29 Oct 2004"<?php# $Id: mapbender.conf-dist 1425 2007-06-04 08:22:49Zchristoph $ #http://www.mapbender.org/index.php/Mapbender.conf# Copyright (C) 2002 CCGIS # --------------------------------------------# type of mapbender database # -------------------------------------------- #define("SYS_DBTYPE", "mysql"); define("SYS_DBTYPE", "pgsql"); # -------------------------------------------- # database information # -------------------------------------------- if(SYS_DBTYPE=="mysql") { define("DBSERVER", "<HOST>"); define("PORT", "3306"); define("DB", "<database>"); define("OWNER", "<owner>"); define("PW", "<password>");include_once("../../http/php/database-mysql.php"); # --------------------------------------------# database with geos functions # -------------------------------------------- define("GEOS_DBSERVER", "<HOST>"); define("GEOS_PORT", "5432"); define("GEOS_DB", "<database with geos functions>"); define("GEOS_OWNER", "<owner>"); define("GEOS_PW", "<password>");}else { define("DBSERVER", "localhost"); define("PORT", "5432"); define("DB", "mapbender"); define("OWNER", "mapbender"); define("PW", "mapbender");include_once("../../http/php/database-pgsql.php");} # -------------------------------------------- # prepared statements (PHP > 5.1.x, PostgreSQL > 7.4) # -------------------------------------------- define("PREPAREDSTATEMENTS",true); # -------------------------------------------- # encoding - default characterset UTF-8 / ISO-8859-1 # -------------------------------------------- define("CHARSET","UTF-8"); # -------------------------------------------- # error_reporting # -------------------------------------------- //ini_set('error_reporting', 'E_ALL & ~ E_NOTICE'); # -------------------------------------------- # directory for temporary files # -------------------------------------------- define("TMPDIR", "../tmp"); # -------------------------------------------- # URL to login # -------------------------------------------- define("LOGIN", "http://localhost/mapbender/frames/login.php"); define("MAXLOGIN", 3); $login = LOGIN; # -------------------------------------------- # URL to owsproxy # (no terminating slash) # -------------------------------------------- define("OWSPROXY", "http://<ip or name>/owsproxy"); # -------------------------------------------- # type of server-connection # curl, socket, http # -------------------------------------------- #define("CONNECTION", "curl"); define("CONNECTION", "http"); #define("CONNECTION", "socket"); define("CONNECTION_PROXY", "<ip>"); define("CONNECTION_PORT", "<port>"); define("CONNECTION_USER", "<user>"); define("CONNECTION_PASSWORD", "<password>"); # -------------------------------------------- # security: path to modules # -------------------------------------------- define("CHECK", false); # -------------------------------------------- # enable/disable portal # -------------------------------------------- define("PORTAL", false); # --------------------------------------------# mail settings for internal mapbender mails # smtpmailing # forfurther settings check 'class_administration.php' # please check phpmailer for more information # -------------------------------------------- define("USE_PHP_MAILING", "false"); define("MAILHOST", "<host>"); define("MAILUSERNAME", "<user>"); define("MAILPASSWORD", "<password>"); define("MAILADMIN", "<mailaddress of the mailadmin>"); define("MAILADMINNAME", "<mailadminname>"); $mailHost = MAILHOST; $mailUsername = MAILUSERNAME; $mailPassword = MAILPASSWORD;# --------------------------------------------# wms monitoring # -------------------------------------------- define("AUTO_UPDATE", "0"); define("TIME_LIMIT", "300"); define("PHP_PATH", "/usr/local/bin/"); # -------------------------------------------- # Mapbender error logging # -------------------------------------------- define("LOG_LEVEL_LIST", "off,error,warning,notice,all");define("LOG_LEVEL", "all"); define("LOG_JS", "on"); //"on", "alert","console", "off" ###HACK for GLOBALS $DBSERVER=DBSERVER; $DB=DB; $OWNER=OWNER; $PW=PW;$GEOS_DBSERVER=GEOS_DBSERVER;$GEOS_DB=GEOS_DB; $GEOS_PORT =GEOS_PORT; $GEOS_OWNER=GEOS_OWNER; $GEOS_PW=GEOS_PW; ?> _______________________________________________ Mapbender_users mailing list [EMAIL PROTECTED] 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: [EMAIL PROTECTED] http://www.geoportal.rlp.de _______________________________________________ Mapbender_users mailing list [EMAIL PROTECTED] http://lists.osgeo.org/mailman/listinfo/mapbender_users--
_______________________________________________ Mapbender_dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapbender_dev
