I made a WMS request in my browser using the request parameters
specified in your photo layer:
http://terraservice.net/OgcMap.ashx?request=getmap&service=wms&version=1.1.1&width=500&height=500&layers=DOQ&bbox=-170,60,-150,75&srs=EPSG:4326&format=png
The WMS gave an error: "Invalid Lon-Lat coordinates, must specify at
least one (lon,lat) pair correctly; Longitude must be between -170 and
-60 Latitude must be between 15 and 75 "
With a different lat-long bounding box it seems to work. I tested with
bbox=-124,46,-110,52. I think the source WMS server doesn't like your
bounding box.
That's just a guess. I don't know exactly what WMS URLs mapserver is
using to request the photo layers. If you have a way to intercept those
outgoing URLs that should give you enough clues to fix the problem.
Brock
M.L. Jackson wrote:
Hi, I'm new to the Mapserver Listserv. I am having problems displaying
the wms layer on my map. My problem is that I don't see any aerial
shots at all. It is as if the map is being drawn without the layer.
Here is a snippet out of my map file where the wms layer is defined:
LAYER
NAME "photo"
STATUS DEFAULT
TYPE RASTER
MINSCALE 10000
#MAXSCALE 10000
CONNECTIONTYPE WMS
CONNECTION "http://terraservice.net/OgcMap.ashx?"
METADATA
"wms_srs" "EPSG:4326"
"wms_title" "Orthophoto"
"wms_name" "DOQ"
"wms_server_version" "1.1.1"
"wms_format" "image/png"
"wms_layers" "doq"
"wms_group_title" "background"
"wms_onlineresource" "http://terraservice.net/OgcMap.ashx?"
"wms_latlonboundingbox" "-170 -60 15 75"
#"wms_connectiontimeout" "120"
END
PROJECTION
"init=epsg:4326"
END
DEBUG ON
END
BTW, my map extent is -178.21759836236586 18.924781799316406
-66.96927103600244 71.40623535327121. Thanks for your reply.
_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/