[Gdal-dev] BigTIFF support
Luis Viveros
luis.viveros at digimapas.cl
Fri Jul 27 17:13:53 EDT 2007
Hi Frank,
Thanks, it was exactly a library mixup:
/usr/local/lib/libgdal.so -> libgdal.so.1.11.0
/usr/local/lib/libgdal.so.1 -> libgdal.so.1.11.1
I just don't know where the version 1.11.1 comes from.
Now it's working right...
Thanks again,
Luis
Frank Warmerdam wrote:
> Luis Viveros wrote:
>> Frank,
>>
>> I did the make clean before and after you advice me. The problem
>> persisted. Then I simply erased the full gdal directory and got the
>> svn back again:
>>
>> svn checkout https://svn.osgeo.org/gdal/trunk/gdal gdal
>>
>> Then,
>>
>> ./configure --with-pg=/usr/local/pgsql/bin/pg_config
>> -with-png=internal --with-jpeg=internal --with-gif=internal
>> --with-geotiff=internal --with-libtiff=/usr/local --with-ecw=yes
>> --with-libz
>> make
>> su
>> make install
>>
>> The result is the same:
>>
>> gdalwarp -of GTiff -co BIGTIFF=YES -ot float32 input.tor output.tif
>> Creating output file that is 32000P x 168000L
>> ERROR 1: A 32000 pixels x 168000 lines x 1 bands Float32 image would
>> be larger than 4GB
>> but this is the largest size a TIFF can be. Creation failed.
>
> Luis,
>
> I'm a bit at a loss as to what might be happening. It could be some
> sort of shared library mixup at runtime. If I were in your seat,
> I'd verify that -DBIGTIFF_SUPPORT appears on the commandline for
> gcc when the geotiff.cpp module is compiled (cd into frmts/gtiff and
> do "make clean", then "make" to check). Then I'd ensure I'm actually
> using the new libgdal.so at runtime - use ldd on gdal_translate to check
> what is getting used.
>
> This problem has all the hallmarks of an incomplete
> configure/build/install
> cycle resulting in some old shared library getting used or something like
> that.
>
> Best regards,
>
--
--------------------------------
Luis Viveros
Project Manager
Digimapas Chile
office: +56(0)2 6657811
mobile: +56(09) 87298009
web: http://www.digimapas.cl
--------------------------------
More information about the Gdal-dev
mailing list