|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Problem opening TIF fileHi all,
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??) with about 4 bands in it. The file seems fine (i can open it in er viewer). Thanks, Ed _______________________________________________ grass-user mailing list grass-user@... http://lists.osgeo.org/mailman/listinfo/grass-user |
|
|
Re: Problem opening TIF fileEdward 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@...> _______________________________________________ grass-user mailing list grass-user@... http://lists.osgeo.org/mailman/listinfo/grass-user |
|
|
Re: Problem opening TIF fileOkay 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@...>
_______________________________________________ grass-user mailing list grass-user@... http://lists.osgeo.org/mailman/listinfo/grass-user |
|
|
Re: Problem opening TIF fileEdward Tomlinson wrote: > 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* Then it isn't the file size. TIFF has a lot of options, so it's possible that the file is using something which GDAL doesn't understand. Or the file could be damaged. In any case, if gdalinfo doesn't recognise it, it's a GDAL problem rather than a GRASS problem per se. You might have more luck with the GDAL mailing list. -- Glynn Clements <glynn@...> _______________________________________________ grass-user mailing list grass-user@... http://lists.osgeo.org/mailman/listinfo/grass-user |
| Free Forum Powered by Nabble | Forum Help |