wmsclient

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Mon Oct 24 07:36:08 PDT 2005


Hi,

Can you check the source of your red cross image (right mouse button, properties, and then copy the URL) and put the URL into a new browser window? That might give you more information.

Otherwise check the following:
1) can you create a GetMap request to the WMS service in a URL and get a working image back?
2) try some debugging on Mapserver, see eg:

http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?DebuggingMapserver 

3) do you need a http proxy to connect to outdoor services?

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> Roland Forster <rf123 at GMX.NET> 24-10-2005 16:17:37 >>>
Hello,

I try do set up a cascading wmsserver including several wms services but
get no result.
I use the mapbender frontend to load the maps.
There is no error message. Just an empty screen with a red cross in it.
I'm running mapserver 4.6.1.
Is there something wrong with my mapfile?

Thank you in advance,
Roland


Here is my mapfile:
-------------------
MAP
  NAME "test"
  STATUS ON
  DEBUG ON
  #EXTENT 3446461 5811888 3511872 5880234

  UNITS METERS
  IMAGECOLOR 255 255 255

  OUTPUTFORMAT
    NAME png
    DRIVER "GD/PNG"
    MIMETYPE "image/png"
    IMAGEMODE PC256
    EXTENSION "png"
    TRANSPARENT ON
  END

  WEB
    # WMS-Support
    METADATA
      "wms_title" "test"
      "wms_onlineresource"   "http://<ip>/cgi-bin/mapserv.sh?
map=../demo/1_kaskade_test_wms.map"
      "wms_srs" "EPSG:31463"
    END

    IMAGEPATH "/www/html/tmp/"
    IMAGEURL "/tmp/"
  END

  PROJECTION
    "init=epsg:31463"
  END

  LAYER
    NAME "intevation"
    TYPE RASTER
    STATUS OFF
    CONNECTION "http://demo.intevation.de/cgi/frida-wms?"
    CONNECTIONTYPE WMS
    METADATA
      "wms_srs"             "epsg:31463"
      "wms_name"            "gewaesser"
      "wms_server_version"  "1.1.1"
      "wms_format"          "image/png"
    END
  END

END # Map File



More information about the MapServer-users mailing list