QGIS to update MapInfo model: Difference between revisions
Content deleted Content added
Chris Huxley (talk | contribs) No edit summary |
Chris Huxley (talk | contribs) No edit summary |
||
Line 27:
<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), <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>
Line 34:
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. For example.<br>
[[File:MapInfo_to_QGIS_011.PNG|
However, if you need to make changes to existing MIF files, follow these steps to convert the to SHP file format:
<ol>
Line 41:
<li> Copy the features from the MapInfo layers to the relevant new QGIS SHP files. Note, double check the attribute values have been correctly transferred to the new file. In some rare instances when the field attribute type is incompatible this does not occur.
<li> Update the commands within your updated TUFLOW model to reference to the new QGIS SHP files. For future traceability it is best to comment out the prior MapInfo input commands using <font color="green"><tt>!</tt></font>, instead of deleting them.<br>
[[File:MapInfo_to_QGIS_012.PNG|450px]]<br>▼
</ol>
<br>
| |||