Mosaic creation

96 views
Skip to first unread message

edsonsubtil dacosta

unread,
Nov 1, 2023, 9:28:15 PM11/1/23
to qgisbrasil
Good evening, I'm asking for help with a problem creating a mosaic in QGIS, whenever I do the procedures that I think are correct, I get this error:


Warning 1: C:\tiff\16S495SN.tif: GeoTIFF tags apparently corrupt, they are being ignored.
Warning 1: C:\tiff\16S51_SN.tif: GeoTIFF tags apparently corrupt, they are being ignored.
Warning 1: C:\tiff\17S495SN.tif: GeoTIFF tags apparently corrupt, they are being ignored.
Warning 1: C:\tiff\17S51_SN.tif: GeoTIFF tags apparently corrupt, they are being ignored.
Warning 1: C:\tiff\18S495SN.tif: GeoTIFF tags apparently corrupt, they are being ignored.
Warning 1: C:\tiff\18S51_SN.tif: GeoTIFF tags apparently corrupt, they are being ignored.
Traceback (most recent call last):
File "C:\PROGRA~1\QGIS 3.28.11\apps\Python39\Scripts\gdal_merge.py", line 14, in <module>
sys.exit(main(sys.argv))
File "C:\PROGRA~1\QGIS 3.28.11\apps\Python39\lib\site-packages\osgeo_utils\gdal_merge.py", line 632, in main
return gdal_merge(argv)
File "C:\PROGRA~1\QGIS 3.28.11\apps\Python39\lib\site-packages\osgeo_utils\gdal_merge.py", line 617, in gdal_merge
fi.copy_into(t_fh, band, band, nodata, verbose)
File "C:\PROGRA~1\QGIS 3.28.11\apps\Python39\lib\site-packages\osgeo_utils\gdal_merge.py", line 348, in copy_into
return raster_copy(
File "C:\PROGRA~1\QGIS 3.28.11\apps\Python39\lib\site-packages\osgeo_utils\gdal_merge.py", line 90, in raster_copy
if s_band.GetMaskFlags() != gdal.GMF_ALL_VALID:
File "C:\PROGRA~1\QGIS 3.28.11\apps\Python39\lib\site-packages\osgeo\gdal.py", line 4640, in GetMaskFlags
return _gdal.Band_GetMaskFlags(self, *args)
RuntimeError: Key Unknown-0 of TIFFTagLocation=0 has count=0, whereas only 1 is legal.
Reply all
Reply to author
Forward
0 new messages