[mapserver-users] WMS-Client example

greenzeod at web.de greenzeod at web.de
Mon Jan 4 02:07:24 PST 2010


Hello,

I have a problem with the WMS-Client sample layer, which doesnŽt work for me.
I tried to add the prov_bound layer to my map-config file, 
but when I tried to display the layer, i get only a white image.

If i use the local bathymetry layer instead of prob_bound - it works.

Did I make something wrong? 

Best Regrads

Sergej


My call for the image:

http://127.0.0.1/cgi-bin/mapserv.exe?MAP=E:/Program%20Files%20%28x86%29/ms4w/apps/gmap/htdocs/gmap75.map&SERVICE=wms&VERSION=1.1.1&LAYERS=prov_bound&REQUEST=GetMap&SRS=EPSG:42304&BBOX=-2200000,-712631,3072800,3840000&FORMAT=image/png&WIDTH=400&HEIGHT=300


MAP-File:

#
# Start of layer definitions
#
    LAYER
      NAME "prov_bound"
      TYPE RASTER
      STATUS ON
      CONNECTION "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?"
      CONNECTIONTYPE WMS
      METADATA
        "wms_srs"             "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326 EPSG:42304"
        "wms_name"            "prov_bound"
        "wms_server_version"  "1.1.0"
        "wms_formatlist"      "image/gif,image/png,image/jpeg,image/wbmp"
        "wms_format"          "image/gif"
      END
    END

    

LAYER
  NAME bathymetry
  METADATA
    "wms_title" "Elevation/Bathymetry"
  END
  TYPE RASTER
  STATUS ON
  DATA bath_mapserver.tif
  PROJECTION
    "init=epsg:42304"
  END
END

END # layer



___________________________________________________________
Preisknaller: WEB.DE DSL Flatrate für nur 16,99 Euro/mtl.! 
http://produkte.web.de/go/02/




More information about the MapServer-users mailing list