TUFLOW Message 2575: Difference between revisions

From Tuflow
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
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. TUFLOW releases only support the strip structure as this is the most common and the default out of QGIS/GDAL.<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 17:23, 3 September 2025

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. TUFLOW releases only support the strip structure as this is the most common and the default out of QGIS/GDAL.

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
2xxx Messages