Convert TUFLOW Model GIS Format: Difference between revisions

Content deleted Content added
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 60:
=====Output CRS=====
''Available since v3.7''<br>
Forces output files to be in given projection (no reprojection or warping is performed). Useful when converting a model with a combination of SHP and MIF files as these can generate slightly different projection definitions. Set blank to turn off.
 
=====Force TUFLOW Directory Structure=====
''Available since v3.10''<br>
Forces the output files to be placed in a default TUFLOW folder structure, ignoring the input folder structure. If this setting is on, the "Log Folder", "Output Folder", and "Write Check Files" commands will be updated to also reference standard TUFLOW locations.
 
===Checking the Output===
Line 72 ⟶ 76:
A known conversion issue could occur if the tool is converting both MIF and SHP files into a single format (e.g. GPKG) as the projection of these files may be interpreted slightly differently by GDAL (even though they are the same). Users may therefore be required to manually update the projection of the affected files, or add the TUFLOW command "<tt>GIS Projeciton Check == WARNING</tt>" to the TCF. '''Be careful''' to ensure they are in fact the same projection before using this command.<Br>
 
===Python and the SoureSource Code===
It's possible to run the tool outside of QGIS in Python. The tool uses GDAL to read and write the GIS files and does not rely on any QGIS libraries. The source code and instructions on how to run the tool in Python can be found at the following location on the '''<u>[https://gitlab.com/tuflow-user-group/tuflow/model-conversions/convert_tuflow_model_gis_format TUFLOW Community GitLab page]</u>'''.
<Br>