QGIS to update MapInfo model: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 5:
<ol>
<li> Open QGIS.
<li> Familarise yourself with the projection of the MapInfo files used by the existing model. You can do this using QGIS:
* Drag a mif file from the existing model folder into the Map Window of QGIS. TheThis will open it for viewing. Editing the read only file in QGIS iswill not possible.
* Right click the MapInfo File in the QGIsQGIS Layer Panel and select ''Properties''.
* Select "''Information"'' in the left title block and review the listed CRS details.
<li> Initialise your QGIS session using the TUFLOW Plugin:
* Select '''Plugins >> TUFLOW >> Editing > Create/Configure TUFLOW Project'''.
* Select the open MapInfo file via the Source Project Layer drop menu. thisThis will populate the Projection information for you. Check the projection details match the CRS details from the previous step.
* Select the folder that contains the existing TUFLOW model using the MapInfo format inputs. You will be adding QGIS inputs to the same folder location.
* Select the TUFLOW Executable location.
* Tick TUFLOW Classic / HPC.
* Tick Save Default Settings.
* Tick Create Model Folder Structure. This will add any missing folders to the existing folder structure (e.g. TUFLOW/gis) .
* Tick Create Template Files. This will create the QGIS empty template files for any future additions to the model.
* Select ''OK''.
<li> Open the following two TCF Files:
*'''TUFLOW/runs/Create_Empties.tcf'''; and
*'''TUFLOW/runs/Create_Empties.tcf'''. this file was created when you completed the ''Create/Configure TUFLOW Project'' steps; and
* The TCF file for the existing TUFLOW model using the MapInfo format inputs.
<li> Copy the following command line to clipboard from '''Create_Empties.tcf''': <font color="blue"><tt>SHP Projection</tt></font> <font color="red"><tt>==</tt></font><tt> ..\model\gis\Projection.prj</tt>
<li> Paste the command to the TCF for the existing TUFLOW model using the MapInfo format inputs below <font color="blue"><tt>MI Projection</tt></font> <font color="red"><tt>==</tt></font>