[OpenLayers-Dev] Openlayers using ArcGIS Server 9.4 not working using OGC WMS on Google Basemap

Marten Hogeweg mhogeweg at esri.com
Thu Feb 25 17:11:51 EST 2010


Here is a working request:
http://geoinfo8.lib.uidaho.edu/arcgis/services/elevation/LiDAR_projectBoundaries/MapServer/WMSServer?request=GetMap&service=WMS&version=1.3.0&styles=&bbox=42.78911624417861%2C-117.14154543133125%2C44.01074390554509%2C-115.44484034610004&width=600&height=432&format=image%2Fpng&transparent=true&crs=EPSG%3A4326&layers=0

this is a WMS 1.3 service and you'll have to use CRS instead of SRS.

Cheers,

Marten
ESRI Inc.

From: dev-bounces at openlayers.org [mailto:dev-bounces at openlayers.org] On Behalf Of Kevin Jones
Sent: Thursday, February 25, 2010 2:06 PM
To: dev at openlayers.org
Subject: [OpenLayers-Dev] Openlayers using ArcGIS Server 9.4 not working using OGC WMS on Google Basemap

I was wondering if anybody has problems with OGS WMS not working while using ArcGIS 9.4 Server?  When overlaid with Google Maps, I get a parameter 'srs' contains unacceptable value.  I am trying not to use the rest service for a project.  I can get it to work on the Open layers base map but when other base map services are turned on it pushes this error.  I have including my WMS Call below.


" Code "

var wms4 = new OpenLayers.Layer.WMS("OpenLayers WMS basemap right now",
      "http://geoinfo8.lib.uidaho.edu/ArcGIS/services/elevation/LiDAR_projectBoundaries/MapServer/WMSServer",
            { layers: '0',
                TRANSPARENT: true
            },
            {
                isBaseLayer: false,
                opacity: 1.0

            }
            );
  map.addLayer(wms4

Any help would be appreciated.
Thanks,
-Kevin j
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20100225/0e53d81f/attachment.html


More information about the Dev mailing list