Hi list,<div><br></div><div>I have a layer of the states and territories of Australia and would like to overlay it on google maps using openlayers. </div><div><br></div><div>The Australia layer is a WMS which is on my ArcGIS Server. I use EPSG:102113 which represents in the ESRI world the WGS_1984_Web_Mercator.</div>
<div><br></div><div>The WMS has following capabilities:</div><div><br></div><div><div><font class="Apple-style-span" color="#333399"><Layer queryable="1"></font></div><div><font class="Apple-style-span" color="#333399"><Name>0</Name></font></div>
<div><font class="Apple-style-span" color="#333399"><Title>StateBoundaries_1</Title></font></div><div><font class="Apple-style-span" color="#333399"><Abstract>StateBoundaries_1</Abstract></font></div>
<div><font class="Apple-style-span" color="#333399"><CRS>CRS:84</CRS></font></div><div><font class="Apple-style-span" color="#333399"><CRS>EPSG:4326</CRS></font></div><div><font class="Apple-style-span" color="#333399"><CRS>EPSG:</font><b><font class="Apple-style-span" color="#333399">102113</font></b><font class="Apple-style-span" color="#333399"></CRS></font></div>
<div><font class="Apple-style-span" color="#333399">−</font></div><div><font class="Apple-style-span" color="#333399"><EX_GeographicBoundingBox></font></div><div><font class="Apple-style-span" color="#333399"><westBoundLongitude>0.000870</westBoundLongitude></font></div>
<div><font class="Apple-style-span" color="#333399"><eastBoundLongitude>0.001429</eastBoundLongitude></font></div><div><font class="Apple-style-span" color="#333399"><southBoundLatitude>-0.000393</southBoundLatitude></font></div>
<div><font class="Apple-style-span" color="#333399"><northBoundLatitude>-0.000082</northBoundLatitude></font></div><div><font class="Apple-style-span" color="#333399"></EX_GeographicBoundingBox></font></div>
<div><font class="Apple-style-span" color="#333399"><BoundingBox CRS="CRS:84" minx="0.000870" miny="-0.000393" maxx="0.001429" maxy="-0.000082"/></font></div><div><font class="Apple-style-span" color="#333399"><BoundingBox CRS="EPSG:4326" minx="-0.000393" miny="0.000870" maxx="-0.000082" maxy="0.001429"/></font></div>
<div><font class="Apple-style-span" color="#333399"><BoundingBox CRS="<b>EPSG:102113</b>" minx="96.816766" miny="-43.740510" maxx="159.109219" maxy="-9.142176"/></font></div>
<div><br></div><div>the openlayer setup looks like this </div><div><br></div><div><div><font class="Apple-style-span" color="#990000">var geographic = new OpenLayers.Projection("EPSG:4326");</font></div><div><font class="Apple-style-span" color="#990000">var mercator = new OpenLayers.Projection("EPSG:900913"); //aka EPSG:3785</font></div>
<div><font class="Apple-style-span" color="#990000">var gda94 = new OpenLayers.Projection("EPSG:4283");</font></div><div><font class="Apple-style-span" color="#990000"><br></font></div><div><font class="Apple-style-span" color="#990000">var world = new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34)</font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#990000">                </font></span></div><div><font class="Apple-style-span" color="#990000">var mapOptions = {</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#990000">        </font></span><font class="Apple-style-span" color="#990000">projection: mercator,</font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#990000">        </font></span><font class="Apple-style-span" color="#990000">displayProjection: geographic, //for Mouse Position</font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#990000">        </font></span><font class="Apple-style-span" color="#990000">maxExtent: world,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#990000">        </font></span><font class="Apple-style-span" color="#990000">restrictedExtent: world,</font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#990000">        </font></span><font class="Apple-style-span" color="#990000">units: 'm',</font></div><div><font class="Apple-style-span" color="#990000"> </font><font class="Apple-style-span" color="#990000">numZoomLevels: 22,</font></div>
<div><font class="Apple-style-span" color="#990000"> </font><font class="Apple-style-span" color="#990000">maxResolution: 156543.0339,</font></div><div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#990000">        </font></span><font class="Apple-style-span" color="#990000">controls: [new OpenLayers.Control.PanZoomBar(),</font></div>
<div><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#990000">        </font></span><font class="Apple-style-span" color="#990000">new OpenLayers.Control.KeyboardDefaults()]</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" color="#990000">                        </font></span></div>
<div><font class="Apple-style-span" color="#990000">};</font></div><div><font class="Apple-style-span" color="#990000"><br></font></div><div><font class="Apple-style-span" color="#990000">var map = new OpenLayers.Map( 'map', mapOptions );</font></div>
<div><font class="Apple-style-span" color="#990000"><br></font></div><div><font class="Apple-style-span" color="#990000"><div>//Google Physical</div><div>var gphy = new OpenLayers.Layer.Google("Google Physical",</div>
<div> {type: G_PHYSICAL_MAP,</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>sphericalMercator: true,<span class="Apple-tab-span" style="white-space:pre">                                                                </span> </div><div><span class="Apple-tab-span" style="white-space:pre">                </span>isBaseLayer: true,</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>numZoomLevels: 22,</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34)</div>
<div>});</div><div>map.addLayer(gphy); </div><div><br></div><div><div>var boundaries = new OpenLayers.Layer.WMS( "Boundaries",<span class="Apple-tab-span" style="white-space:pre">                                                                                        </span> <span class="Apple-tab-span" style="white-space:pre">        </span> <span class="Apple-tab-span" style="white-space:pre">                </span> <span class="Apple-tab-span" style="white-space:pre">                                                                </span></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>"<a href="http://ag-0988a/ArcGIS/services/StateBoundaries_WGS84_WM_102113/MapServer/WMSServer">http://ag-0988a/ArcGIS/services/StateBoundaries_WGS84_WM_102113/MapServer/WMSServer</a>?",</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>{layers: '0',//srs: 'EPSG:102113',<span class="Apple-tab-span" style="white-space:pre">                                                                                                                                                                                                                                                                                                                                </span></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>format: 'image/png',</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>transparent: true</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>},{</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>visibility: true, </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>isBaseLayer: false, </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>singleTile: false<span class="Apple-tab-span" style="white-space:pre">                                                                                                                        </span></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>}<span class="Apple-tab-span" style="white-space:pre">                                                                                                                                                                                </span></div><div>);</div><div>map.addLayer(boundaries);<span class="Apple-tab-span" style="white-space:pre">                </span></div>
<div><span class="Apple-tab-span" style="white-space:pre"><br></span></div><div><font class="Apple-style-span" color="#000000">The error message is <b>Parameter 'srs' contains unacceptable value.</b></font></div><div>
<font class="Apple-style-span" color="#000000"><b><br></b></font></div><div><font class="Apple-style-span" color="#000000">I know that the google layer is defined with EPSG:900913 and my WMS has EPSG:</font><font class="Apple-style-span" color="#000000">102113, but I can't set the EPSG to </font><font class="Apple-style-span" color="#000000">900913 because ESRI doesn't support it. </font></div>
<div><font class="Apple-style-span" color="#000000">How do I go from here, what are my options? I need to use Google as baselayer but can reproject all WMS as I like. </font></div><div><font class="Apple-style-span" color="#000000"><br>
</font></div><div><font class="Apple-style-span" color="#000000">Any suggestions are more than welcome. </font></div><div><font class="Apple-style-span" color="#000000"><br></font></div><div><font class="Apple-style-span" color="#000000">Regards, Philipp</font></div>
</div></font></div></div></div><div><br></div>