[mapserver-users] I give up; WMS (client)
Murray, Ross
rmurray@NRCan.gc.ca
Tue, 12 Nov 2002 11:57:44 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_000_01C28A6C.9E828490
Content-Type: text/plain;
charset="ISO-8859-1"
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>>
------_=_NextPart_000_01C28A6C.9E828490
Content-Type: application/octet-stream;
name="Murray, Ross.vcf"
Content-Disposition: attachment;
filename="Murray, Ross.vcf"
BEGIN:VCARD
VERSION:2.1
N:Murray;Ross
FN:Murray, Ross
ORG:NRCAN.RNCAN;ESS.SST
TITLE:Information Management and GIS Technician
TEL;WORK;VOICE:947-1411 (613)
TEL;CELL;VOICE:
ADR;WORK:;2 - 255;601 Booth Street;Ottawa;ON;K1A 0E8;CA
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:2 - 255=0D=0A601 Booth Street=0D=0AOttawa, ON K1A 0E8=0D=0ACA
EMAIL;PREF;INTERNET:rmurray@NRCan.gc.ca
REV:20020717T171556Z
END:VCARD
------_=_NextPart_000_01C28A6C.9E828490--