[mapserver-users] I give up; WMS (client)

Murray, Ross rmurray at NRCan.gc.ca
Tue Nov 12 11:57:44 EST 2002


Uncle!

I have been trying for days now to retrieve a layer (any layer) into my
MapServer application from a remote MapServer source. I am sure I have a
correctly compiled programme:

	MapServer version 3.6.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT INPUT=TIFF INPUT=EPPL7 INPUT=SDE INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE

and I am sure all the paths, including the one to the epsg file, are
correctly specified. My server end gets its stuff from an SDE layer and the
display is fine. I use the same programme, the same templates, and differ
only in these lines in the map file

in server WEB object
<    METADATA
< 	 WMS_TITLE "Surficial geology - Milne Inlet, NU"
< 	 WMS_ONLINERESOURCE
"http://s5-ott-issbeta/Scripts/mapserv.exe?map=C%3a%2fInetpub%2fsurficial%2f
maps%2fmilne.map&"
--- in client WEB object
>    METADATA
> 	 WMS_TITLE "Surficial geology - Milne Inlet, NU"
> 	 WMS_ONLINERESOURCE
"http://w5-ott-isstsd2/Scripts/mapserv.exe?map=C%3a%2fInetpub%2fwwwroot%2fma
pserv_site%2fmilne.map&"

and, in server end LAYER object (slightly altered with x's)
<    DATA "GSC10196200002PLY,shape"
<    CONNECTION "xxx.xxx.nrcan.gc.ca,port:5151,null,xxxx,xxxx"
<    CONNECTIONTYPE sde
<    NAME milne
--- client end LAYER object
>    CONNECTION
"http://s5-ott-issbeta/Scripts/mapserv.exe?map=C%3a%2fInetpub%2fsurficial%2f
maps%2fmilne.map&REQUEST=GetMap&VERSION=1.1.0&FORMAT=image/png&LAYERS=milne&
TRANSPARENT=true"
>    CONNECTIONTYPE WMS
>    NAME milne

It does not work. I get a blank image (but the scalebar is fine). On the
advice of a knowledgable colleague I tried connecting to a demo layer using
this for the LAYER object

LAYER
    NAME "GMap_WMS_Demo_Server-park"
    STATUS ON
    TYPE RASTER
    CONNECTIONTYPE WMS
    CONNECTION
"http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?SERVICE=WMS&VERSION=1.1.0&LAY
ERS=park&QUERY_LAYERS=park&FORMAT=image/gif&TRANSPARENT=TRUE"
    UNITS METERS
    SIZEUNITS PIXELS
    TOLERANCE 3
    TOLERANCEUNITS PIXELS
    METADATA
      "wms_srs"    "EPSG:4269 EPSG:4326"
      "wms_title"    "Parks"
      "wms_boundingbox"    "EPSG:4269 -2346800 -67422.39844 2840370 3830120"
      "wms_queriable"    "1"
      "wms_latlonboundingbox"    "-173.433 41.4271 -13.0481 83.7466"
    END
    PROJECTION
      "" 
      "proj=lcc" 
      "ellps=WGS84" 
      "lat_1=49" 
      "lat_2=77" 
      "lat_0=49" 
      "lon_0=-95" 
      "x_0=0" 
      "y_0=0" 
    END #End layer projection
  END #End of raster layer "GMap_WMS_Demo_Server-park"

Again a nice scalebar but a blank image.

Can anyone suggest why this image is blank, or can anyone point me in the
direction of how to debug something like this? I am most grateful to all the
kind help I have received.

 <<Murray, Ross.vcf>> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Murray, Ross.vcf
Type: application/octet-stream
Size: 399 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20021112/4577fa96/MurrayRoss.obj


More information about the mapserver-users mailing list