<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702">
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT size=2 face=Arial>Hi All,</FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT size=2 
face=Arial></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Is it easy to use openlayers to convert bounding 
boxes from one EPSG to another.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>With WGS84 world geodesic datum projection 
EPSG:4326, North America has a bounding box of </FONT></DIV>
<DIV><FONT size=2 face=Arial>defaultBounds=new OpenLayers.Bounds(-180, 5, -10, 
85); //north america, working with google, nasa, metacarta, etc.</FONT></DIV>
<DIV><FONT size=2 face=Arial>var myproj=new 
OpenLayers.Projection(myepsg);<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>With Lambert Conic Conformal projection EPSG:42304, 
Canada has a bounding box of </FONT></DIV>
<DIV><FONT size=2 face=Arial>defaultBounds=new 
OpenLayers.Bounds(-2750564.75,-936638.5,3583872.5,4673125); //canada<BR>var 
myepsg="EPSG:42304"; //Lambert Conic Conformal, working with <A 
href="http://atlas.gc.ca/cgi-bin/atlaswms_en">http://atlas.gc.ca/cgi-bin/atlaswms_en</A><BR>var 
myproj=new OpenLayers.Projection(myepsg);<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>Q: How can I have the bounding box for North 
America in EPSG:42304?</FONT></DIV>
<DIV><FONT size=2 face=Arial>&nbsp;</DIV></FONT>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT size=2 face=Arial>Stephane</FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT size=2 
face=Arial></FONT></FONT></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Stephane Poirier - Research professional<BR>Center 
of Applications in Remote Sensing<BR>Applied Geomatics Department<BR>University 
of Sherbrooke<BR>Sherbrooke (Quebec), CANADA J1K 2R1<BR>Tel.: (+1 819) 821 8000 
#61904<BR>Fax.: (+1 819) 821 7944<BR></FONT><A 
href="mailto:Stephane.Poirier@USherbrooke.ca"><FONT size=2 
face=Arial>Stephane.Poirier@USherbrooke.ca</FONT></A><BR><A 
href="http://www.usherbrooke.ca/cartel"><FONT size=2 
face=Arial>http://www.usherbrooke.ca/cartel</FONT></A></DIV><BR></DIV></DIV>
<DIV><FONT size=2 face=Arial>P.S.:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>//works fine<BR>defaultBounds=new 
OpenLayers.Bounds(-180, 5, -10, 85); //north america<BR>var myepsg="EPSG:4326"; 
//working with google, nasa, metacarta, etc.)<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>//works 
fine<BR>//BBOX=-2750564.75,-936638.5,3583872.5,4673125 //for 
canada<BR>defaultBounds=new 
OpenLayers.Bounds(-2750564.75,-936638.5,3583872.5,4673125); //north 
america<BR>var myepsg="EPSG:42304"; //Lambert Conic Conformal, working with <A 
href="http://atlas.gc.ca/cgi-bin/atlaswms_en">http://atlas.gc.ca/cgi-bin/atlaswms_en</A><BR>var 
myproj=new OpenLayers.Projection(myepsg);<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>//How to specify northern hemisphere</FONT></DIV>
<DIV><FONT size=2 face=Arial>//defaultBounds=new OpenLayers.Bounds(-180, 0, 
+180, 90); //north hemisphere?<BR>defaultBounds=new OpenLayers.Bounds(?, ?,?,?); 
//north hemisphere<BR>var myepsg="EPSG:102018"; //North Pole Stereographic, 
working with <A 
href="http://atlas.gc.ca/cgi-bin/atlaswms_en">http://atlas.gc.ca/cgi-bin/atlaswms_en</A> 
<BR>var myproj=new OpenLayers.Projection(myepsg);<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>&nbsp;</DIV></FONT>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV></BODY></HTML>