[mapserver-users] WMS layer is blank
Dylan Keon
keon at nacse.org
Mon Nov 18 14:51:32 PST 2002
Hi listers,
I'm trying to display a WMS layer (Terraserver DOQ) in a simple
interface. I've tried everything I can think of to get it to display,
but just get a blank image. The extent and epsg codes are correct. The
other layer in the mapfile (a shapefile) appears, but not the WMS layer.
I compiled MapServer with --enable-debug...the WMS request URL printed
to the server log is good. I can copy that URL to a browser and the
correct DOQ image appears. The mapfile is below. Thanks for any help.
Dylan
################### mapfile ######################
NAME "wms_test"
SIZE 600 400
STATUS ON
EXTENT 371000 5250000 492000 5353000 #minx miny maxx maxy
UNITS METERS
SHAPEPATH "/tmp/gis"
IMAGETYPE PNG
PROJECTION
"init=epsg:26910" #NAD83 UTM zone 10N
END
WEB
IMAGEPATH "/www/temp/"
IMAGEURL "/temp/"
END
LAYER
NAME ONP_boundary
TYPE POLYGON
STATUS DEFAULT
DATA onp_bnd
TRANSPARENCY 50
CLASS
NAME "ONP boundary"
OUTLINECOLOR 0 0 0
COLOR 243 248 245
END
END
LAYER
NAME ortho
METADATA
"wms_title" "USGS Digital Ortho-Quadrangles"
"wms_srs" "EPSG:26910"
END
STATUS DEFAULT
TYPE RASTER
MINSCALE 1000
MAXSCALE 200000
CONNECTIONTYPE WMS
CONNECTION
"http://terraservice.net/ogcmap.ashx?VERSION=1.1.1&SERVICE=wms&LAYERS=DOQ&FORMAT=png&styles="
PROJECTION
"init=epsg:26910" #NAD83 UTM zone 10N
END
END
END
#########################################
More information about the MapServer-users
mailing list