<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Folks,<o:p></o:p></p><p class=MsoNormal>I have an ECW which was supplied as a set of 4 from the same supplier.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>As part of a process to make the image usable with a legacy system I create a series of tiles from the ECW as GTIFF.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have done this successfully many times.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>3 of the 4 images processed without issue.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>One however causes gdal_translate to crash completely. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Gdalinfo returns the following<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Driver: ECW/ERMapper Compressed Wavelets<o:p></o:p></p><p class=MsoNormal>Files: C:\Current Projects\image.ecw<o:p></o:p></p><p class=MsoNormal>Size is 330000, 170000<o:p></o:p></p><p class=MsoNormal>Coordinate System is:<o:p></o:p></p><p class=MsoNormal>PROJCS["MGA55",<o:p></o:p></p><p class=MsoNormal> GEOGCS["GEOCENTRIC DATUM of AUSTRALIA",<o:p></o:p></p><p class=MsoNormal> DATUM["GDA94",<o:p></o:p></p><p class=MsoNormal> SPHEROID["GRS80",6378137,298.257222101]],<o:p></o:p></p><p class=MsoNormal> PRIMEM["Greenwich",0],<o:p></o:p></p><p class=MsoNormal> UNIT["degree",0.0174532925199433]],<o:p></o:p></p><p class=MsoNormal> PROJECTION["Transverse_Mercator"],<o:p></o:p></p><p class=MsoNormal> PARAMETER["latitude_of_origin",0],<o:p></o:p></p><p class=MsoNormal> PARAMETER["central_meridian",147],<o:p></o:p></p><p class=MsoNormal> PARAMETER["scale_factor",0.9996],<o:p></o:p></p><p class=MsoNormal> PARAMETER["false_easting",500000],<o:p></o:p></p><p class=MsoNormal> PARAMETER["false_northing",10000000],<o:p></o:p></p><p class=MsoNormal> UNIT["Meter",1]]<o:p></o:p></p><p class=MsoNormal>Origin = (285999.999998596960000,5812000.000001333700000)<o:p></o:p></p><p class=MsoNormal>Pixel Size = (0.100000000000000,-0.100000000000000)<o:p></o:p></p><p class=MsoNormal>Corner Coordinates:<o:p></o:p></p><p class=MsoNormal>Upper Left ( 286000.000, 5812000.000) (144d34'7.92"E, 37d48'51.61"S)<o:p></o:p></p><p class=MsoNormal>Lower Left ( 286000.000, 5795000.000) (144d33'49.77"E, 37d58'2.71"S)<o:p></o:p></p><p class=MsoNormal>Upper Right ( 319000.000, 5812000.000) (144d56'36.67"E, 37d49'17.31"S)<o:p></o:p></p><p class=MsoNormal>Lower Right ( 319000.000, 5795000.000) (144d56'21.31"E, 37d58'28.55"S)<o:p></o:p></p><p class=MsoNormal>Center ( 302500.000, 5803500.000) (144d45'13.88"E, 37d53'40.58"S)<o:p></o:p></p><p class=MsoNormal>Band 1 Block=330000x1 Type=Byte, ColorInterp=Red<o:p></o:p></p><p class=MsoNormal> Overviews: arbitrary<o:p></o:p></p><p class=MsoNormal>Band 2 Block=330000x1 Type=Byte, ColorInterp=Green<o:p></o:p></p><p class=MsoNormal> Overviews: arbitrary<o:p></o:p></p><p class=MsoNormal>Band 3 Block=330000x1 Type=Byte, ColorInterp=Blue<o:p></o:p></p><p class=MsoNormal> Overviews: arbitrary<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This is an example of the gdal_translate command line run from FWTOOLS Shell<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>gdal_translate -of GTIFF -projwin 286000 5796000 287000 5795000 "C:\Current Projects\image.ecw” "C:\Current Projects\image1.TIF”<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Running this process begins and gets this far<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Input file size is 330000, 170000<o:p></o:p></p><p class=MsoNormal>Computed -srcwin 0 160000 10000 10000 from projected window.<o:p></o:p></p><p class=MsoNormal>0<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have tried other -proj windows in the set, all crash.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Bear in mind the same command line pattern was used for three other images successfully.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have tried two different PCs with the same result.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I suspect the image itself but not sure what it might be.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The image is quite large (4.7Gb) so sending it to someone for analysis will be difficult.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any advice appreciated.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Andrew<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>