[mapserver-users] Problem with V.5.2

David Martinez Morata damarmo at gmail.com
Tue Oct 14 09:41:58 EDT 2008


Thanks for the answere but I found a eassiest way, just add the
"SERVICE=WMS&" text at the end of your "wms_onlinesource" metadata and it's
Ok, I have the service runing in ArcGIS 9.0 and 9.2.

Thanks!!!


2008/10/13 Jim Klassen <Jim.Klassen at ci.stpaul.mn.us>

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081014/bb5471f5/attachment.html


More information about the mapserver-users mailing list