Re: [gdal-dev] Gdal GeoTIFFs in MapInfo
Le mardi 11 mars 2014 12:19:36, Jonathan Moules a écrit : Hi List, I've created a GeoTIFF with GDAL. It works fine in QGIS and ArcMap, but MapInfo refuses to load it, giving me a Image file open error message. I've come across several problems and was wondering if anyone else had experience with GDAL created files in MapInfo. Problems: 1) MapInfo can't handle compressed overviews ( *--config COMPRESS_OVERVIEW DEFLATE*) - I can easily get past this one by not compressing them. 2) However, my next problem is that MapInfo can't read the projection information from within the file. Is GDAL capable of creating a TAB file? Not currently. It can read them, and it is used in a few drivers such as GTiff. Writing is done only in the MapInfo TAB driver for the vector part. The writing of .tab for raster files would only be a matter of implementing it... 3) Finally, while MapInfo will happily open my small subset sample (above issues not withstanding), it won't load my full image (about 2GB). Both are created using the exact same commands: gdalbuildvrt -srcnodata - -vrtnodata - -input_file_list asc_list.txt merged_vrt.vrt gdal_translate -of GTiff -co TILED=YES -co COMPRESS=DEFLATE -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -a_srs EPSG:27700 merged_vrt.vrt DSM_2012-13.tif gdaladdo -r average DSM_2012-13.tif 2 4 8 16 32 64 It's not the overviews because it still happens when they're not generated. Well, I don't know MapInfo limits with raster files. Perhaps is it just big raster dimensions that cause problem, or tiling, or .. ? Thoughts welcome, Jonathan -- Geospatial professional services http://even.rouault.free.fr/services.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] Gdal GeoTIFFs in MapInfo
Hi Even, Well, I don't know MapInfo limits with raster files. Perhaps is it just big raster dimensions that cause problem, or tiling, or .. ? I guess it's size. I've tried with no compression, no tiles, and both no compression or tiling, all fail. So I guess a MapInfo thing then. Thanks, Jonathan -- This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] Gdal GeoTIFFs in MapInfo
What about using a world file for the projection info? It is an Esri thing, but maybe MapInfo will recognize it. Just add a -co TFW=YES to the gdal_translate command. Eric On Wed, Mar 12, 2014 at 7:44 AM, Jonathan Moules jonathanmou...@warwickshire.gov.uk wrote: Hi Even, Well, I don't know MapInfo limits with raster files. Perhaps is it just big raster dimensions that cause problem, or tiling, or .. ? I guess it's size. I've tried with no compression, no tiles, and both no compression or tiling, all fail. So I guess a MapInfo thing then. Thanks, Jonathan This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
Re: [gdal-dev] Gdal GeoTIFFs in MapInfo
Eric Goddard egoddard1010 at gmail.com writes: What about using a world file for the projection info? It is an Esri thing, but maybe MapInfo will recognize it. Just add a -co TFW=YES to the gdal_translate command. I may remember wrong and I do not have Mapinfo at hands now, but I bet that it at least used to be so that you first _import_ GeoTIFFs with Mapinfo and it creates a tab file. Later you can _open_ the tab. If that fails it may mean that Mapinfo does not recognize the projection of the GeoTIFF. -Jukka Rahkonen- ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev
[gdal-dev] Gdal GeoTIFFs in MapInfo
Hi List, I've created a GeoTIFF with GDAL. It works fine in QGIS and ArcMap, but MapInfo refuses to load it, giving me a Image file open error message. I've come across several problems and was wondering if anyone else had experience with GDAL created files in MapInfo. Problems: 1) MapInfo can't handle compressed overviews ( *--config COMPRESS_OVERVIEW DEFLATE*) - I can easily get past this one by not compressing them. 2) However, my next problem is that MapInfo can't read the projection information from within the file. Is GDAL capable of creating a TAB file? 3) Finally, while MapInfo will happily open my small subset sample (above issues not withstanding), it won't load my full image (about 2GB). Both are created using the exact same commands: gdalbuildvrt -srcnodata - -vrtnodata - -input_file_list asc_list.txt merged_vrt.vrt gdal_translate -of GTiff -co TILED=YES -co COMPRESS=DEFLATE -co BLOCKXSIZE=512 -co BLOCKYSIZE=512 -a_srs EPSG:27700 merged_vrt.vrt DSM_2012-13.tif gdaladdo -r average DSM_2012-13.tif 2 4 8 16 32 64 It's not the overviews because it still happens when they're not generated. Thoughts welcome, Jonathan -- This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev