<div>Thanks Toni for your help, its great to get it when your struggling.</div>
<div>The demo that works put the bounds and tile origin in 27200. Which makes the image shape and units appear as i want them.</div>
<div>The map projection is 4326, so I guess it is reprojecting the image </div>
<div>Have followed your suggestions and its still will not display overlays. </div>
<div> </div>
<div>Regards</div>
<div>Chris</div>
<div> </div>
<div class="gmail_quote">On Tue, Mar 24, 2009 at 5:16 AM, toni hernandez <span dir="ltr">&lt;<a href="mailto:tonidelacalle@gmail.com">tonidelacalle@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">hi,<br>I am not an expert but I can&#39;t see any refference to the 27200 system in your code. So you should be displaing 4326 coordinates.<br>
Try defining bounds and tilesOrigin with 4326.<br><br>chris Wild escribió:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="h5">Hi all,<br>Thanks for the recent discussions on reprojections, they have helped clarify the process.<br>Working fine for features, but Im struggling with an image using OpenLayers.<br> When I load the the image(projected EPSG 27200)as a coverage<br>
(using raster image with spatial data file) it is only visible in the demo if I leave the EPSG:4326 default settings.<br>Thats fine the image displays appears in the 27200 shape and reads out co-ordinates in EPSG 27200.<br>
 However I am unable to get other layers (either 4326 or 27200)to display over it.<br>They show up in the layer switcher but not on screen.<br>This is the html from the demo.<br>               /var bounds = new OpenLayers.Bounds(<br>
                   2629421.80675075, 6192776.734840927,<br>                   2633541.29183475, 6195367.7231969265<br>               );<br>               var options = {<br>                   controls: [],<br>                   maxExtent: bounds,<br>
                   maxResolution: 16.09173860937517,<br>                   projection: &quot;EPSG:4326&quot;,<br>                   units: &#39;degrees&#39;<br>               };<br>               map = new OpenLayers.Map(&#39;map&#39;, options);<br>
                         // setup tiled layer<br>               tiled = new OpenLayers.Layer.WMS(<br>                   &quot;topp:RectifyTRC_App_NZmg_1 - Tiled&quot;, //<br>                   {<br>                       width: &#39;800&#39;,<br>
                       srs: &#39;EPSG:4326&#39;,<br>                       layers: &#39;topp:RectifyTRC_App_NZmg_1&#39;,<br>                       height: &#39;472&#39;,<br>                       styles: &#39;&#39;,<br>                       format: format,<br>
                       tiled: &#39;true&#39;,<br>                       tilesOrigin : &quot;2629421.80675075,6192776.734840927&quot;<br>                   },<br>                   {buffer: 0}<br>               );/<br> Im not understanding,  should I be displaying  4326 or 27200 features over this image?<br>
Any help much appreciated.<br>Regards<br>Chris<br></div></div> ------------------------------------------------------------------------<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br> <br></blockquote><br></blockquote></div><br>