Difference between revisions of "TUFLOW Message 2575"

From Tuflow
Jump to navigation Jump to search
 
Line 5: Line 5:
 
|type=[[ERROR]]
 
|type=[[ERROR]]
 
|message_desc=Error occurred while reading the specified tif file.
 
|message_desc=Error occurred while reading the specified tif file.
|suggestions=Check the file is in GeoTIFF format and/or the projection is specified.
+
|suggestions=Check the file is in GeoTIFF format and/or the projection is specified.<br>
 +
 
 +
GeoTIFF may be in tile format, which is currently not supported. <br>
 +
The TIF format supports storing data in both a tiled and strip structure. The 2023-03-AA release only supports the strip structure as this is the most common and the default out of QGIS/GDAL. It is planned that the next major release after 2023-03 will support the tile structure as well.<br>
 +
[[File: tif_strip_tile_structure.PNG]]<br>
 +
To convert a tiled GeoTIFF to a format that TUFLOW 2023-03 can read please use one of the steps below. Please ensure you don't select 'Cloud Optimised GeoTIFF' as an output as this format uses a tiled format.
 +
* Open the GeoTIFF in QGIS and export it into a new GeoTIFF (QGIS by default will use a strip structure)
 +
* Use the raster conversion tool in QGIS (via the menu "Raster >> Conversion >> Translate") - the default GeoTIFF format will be use the strip structure
 +
* Use "raster_translate" GDAL tool either through the processing toolbox in QGIS or by following the instructions on the following wiki page to use GDAL directly:
 +
: <u>[[Raster_Format_Conversion_Using_gdal_translate#Cloud_Optimised_GeoTIFFs | Converting from Cloud Optimised GeoTIFFs]]</u>
  
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
 
|uplink=[[2xxx_TUFLOW_Messages|2xxx Messages]]
 
}}
 
}}

Latest revision as of 16:16, 4 August 2023

TUFLOW Message
ERROR 2575 - file is not a GeoTIFF - <>.

Alternate Message
ERROR 2575 - extracting projection from "<>".

Message Type
ERROR

Description
Error occurred while reading the specified tif file.

Suggestions
Check the file is in GeoTIFF format and/or the projection is specified.

GeoTIFF may be in tile format, which is currently not supported.
The TIF format supports storing data in both a tiled and strip structure. The 2023-03-AA release only supports the strip structure as this is the most common and the default out of QGIS/GDAL. It is planned that the next major release after 2023-03 will support the tile structure as well.
Tif strip tile structure.PNG
To convert a tiled GeoTIFF to a format that TUFLOW 2023-03 can read please use one of the steps below. Please ensure you don't select 'Cloud Optimised GeoTIFF' as an output as this format uses a tiled format.

  • Open the GeoTIFF in QGIS and export it into a new GeoTIFF (QGIS by default will use a strip structure)
  • Use the raster conversion tool in QGIS (via the menu "Raster >> Conversion >> Translate") - the default GeoTIFF format will be use the strip structure
  • Use "raster_translate" GDAL tool either through the processing toolbox in QGIS or by following the instructions on the following wiki page to use GDAL directly:
Converting from Cloud Optimised GeoTIFFs


Up
Go-up.png 2xxx Messages