[Gdal-dev] FWtools vs gdal version incompatibility???

Frank Warmerdam warmerdam at pobox.com
Tue Oct 30 13:15:06 EDT 2007


DeSpain, Ronald wrote:
> 1] I use FWtools on the PC to prototype processing using gdal_translate 
> and I compile gdal apps along with Kakadu on our production SGI system. 
>   We are recently having problems with converting NITFJp2 to GTiff when 
> the output file is larger than 2G on the SGI.  The same calls work fine 
> on the PC running FWtools.  I’m using gdal 1.3.1 in both instances 
> (FWtools1.0.0a7) and I include the KAK dll in the FWtools1.0.. 
> directory.   The newest FWtools also works to make BIGTiffs ( I’ve made 
> one that is 11GB) and OpenEv opens it fine.
> 
> The call is simply :  gdal_translate –of GTiff <infilejp2.ntf> <outfile.tif>
> 
> The output file does not start out with II or MM, (bad tiff header).

Ronald,

I *suspect* that your GDAL build on the SGI is not properly linking
into "large file API", and JP2 output to NITF files goes through the
GDAL VSI*L API.  I would pursue this as a configuration issue.  When
I configure on Linux the configure output includes these messages:

checking whether byte ordering is bigendian... no
checking for 64bit integer type... long long
checking for 64bit file io... yes
checking for stat64... yes
checking for fopen64... yes
checking for int... yes

Could you check what configure says for these items on your system?

> 2] Is there a historical change list on line which identifies which 
> version of gdal is in FWtools versions as well as changes to gdal so I 
> can sync the version on the PC and SGI and LINUX?

No. But FWTools is built from "svn head" as captured within a day or
so of it being posted to the web site.  So just look at the date of
the file on the site (or the date on the executables in the tar/zip)
and extract from svn as of that date (for GDAL).

Generally speaking it is important to realize that FWTools is a
"bleeding edge from subversion" set of binaries, and that it is
not professionally prepared.  I build it in a manner that is
convenient and a light work load for me.  And that means limited
effort to track what goes into what or even to do testing before
I post the package.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org




More information about the Gdal-dev mailing list