[Gdal-dev] Warping of large files

Thom DeCarlo t.r.decarlo at larc.nasa.gov
Mon Apr 18 11:06:33 EDT 2005


Asger,

I'm using VS.NET'03 on a WinXP SP2 computer. It took a while to get it set
up, but I was finally able to compile the ECW SDK 3.1RC1. You can refer to
the thread on the ERmapper forum to see what I had to do to get the SDK to
compile. (http://forums.ermapper.com/viewtopic.php?t=589) Tom Lynch says
that the problems I encountered will be fixed in RC2. In this case,
persistence paid off. None of the actual code in either ECW or gdal needed
changing. It was all a matter of cleaning up the build project files.

After setting the appropriate paths in the gdal build (nmake.opt from the
gdal cvs tarball gdalcvs-20050405.zip) I was able to get a successful build
of the whole package. I was able to do a gdal_translate from tiff into ecw
and perform the subset, also.

I'm not sure if this info will help you, but I wanted to say that it *can*
work.

Thom

--
Thom DeCarlo
-------------------------------------------------------
     Is it a bad sign if you spend the day wondering
why there are no laws against what you do for a living?
                                - Dilbert

> -----Original Message-----
> From: Frank Warmerdam
> Sent: Monday, April 18, 2005 10:27 AM
> To: Asger Petersen
> Subject: Re: [Gdal-dev] Warping of large files
> 
> On 4/18/05, Asger Petersen wrote:
> > At the moment I have some troubles getting FWTools 0.9.7 to work
> > properly when compressing to ecw format. It just crashes:
> >
> > C:\>gdal_translate -of ECW -srcwin 0 0 500 500 -a_srs srs.txt in.jp2
> > out.ecw Input file size is 67500, 45000 0.
> >
> > Then Windows shows a popup with the message: "gdal_translate.exe has
> > encountered a problem and needs to close.  We are sorry for the
> > inconvenience."
> 
> Asger,
> 
> Sorry about that.  I failed in my attempt to get my latest custom build
> of ECW stuff working on windows and this is why I never publically
> announced FWTools 0.9.7.  I would suggest going with 0.9.6.
> 
> Best regards,






More information about the Gdal-dev mailing list