'save overview file in different location
Using python and the gdaladdo import - i would like to save the overview file in a different location.
Here is my processing code
Image = gdal.Open(filepath, 1) # 0 = read-only, 1 = read-write.
gdal.SetConfigOption('COMPRESS_OVERVIEW', 'DEFLATE')
Image.BuildOverviews('NEAREST', [4, 8, 16, 32, 64, 128], gdal.TermProgress_nocb)
#del Image # close the dataset (Python object and pointers)
The filepath is the location and filename of the file to be used as the overview, but I would like to save the .OVR file in another location on the hard drive.
How do I perform that task?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
