[mapserver-users] RE: [ms4w-users] WMS problems in ESRI clients
Fischer, Brian
bfischer at houstonengineeringinc.com
Tue Oct 21 12:18:20 PDT 2008
Has anyone found a solution to this problem? I am having the exact same
problem. I'm using MS4W 2.3.0 with MapServer 5.2 and IIS 6.0.
WMS Get Capabilities URL:
http://douglas.houstoneng.com/cgi-bin2/mapserv.exe?map=/ms4w/apps/GeoMOO
SE/douglas/maps_douglas/douglas_ogc.map&SERVICE=WMS&VERSION=1.1.1&REQUES
T=GetCapabilities
This is proof it works as a MapServer CGI request:
http://douglas.houstoneng.com/cgi-bin2/mapserv.exe?map=/ms4w/apps/GeoMOO
SE/douglas/maps_douglas/douglas_ogc.map&mode=map&layers=parcelwms
This is proof it works as an OGC WMS GetMap request:
http://douglas.houstoneng.com/cgi-bin2/mapserv.exe?map=/ms4w/apps/GeoMOO
SE/douglas/maps_douglas/douglas_ogc.map&SERVICE=WMS&VERSION=1.1.1&REQUES
T=GetMap&LAYERS=parcelwms&STYLES=&SRS=EPSG:26915&BBOX=276595,5065831,342
552,5113395&WIDTH=600&HEIGHT=500&FORMAT=image/png
ArcGIS 9.3 recognizes the service but displays a blank image. It even
will bring in the legend with the right symbology.
Brian Fischer
Houston Engineering, Inc.
Maple Grove, MN
(763) 493-4522
From: ms4w-users-bounces at lists.maptools.org
[mailto:ms4w-users-bounces at lists.maptools.org] On Behalf Of Smith,
Michael
Sent: Friday, October 03, 2008 3:56 PM
To: ms4w-users at lists.maptools.org
Subject: [ms4w-users] WMS problems in ESRI clients
Greetings, I have a new MS4W server running with IIS, using the newest
MS4W on Windows 2003 server. It works fine if I look at it in QGIS. If
I consume it in ArcMap (I tried v 9.0 and 9.3) there is no output image,
just white. My layers turn on/off at appropriate scales, but nothing is
there. The WMS is just 3 levels of orthoimagery for part of Maine.
The URL is
http://geolibportaltest.maine.gov/mapserver/cgi-bin/mapserv.exe?map=c:/m
s4w/apps/wms/nw_doqs.map&
<http://geolibportaltest.maine.gov/mapserver/cgi-bin/mapserv.exe?map=c:/
ms4w/apps/wms/nw_doqs.map&>
I have a prototype box (which is internal to our WAN and so readers you
won't be able to see it) which has the same exact data and mapfile, but
it runs on Apache (the one distributed with MS4W) on Windows XP, and the
service works fine in ArcGIS 9.0 and 9.3.
My map file is shown below.
Any suggestions?
**********
Michael Smith
State GIS Manager
Maine Office of GIS
MAP
EXTENT 396000 5093000 501000 5261000
UNITS METERS
SHAPEPATH "C:/mapserver_data/nw_doqs"
RESOLUTION 96
CONFIG "PROJ_LIB" "C:\ms4w\proj\nad"
OUTPUTFORMAT
NAME PNG8
DRIVER "GD/PNG"
MIMETYPE "image/png"
EXTENSION PNG
IMAGEMODE PC256
TRANSPARENT ON
END
WEB
METADATA
"wms_title" "Northwest DOQs"
"wms_onlineresource" "
http://geolibportaltest.maine.gov/mapserver/cgi-bin/mapserv.exe?map=c:/m
s4w/apps/wms/nw_doqs.map&
<http://geolibportaltest.maine.gov/mapserver/cgi-bin/mapserv.exe?map=c:/
ms4w/apps/wms/nw_doqs.map&> "
"wms_srs" "EPSG:26919"
END
END
PROJECTION
"init=epsg:26919"
END
LAYER
NAME nw_doqs
MAXSCALEDENOM 50000
METADATA
"wms_title" "NW DOQs"
"wms_extent" "396000 5093000 501000 5261000"
"wms_srs" "EPSG:26919"
END
TILEINDEX "nw_doqs_index.shp"
TILEITEM "location"
TYPE RASTER
END
LAYER
NAME nw_doqs10m
MINSCALEDENOM 50000
MAXSCALEDENOM 500000
METADATA
"wms_title" "NW DOQs 10m overview"
"wms_extent" "396000 5093000 501000 5261000"
"wms_srs" "EPSG:26919"
END
TYPE RASTER
DATA doq_overview20.tif
END
LAYER
NAME nw_doqs100m
MINSCALEDENOM 500000
MAXSCALEDENOM 10000000
METADATA
"wms_title" "NW DOQs 100m overview"
"wms_extent" "396000 5093000 501000 5261000"
"wms_srs" "EPSG:26919"
END
TYPE RASTER
DATA doq_overview100.tif
END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081021/7396d1d1/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 36044 bytes
Desc: image003.jpg
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081021/7396d1d1/attachment.jpg>
More information about the MapServer-users
mailing list