![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#6
|
|||
|
|||
![]()
"John Clonts" writes:
FYI, I patched the tags in my test file (from https://aviationtoolbox.org/Members/...ul_Y=-676347.0) with geotifcp per J.G.'s instructions, and Oziexplorer is happy with that image now. Do you know if changing your generation code would be appropriate, and/or cause other problems with other software? It's appropriate and I want to do it. If it causes any problems, I'll work through them. I want these things to be correct. Yesterday I distilled the code to a few lines that demonstrate the problem and sent a report to the GDAL developer mailing list. http://remotesensing.org/mailman/listinfo/gdal-dev/ It hasn't appeared in the archives yet. I welcome more reports to the list. My trivial example is below. Thank you. --kyler ================================================== ======================== #!/usr/bin/env python import gdal a = gdal.Open('a.tif') b = gdal.GetDriverByName('GTiff').Create( 'b.tif', a.RasterXSize, a.RasterYSize, 3, gdal.GDT_Byte, [ 'TILED=YES' ] ) b.SetProjection(a.GetProjection()) b.SetGeoTransform(a.GetGeoTransform()) |
Thread Tools | |
Display Modes | |
|
|