[mapserver-users] WMS-Client example
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Mon Jan 4 02:50:29 PST 2010
Hi,
First problem is that the url "www2.dmsolutions.ca/cgi-bin/mswms_gmap?" does not answer. You have no chance to succeed with that WMS server at the moment.
-Jukka Rahkonen-
greenzeod wrote:
> 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=-2
> 200000,-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/
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list