[Mapserver-users] WMS Woes

Hankley, Chip Chip.Hankley at GASAI.Com
Thu Feb 6 13:32:46 PST 2003


Debbie,

I tried adding the REQUEST=GetMap to the WMS_Client's connection string, but
I'm still not receiving anything anything from the WMS_Server in the map.

Interestingly, if I just try the connection string as a URL by manually
typing it into a browser, I get the map that I'm looking for... so I can't
tell whether or not this means there's something wrong with the way I'm
defining the client, or if there is some problem with the way the server is
defined which is messing up the WMS communication.

Chip

> -----Original Message-----
> From: Debbie Pagurek [mailto:pagurekd at agr.gc.ca]
> Sent: Thursday, February 06, 2003 3:17 PM
> To: Hankley, Chip
> Subject: RE: [Mapserver-users] WMS Woes
> 
> 
> shouldn't the connection string in your wms client mapfile 
> have REQUEST=GetMap in there somewhere?
> 
> and I believe is should be LAYERS
> 
> CONNECTION 
> "http://pc662/scripts/mapserv37gdal.exe?map=C:\Inetpub\wwwroot
> \WMS\wms_test.map&VERSION=1.1.0&Request=GetMap&LAYERS=STATE&FO
> RMAT=image/png"
> 
> 
> try that.
> 
> D. Pagurek
> 
> 
> CONNECTION 
> "http://pc662/scripts/mapserv37gdal.exe?map=C:\Inetpub\wwwroot
> \WMS\wms_test.map&VERSION=1.1.0&LAYER=STATE&FORMAT=image/png"
> 
> >>> "Hankley, Chip" <Chip.Hankley at GASAI.Com> 02/06/03 03:59PM >>>
> I switched up to a 3.7dev MapServer executable:
> 
> MapServer version 3.7 (development) OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> SUPPORTS=GD2_RGB INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> 
> While this took care of the client hanging, I'm still not 
> getting a map
> (image) returned from the WMS Server.
> 
> I've simplified the mapfiles so that:
> 
> a) the WMS server map file has only ONE layer
> b) the WMS client map file has only ONE local layer in 
> addition to ONE WMS
> Layer
> c) EVERYTHING is in the same projection (UTM16 N)
> 
> I have put the same information as before (updated) at
> 
> http://207.250.243.23/WMS/WMSWoes.html 
> 
>   Here you will find:
>     WMS Server mapfile
>     WMS Client mapfile
>     XML output of GETCAPABILITIES
> 
> I am still somewhat confused by the "wms_onlineresource" syntax on the
> server - is it supposed to end with a "&"?
> 
> And, the CONNECTION line on the client:
> 
>   is it LAYER=xxx or LAYERS=xxx?
> 
> TIA!
> 
> Chip
> 
>  
> 
> 
> 
> 
> 
> > -----Original Message-----
> > From: Daniel Morissette [mailto:morissette at dmsolutions.ca] 
> > Sent: Thursday, February 06, 2003 12:10 PM
> > To: Hankley, Chip
> > Cc: MapServer List (E-mail)
> > Subject: Re: [Mapserver-users] WMS Woes
> > 
> > 
> > "Hankley, Chip" wrote:
> > > 
> > > I'm attempting to set up my first WMS server / client, and 
> > am running into a
> > > problem: when I try to connect to the WMS Server using a 
> > MapServer based WMS
> > > Client, the MapServer just hangs (on the WMS Client end). I 
> > never receive an
> > > error, but process just terminates with a standard "IIS 
> > Timeout" type
> > > statement.
> > > 
> > 
> > First thing to try would be to upgrade your WMS server to version
> > 3.6.4.  A bad memory corruption bug with the SRS parameter 
> in the WMS
> > interface was fixed between 3.6.3 and 3.6.4, and I think 
> the symptoms
> > were an infinite loop like this on Windows.
> > 
> > -- 
> > ------------------------------------------------------------
> >  Daniel Morissette               morissette at dmsolutions.ca 
> >  DM Solutions Group              http://www.dmsolutions.ca/ 
> > ------------------------------------------------------------
> > 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu 
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 



More information about the MapServer-users mailing list