[OpenLayers-Dev] Openlayers using ArcGIS Server 9.4 not
working using OGC WMS on Google Basemap
bartvde at osgis.nl
bartvde at osgis.nl
Fri Feb 26 04:09:25 EST 2010
Hi,
OpenLayers 2.8 does not support WMS 1.3, OpenLayers trunk does and will
use CRS instead of SRS if VERSION is 1.3.
Best regards,
Bart
> 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
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
More information about the Dev
mailing list