QGIS to update MapInfo model: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 25:
* 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 existing TUFLOW model TCF (the one using the MapInfo format inputs), below <font color="blue"><tt>MI Projection</tt></font> <font color="red"><tt>==</tt></font>
<li> Also in the existing TUFLOW model TCF, replace the command <font color="blue"><tt>GIS Format</tt></font> <font color="red"><tt> == </tt></font> <tt>MIF</tt> with, <font color="blue"><tt>GIS Format</tt></font> <font color="red"><tt> == </tt></font> <tt>SHP</tt><br>
[[File:MapInfo_to_QGIS_009.PNG|450px]]<br>
</ol>
You will now be able to add compatible QGIS SHP format files to your model. The QGIS TUFLOW Plugin "Import empty file" tool is recommended when importing new template files to add new model inputs. <br>
[[File:MapInfo_to_QGIS_010.PNG|450px]]<br>
 
Where posibilepossible, when updating a model it is best practice to leave the MapInfo file references as is, and use TUFLOW's data layering functionality to add new GIS entries below existing MapInfo entries. Their location below the existing entries will mean they take precedence wherever the dataset overlap. For example.<br>
[[File:MapInfo_to_QGIS_012.PNG|800px]]<br>
However, if you need to make changes to existing MIF files, follow these steps to convert the MIF files to SHP file format:
<ol>
<li> Open the MapInfo MIF file in GIS. The easiest way to do this is to drag and drop the file from Windows ExplorereExplorer to the QGIS Map or Layer Window. If the MapInfo file includes a combination of regions, lines and point objects QGIS will display a pop-up message asking which of these features you would like to open. Select "Select All", then "OK". QGIS will split the MIF file into its respective object types.
<li> Import empty QGIS SHP template files for the required object types.<br>
[[File:MapInfo_to_QGIS_010.PNG|450px]]<br>