<!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.18904">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Hi All,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I am using a custom bitmap (878 x 823 pixel) as
openlayer main background layer and I get the openlayers map display that I
want (<A
href="http://www.oifii.org/imt/dai/src/2010may31/index_CRCM_POLSTE-BITMAP.html">http://www.oifii.org/imt/dai/src/2010may31/index_CRCM_POLSTE-BITMAP.html</A>).</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I would like to be able to do coordinate
(projection) transforms. Provided my bitmap is a stereo polar projection rotated
in order to get north america vertical and center to canada, how could I modify
my code here below (that works in pixel projection) to work with this specific
projection? I need to do this because I want to overlay objects from a layer
that I must query in lat lon (EPSG:4326).</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>My code used to create the default layer
is:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>minimumdefaultBounds=new OpenLayers.Bounds(0, 0, 1,
1);<BR>defaultBounds=new OpenLayers.Bounds(0, 0, 878, 823);<BR>var options=
<BR>{<BR> minResolution: "auto",<BR> minExtent:
minimumdefaultBounds,<BR> maxResolution: "auto",<BR> maxExtent:
defaultBounds, //i.e. max bitmap size <BR> restrictedExtent:
defaultBounds, //null to allow panning<BR> projection:
myproj,<BR> controls: [new OpenLayers.Control.MouseDefaults(),new
OpenLayers.Control.ArgParser(),new
OpenLayers.Control.PanZoom()]<BR>}; <BR>map=new
OpenLayers.Map('map',options);<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Regards,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Stephane</FONT></DIV>
<DIV><FONT size=2 face=Arial> </DIV></FONT>
<DIV><FONT size=2
face=Arial>--------------------------------------------------------------------<BR>Stephane
Poirier, M.Sc. Optical Physics<BR>Remote Sensing Application Software
Developer<BR>3532 rue Sainte-Famille, Apt. 4<BR>Montreal, QC, H2X 2L1,
Canada<BR><A href="http://www.oifii.org">http://www.oifii.org</A><BR><A
href="mailto:stephane.poirier@oifii.org">stephane.poirier@oifii.org</A><BR>Tel.:
(514) 509-8833<BR>Fax: (514)
509-8833<BR>--------------------------------------------------------------------<BR></FONT></DIV></BODY></HTML>