<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19328"></HEAD>
<BODY>
<DIV dir=ltr align=left>var layer = new OpenLayers.Layer.WMS<SPAN
class=937564322-02112012>(name, params, options)</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=937564322-02112012></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=937564322-02112012><FONT color=#0000ff
size=2 face=Arial>the param SRS is set by OpenLayers using the map projection.
But you could overwrite the projection, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=937564322-02112012><FONT color=#0000ff
size=2 face=Arial>if you set </FONT></SPAN><SPAN class=937564322-02112012><FONT
color=#0000ff size=2 face=Arial>in the options
projection:"EPSG:102113".</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=937564322-02112012><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial>// WMS LAYER:
National Elevation Dataset - EROS <BR>var layer = new OpenLayers.Layer.WMS(
"National Elevation Dataset - EROS", <BR>"<A
href="http://imsref.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED">http://imsref.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED</A>?",
<BR>{layers: "NED.CONUS_NED,NED.PR_NED", <BR>TRANSPARENT:true, format:
"image/png"}, <BR>{isBaseLayer: false, visibility: true, group:"other", opacity:
0.75, meta:true, projection:"EPSG:102113"}); <BR>map.addLayer(layer);
</FONT></DIV>
<DIV> </DIV>
<DIV><SPAN class=937564322-02112012></SPAN><FONT color=#0000ff size=2
face=Arial><SPAN class=937564322-02112012>Also the projection is declared with
the prefix EPSG.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=937564322-02112012>srs:EPSG:102113 instead srs:102113.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=937564322-02112012></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2>A<SPAN
class=937564322-02112012>rnd</SPAN></FONT></FONT></FONT><BR></DIV>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> Doug Kunzman [mailto:dkunzman@usgs.gov]
<BR><B>Gesendet:</B> Freitag, 2. November 2012 23:13<BR><B>An:</B>
arnd.wippermann@web.de<BR><B>Betreff:</B> Re: AW: [OpenLayers-Users]
WMS<BR></FONT><BR></DIV>
<DIV></DIV><FONT size=2 face=sans-serif>Arnd -</FONT> <BR><BR><FONT size=2
face=sans-serif>Something weird is happening with the request because this is my
code to setup layer in openlayers. This is from firebug so I'm sure its
not a cache issue.</FONT> <BR><BR><FONT size=3>// WMS LAYER: National Elevation
Dataset - EROS </FONT><BR><FONT size=3>var layer = new OpenLayers.Layer.WMS(
"National Elevation Dataset - EROS", </FONT><BR><FONT size=3>"</FONT><A
href="http://imsref.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?"><FONT
size=3>http://imsref.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?</FONT></A><FONT
size=3>", </FONT><BR><FONT size=3>{layers: "NED.CONUS_NED,NED.PR_NED",
</FONT><BR><FONT size=3>srs: "102113", TRANSPARENT:true, format: "image/png"},
</FONT><BR><FONT size=3>{isBaseLayer: false, visibility: false, group:"other",
opacity: 0.75, meta:true}); </FONT><BR><FONT size=3>map.addLayer(layer);
</FONT><BR><BR><BR><FONT size=2 face=sans-serif>And this is the request from
firebug</FONT> <BR><BR>
<TABLE>
<TBODY>
<TR>
<TD><FONT size=3>BBOX</FONT>
<TD><TT><FONT
size=3>-11075419.648867,4569099.8021387,-11065635.709248,4578883.7417578</FONT></TT>
<TR>
<TD><FONT size=3>FORMAT</FONT>
<TD><TT><FONT size=3>image/png</FONT></TT>
<TR>
<TD><FONT size=3>HEIGHT</FONT>
<TD><TT><FONT size=3>256</FONT></TT>
<TR>
<TD><FONT size=3>LAYERS</FONT>
<TD><TT><FONT size=3>NED.CONUS_NED,NED.PR_NED</FONT></TT>
<TR>
<TD><FONT size=3>REQUEST</FONT>
<TD><TT><FONT size=3>GetMap</FONT></TT>
<TR>
<TD><FONT size=3>SERVICE</FONT>
<TD><TT><FONT size=3>WMS</FONT></TT>
<TR>
<TD><FONT size=3>SRS</FONT>
<TD><TT><FONT size=3>EPSG:3857</FONT></TT>
<TR>
<TD><FONT size=3>STYLES</FONT>
<TD>
<TR>
<TD><FONT size=3>TRANSPARENT</FONT>
<TD><TT><FONT size=3>TRUE</FONT></TT>
<TR>
<TD><FONT size=3>VERSION</FONT>
<TD><TT><FONT size=3>1.1.1</FONT></TT>
<TR>
<TD><FONT size=3>WIDTH</FONT>
<TD><TT><FONT size=3>256</FONT></TT></TR></TBODY></TABLE><BR><BR><FONT size=2
face=sans-serif>I think its a open layers issue but the bbox parameters look
like 102113.</FONT> <BR><BR><FONT size=2 face=sans-serif>Douglas
Kunzman<BR>12201 Sunrise Valley Drive<BR>Reston, VA 20192<BR>Phone: 703
648-4234<BR>dkunzman@usgs.gov<BR></FONT><BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD><FONT color=#5f5f5f size=1 face=sans-serif>From:</FONT>
<TD><FONT size=1 face=sans-serif>"Arnd Wippermann"
<arnd.wippermann@web.de></FONT>
<TR vAlign=top>
<TD><FONT color=#5f5f5f size=1 face=sans-serif>To:</FONT>
<TD><FONT size=1 face=sans-serif>"'Doug Kunzman'"
<dkunzman@usgs.gov></FONT>
<TR>
<TD vAlign=top><FONT color=#5f5f5f size=1 face=sans-serif>Cc:</FONT>
<TD><FONT size=1
face=sans-serif><openlayers-users@lists.osgeo.org></FONT>
<TR vAlign=top>
<TD><FONT color=#5f5f5f size=1 face=sans-serif>Date:</FONT>
<TD><FONT size=1 face=sans-serif>11/02/2012 06:00 PM</FONT>
<TR vAlign=top>
<TD><FONT color=#5f5f5f size=1 face=sans-serif>Subject:</FONT>
<TD><FONT size=1 face=sans-serif>AW: [OpenLayers-Users]
WMS</FONT></TR></TBODY></TABLE><BR>
<HR noShade>
<BR><BR><BR><FONT color=blue size=2 face=Arial>EPSG:3857 is not supported by the
wms, see</FONT> <BR><A
href="http://ims.cr.usgs.gov/WMS_Capabilities/USGS_EDC_Elev_NED/capabilities_1_1_1.xml"><FONT
color=blue size=2
face=Arial><U>http://ims.cr.usgs.gov/WMS_Capabilities/USGS_EDC_Elev_NED/capabilities_1_1_1.xml</U></FONT></A>
<BR><FONT size=3> </FONT> <BR><FONT color=blue size=2 face=Arial>but you
can use EPSG:102113 instead.</FONT> <BR><FONT size=3> </FONT> <BR><FONT
color=blue size=2 face=Arial>NED above Google using EPSG:102113 for
request</FONT> <BR><A
href="http://gis.ibbeck.de/OLClient/OLClient.asp?WMC=./data/WMC/USGS_EDC_Elev_NED_102113.wmc.xml"><FONT
color=blue size=2
face=Arial><U>http://gis.ibbeck.de/OLClient/OLClient.asp?WMC=./data/WMC/USGS_EDC_Elev_NED_102113.wmc.xml</U></FONT></A>
<BR><FONT size=3> </FONT> <BR><FONT color=blue size=2
face=Arial>Arnd</FONT> <BR><FONT size=3> </FONT> <BR><BR>
<HR>
<FONT size=2 face=Tahoma><B>Von:</B> openlayers-users-bounces@lists.osgeo.org
[</FONT><A href="mailto:openlayers-users-bounces@lists.osgeo.org"><FONT size=2
face=Tahoma>mailto:openlayers-users-bounces@lists.osgeo.org</FONT></A><FONT
size=2 face=Tahoma>] <B>Im Auftrag von </B>Doug Kunzman<B><BR>Gesendet:</B>
Freitag, 2. November 2012 18:49<B><BR>An:</B>
openlayers-users@lists.osgeo.org<B><BR>Betreff:</B> [OpenLayers-Users]
WMS</FONT><FONT size=3><BR></FONT><BR><FONT size=2 face=sans-serif>Hi
-</FONT><FONT size=3> <BR></FONT><FONT size=2 face=sans-serif><BR>I trying to
include the EROS data set as part of the National Map at USGS in an open Layers
project. We are using a spherical Mercator projection "102113" which would
be hard to change at this point. My requests work when they are in
latitude and longitude but my requests fail when they are in spherical mecator.
Is there any way to force open layers to make my request with reprojected
parameters as latitude longitude rather than spherical Mercator?</FONT><FONT
size=3> <BR><BR></FONT><FONT size=2 face=sans-serif><BR>This isn't
working</FONT><FONT size=3> </FONT>
<TABLE>
<TBODY>
<TR>
<TD><FONT size=3>BBOX </FONT>
<TD><TT><FONT
size=3>-10018754.17,-1.862645149231e-9,-5009377.085,5009377.085</FONT></TT><FONT
size=3> </FONT>
<TR>
<TD><FONT size=3>FORMAT </FONT>
<TD><TT><FONT size=3>image/png</FONT></TT><FONT size=3> </FONT>
<TR>
<TD><FONT size=3>HEIGHT </FONT>
<TD><TT><FONT size=3>256</FONT></TT><FONT size=3> </FONT>
<TR>
<TD><FONT size=3>LAYERS </FONT>
<TD><TT><FONT size=3>NED.CONUS_NED,NED.PR_NED</FONT></TT><FONT size=3>
</FONT>
<TR>
<TD><FONT size=3>REQUEST </FONT>
<TD><TT><FONT size=3>GetMap</FONT></TT><FONT size=3> </FONT>
<TR>
<TD><FONT size=3>SERVICE </FONT>
<TD><TT><FONT size=3>WMS</FONT></TT><FONT size=3> </FONT>
<TR>
<TD><FONT size=3>SRS </FONT>
<TD><TT><FONT size=3>EPSG:3857</FONT></TT><FONT size=3> </FONT>
<TR>
<TD><FONT size=3>STYLES </FONT>
<TD>
<TR>
<TD><FONT size=3>VERSION </FONT>
<TD><TT><FONT size=3>1.1.1</FONT></TT></TR></TBODY></TABLE><BR><FONT
size=3><BR><BR><BR></FONT><FONT size=2 face=sans-serif><BR>The end point of the
service is at this location. </FONT><FONT size=3><BR></FONT><FONT color=blue
size=3><U><BR></U></FONT><A
href="http://imsref.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?"><FONT
color=blue size=2
face=sans-serif><U>http://imsref.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?</U></FONT></A><FONT
size=3> <BR></FONT><FONT size=2 face=sans-serif><BR>Thanks,</FONT><FONT size=3>
</FONT><FONT size=2 face=sans-serif><BR>Douglas Kunzman</FONT><FONT size=3>
</FONT><BR><BR></BODY></HTML>