[mapserver-users] Problem with V.5.2

Jim Klassen Jim.Klassen at ci.stpaul.mn.us
Mon Oct 13 10:05:20 EDT 2008


This is probably not the best solution but it is what worked for me.

1) I made a static copy of the GetCapabilities output from mapserver.
2) I modified the static file to
 a) Only offer JPEG image types (otherwise ArcGIS 9.2 and 9.3 read my aerial photos as 8-bit PNG)
 b) Appended the 'SERVICE=WMS&' bit to all the URLs (e.g. in the GetMap/GetLegend/... sections) 
3) Told the ArcGIS users to access the static XML instead of the Mapserver WMS service directly.

>>> "David Martinez Morata" <damarmo at gmail.com> 10/10/08 4:32 AM >>>
Hello.

I was create a WMS service with previous version (5.0.2) for Raster data,
and I can conect with the service via ArcGIS.

Now I install a new version of MS4W (with Mapserver 5.2) and I try to deserv
the WMS in this server, but I found a problem with ArcGIS client (and the
web test to)

With the old WMS service I put the link in FireFox and I have the map image
(Apache log "GET
/cgi-bin/mapserv.exe?map=/ms4w/apps/Test/WMS.map&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:27582&BBOX=2019.17152212097,1496228.67391604,1618166.46125871,2779880.23119418&WIDTH=1186&HEIGHT=942&LAYERS=RGV2_L2e_05kFR_Contenu,RGV2_L2e_50kFR_France,R500_L2E_01CFR_France,R500_L2E_25CFR_France,R120_L2E_05CFR_France,R120_L2E_01MFR_France,R120_L2E_04MFR_France&STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE
HTTP/1.1" 200 212004)

But with the new if I try this i don't have the image.(Apache log "GET"GET
/cgi-bin/mapserv.exe?map=/ms4w/apps/Fond_Carto_WMS/maps/Fond_Carto_WMS.map&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:27582&BBOX=-190444.488346285,1497501.60549992,1390444.48834629,2753148.66793196&WIDTH=1186&HEIGHT=942&LAYERS=RGV2_L2e_05kFR_Contenu,RGV2_L2e_50kFR_France,R500_L2E_01CFR_France,R500_L2E_25CFR_France,R120_L2E_05CFR_France,R120_L2E_01MFR_France,R120_L2E_04MFR_France&STYLES=&EXCEPTIONS=application/vnd.ogc.se_xml&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE
HTTP/1.1" 200 552)

And if I put the &SERVICE=WMS parameter I have the image with new.

My question is if this is a change in Mapserver and how I can pase this
parametre in ArcGIS Request? I can define this in wms metadata in the map
file?

Thanks



More information about the mapserver-users mailing list