GDAL对TIF创建内建金字塔一个问题
2018-07-15 13:26
519 查看
gdalwarp输出tif图像的时候,默认如果没有使用
BIGTIFF=YES选项,则会根据输出影像的大小进行判断,低于4G则不适用bigtiff格式。
对于非bigtiff图像,如果这时候使用gdaladdo创建金字塔(内建模式),如果出现了文件总大小超过4G的情况,则会导致图像文件出错。
gdaladdo会输出相关信息,但不会终止金字塔的创建,于是导致金字塔是黑色的。
C:\Program Files\GDAL>gdaladdo D:\data\fs\ID_Guangdong.shp.tif 2 4 8 16 32 64 128 0...10...20...30..ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded. Use BIGTIFF=YES creation option. ERROR 1: An error occurred while writing a dirty block from GDALRasterBand::RasterIO ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded. Use BIGTIFF=YES creation option. ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded. Use BIGTIFF=YES creation option. ERROR 1: WriteEncodedTile/Strip() failed. .40...50...60...70...80...90...100 - done.
相关文章推荐
- ENVI显示GDAL创建GeoTiff文件的一个问题及其思考
- ENVI显示GDAL创建GeoTiff文件的一个问题及其思考
- 关于“如何做到在一个类内不通过创建另一个类的对象,却调用另一个类的方法”的问题
- 一个有趣的java创建对象问题
- mysql创建表时列类型设置为字符串类型的一个小问题
- OC中动态创建可变数组的问题.有一个数组,数组中有13个元素,先将该数组进行分组,每3个元素为一组,分为若干组,最后用一个数组统一管理这些分组.(要动态创建数组).两种方法
- 一个不能创建WINCE6.0工程的问题
- 关于Eclipse创建Android项目时,会多出一个appcompat_v7的问题
- Arcgis与ENVI中tif格式读取的一个问题
- 求解一个简单的创建单链表的问题为什么用二级指针 ?
- 在Asp.net Ajax中动态创建TabPanel控件中碰到的一个问题
- JavaScript Tip/Trick: 动态创建Table时,在IE中需要注意的一个问题
- <c:foreach>解决遍历一个list创建多行多列列表的问题
- JavaScript Tip/Trick: 动态创建Table时,在IE中需要注意的一个问题
- 一个例子玩转linux多线程问题(创建 执行 条件变量 ......)
- 创建栅格金字塔问题
- 关于Eclipse创建Android项目时,会多出一个appcompat_v7的问题
- Intellij IDEA 创建 package 遇到的一个问题
- 在fragment里面创建一个popwindow对象无法弹出的问题
- 一个关于用Array.newInstance方式创建多维数组的问题