[Mapserver-users] Adding a WMS Layer from terraservice.net
Robert Aldridge
bamarob55 at yahoo.com
Fri Jun 4 10:14:22 PDT 2004
I'm attempting to show a DOQ from terraservice.net via
mapserver. I've read through the howto's and archives
of this list, but to no avail. It appears to be
working, but I just get a blank image. Could someone
post a simple mapfile that displays a DOQ from
terraserver, or take a look at my mapfile to see if
you can identify my problem?
Here's my (simple) mapfile:
#begin mapfile
NAME "wms_test"
SIZE 600 400
STATUS ON
EXTENT 430400 3750400 435200 3753600
UNITS METERS
IMAGETYPE PNG
LAYER
NAME ortho
METADATA
"wms_title" "USGS Digital
Ortho-Quadrangles"
"wms_srs" "EPSG:26916" #NAD83
UTM Zone 16N
"wms_name" "ortho"
"wms_server_version" "1.1.1"
"wms_formatlist"
"image/png,image/jpeg,image/gif"
"wms_format" "image/png"
END
OFFSITE 255 255 255
STATUS DEFAULT
TYPE RASTER
CONNECTIONTYPE WMS
CONNECTION "http://terraservice.net/ogcmap.ashx?"
DEBUG ON
END
END
END
#end mapfile
I'm viewing it by typing the following URL:
http://myserver/cgi-bin/mapserv?map=/var/www/mapping/wms.map&mode=map
It returns a 600x400 PNG image, but it's blank (all
white).
Thanks,
Robert
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
More information about the MapServer-users
mailing list