[GRASS-user] Problem opening TIF file
Edward Tomlinson
e.j.tommo at gmail.com
Fri Oct 3 20:26:44 EDT 2008
Okay so i have rebuilt grass and gdal (fedora 9)
gdal options
--with-libtiff=internal
--with-geotiff=/usr/local
--with-ecw=/usr/local
--with-threads
grass options
--with-tiff
--with-tcltk
--with-fftw
--with-blas
--with-lapack
--enable-largefile
When i run nm -D libgdal.so | fgrep fopen64, result.
*U fopen64*
In grass i am still getting *not recognised as a supported file format*
I installed windows native grass 63 on xp sp2. However it crashes when i try
to open a newly created location in GDA94 MGA 55... I am guessing it doesnt
support it yet. I tried to create location from ESPG code 28355 however it
didnt define it properly, so i used a .prj file.
2008/10/4 Glynn Clements <glynn at gclements.plus.com>
>
> Edward Tomlinson wrote:
>
> > Further to my previous GDAL problem (trying to open ECW files), i am
> having
> > issues opening some tif files. When i do
> >
> > *$gdalinfo filename.tif*
> >
> > I get the error 4 not recognised as a supported file format. However i
> tried
> > importing another tif file and it worked fine. Difference is size (10m vs
> > 2.5m resolution). The tif file size is 3.2gb (it should be able to handle
> > 4gb right??)
>
> If file size is the issue, the limit is normally 2GiB (file offsets
> are signed values, so are limited to +/- 2GiB).
>
> GDAL supports large files. In the native Windows build, it's always
> available; on Unix, it depends upon whether the configure script
> detected 64-bit stdio support. On Linux, you can use:
>
> nm -D libgdal.so | fgrep fopen64
>
> to determine whether GDAL was built with 64-bit stdio support.
>
> Also, in order to use GDAL in conjunction with GRASS, it's preferable
> not to enable GRASS support in GDAL. In particular, don't use GRASS
> with a GDAL library which was built against a different version of
> GRASS.
>
> If you need to use GDAL to access GRASS datasets from outside of
> GRASS, either build the gdal-grass plugin, or build another version of
> GDAL with GRASS support (but don't use that version for GRASS).
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20081004/481e5dc9/attachment.html
More information about the grass-user
mailing list