Hi Brent,<br><br>Thanks for the help. It worked. Also, I had to set the UNITS and EXTENT in METERS as the raster was projected in that. Your post helped see that. <br><br>Thanks again. <br>Cheers<br>Ajay<br><br><br><b><i>Brent Fraser <bfraser@geoanalytic.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Ajay,<br><br> Try adding the following to your LAYER definition for the ECW files:<br><br> PROJECTION<br> "AUTO"<br> END<br><br><br> Assuming that:<br> 1. your ECW file has a coordinate system definition<br> 2. you have GDAL with ECW capability linked in to mapserver<br> 3. your map file EXTENTS and UNITS are set so the mapserver generated<br>graphics geographically overlap your ECW file,<br><br> then you should get the ECW contents rendered into the output image.<br><br>You mention that you have many ecw's across zones 54 to 56. If you've many<br>ecw files, you'll likely
want to create a TILEINDEX layer to access them.<br>And in that case you'll actually have to create one LAYER definition (and<br>one TILEINDEX) for each zone. And you may need to explicitly state the<br>coordinate system in each layer:<br><br> PROJECTION<br> "proj=utm"<br> "zone=54"<br> "north"<br> "datum=WGS84"<br> "no_defs"<br> END<br>(you'll need to find out which datum or ellipsoid to use).<br><br>Brent Fraser<br>GeoAnalytic Inc.<br>Calgary, Alberta<br><br>----- Original Message ----- <br>From: "Ajay Ranipeta" <sc0rp10nau@YAHOO.COM.AU><br>To: <MAPSERVER-USERS@LISTS.UMN.EDU><br>Sent: Thursday, February 23, 2006 3:10 AM<br>Subject: [UMN_MAPSERVER-USERS] Serving ECW's with Mapserver 4.8.1<br><br><br>> Hi guys,<br>><br>> I have some ecw's that I wanna serve with Mapserver, but I can't seem to<br>get<br>> them to display. These ecw's are projected in GDA94 with Zones 54-56. No<br>> error's come up and other layers (shapes, wbmp's, tiff) come
up fine. I<br>use<br>> the CGI mapserver which obviously has GDAL with ECW's already included.<br>I've<br>> gone thru' a few posts regarding ecw's and but no help. Also, as one post<br>> suggested, i've got the header info within the image itself, but that's no<br>> help either.<br>><br>> I'm sure i'm missing something obvious, so any help would be greatly<br>> appreciated.<br>><br>> cheers,<br>> Ajay<br><br></MAPSERVER-USERS@LISTS.UMN.EDU></sc0rp10nau@YAHOO.COM.AU></blockquote><br><p>
<hr size=1>Do you Yahoo!?<br>
<a
href="http://us.rd.yahoo.com/mail/au/local/*http://au.local.yahoo.com">
Find a local business fast with Yahoo! Local Search</a>