Closed wuxianshenga closed 5 months ago
I've tested successfully gdaladdo types of scenario with latest GDAL master. I now realize that for update mode, you need at least GDAL 3.8.0 for the fix of https://github.com/OSGeo/gdal/pull/8416 In prior versions, CPL_VSIL_USE_TEMP_FILE_FOR_RANDOM_WRITE only worked when creating a new file, but not to update an existing file
I've tested successfully gdaladdo types of scenario with latest GDAL master. I now realize that for update mode, you need at least GDAL 3.8.0 for the fix of #8416 In prior versions, CPL_VSIL_USE_TEMP_FILE_FOR_RANDOM_WRITE only worked when creating a new file, but not to update an existing file
Thanks for your reply, I have used the new version to test that opening TIF with update mode is valid, but when I tested gdaladdo.exe, I still couldn't create the pyramid, I used the -ro parameter
What is the bug?
When I use the /vsiwebhdfs prefix to create a pyramid for TIF data, I get an error. After testing, I find that when I open the file in update mode, I get an error message 'Only read-only mode is supported for /vsicurl'
Steps to reproduce the issue
int main(int argc, char* argv[]) { CPLSetConfigOption("GDAL_FILENAME_IS_UTF8", "NO"); CPLSetConfigOption("SHAPE_ENCODING", ""); GDALAllRegister();
}
Versions and provenance
window10 and linux gdal3.6.2
Additional context
No response