[mapserver-users] Which WMS Versions are supported?

Smith, Michael ERDC-CRREL-NH Michael.Smith at erdc.usace.army.mil
Tue Aug 20 11:33:01 PDT 2002


Thanks Dan, that solved the problem (--enable-debug, works great). It turns out that the problem was multiple srs's in the wms metadata. I put in all the epsg codes that the server supports in the wms metadata and the epsg that I wanted in the projection part but it was always sending the URL with the first epsg code from the wms-metadata. Is that how its supposed to work or should I file this in bugzilla?

Mike Smith
email: michael.smith at erdc.usace.army.mil
RSGISC
ERDC - CRREL 
Hanover, NH  03755
(603) 646-4765



-----Original Message-----
From: Daniel Morissette [mailto:morissette at dmsolutions.ca]
Sent: Tuesday, August 20, 2002 11:22 AM
To: Smith, Michael ERDC-CRREL-NH
Cc: 'mapserver-users at lists.gis.umn.edu'
Subject: Re: [mapserver-users] Which WMS Versions are supported?


MapServer 3.6 supports only up to 1.1.0 in server mode, but I see no
reason why it wouldn't work with a 1.1.1 server as a client since there
were no major changes in the GetMap requests between 1.1.0 and 1.1.1.

If you're running on Unix, can you please compile your MapServer using
the --enable-debug configure option, and then look at the web server's
error_log and you'll see the URL that is used for the GetMap request...
with that URL it should be possible to figure what's happening.  You may
also see some useful error messages in the error_log.

Note that there is no debugging information output to the error_log on
Windows, so this will work only on Unix servers.

Finally, once you have the faulty URL, could you please file a bug about
this in bugzilla so that we have a trace of the problem and it doesn't
fall in a crack?

Thanks

Daniel


"Smith, Michael ERDC-CRREL-NH" wrote:
> 
> Is wms version 1.1.1 not supported? I've been connecting to a wms version 1.1.0 server and its been working fine. Now I've tried to get to a 1.1.1 server (Microsoft TerraServer) and I get no image.
> 
> Here's the layer specs I've been using
> 
> LAYER
>      NAME terraserver
>      METADATA
>        "wms_title" "Raster/USGS DRG"
>        "wms_srs"   "EPSG:26905 EPSG:26906 EPSG:26910 EPSG:26911 EPSG:26912 EPSG:26913 EPSG:26914 EPSG:26915 EPSG:26916 EPSG:26917 EPSG:26918 EPSG:26919 EPSG:26920"
>      END
>      TYPE RASTER
>      STATUS default
>      CONNECTIONTYPE WMS
>      CONNECTION "http://terraservice.net/ogcmap.ashx?version=1.1.1&service=wms&LAYERS=DRG&FORMAT=image/jpeg&styles="
>      PROJECTION
>         "init=epsg:26911"
>      END
> END
> 
> When I connect using a direct URL and fill in the bbox, etc, I get an image.
> i.e. <http://terraservice.net/ogcmap.ashx?version=1.1.1&request=getmap&service=wms&LAYERS=DRG&FORMAT=image/jpeg&bbox=564953.8894514536,3694151.203736646,608893.7801618363,3734423.32393698&width=600&height=550&srs=epsg:26911&styles=>
> 
> Anyone know why?
> 
> Mike Smith
> email: michael.smith at erdc.usace.army.mil
> RSGISC
> ERDC - CRREL
> Hanover, NH  03755
> (603) 646-4765



More information about the MapServer-users mailing list