Difference between revisions of "QGIS to update MapInfo model"

From Tuflow
Jump to navigation Jump to search
(Created page with "== Can I use QGIS for a model originally developed in MapInfo? == TUFLOW models can use a combination of MapInfo MIF/MID and QGIS SHP files. The existing MapInfo files can be...")
 
Line 1: Line 1:
== Can I use QGIS for a model originally developed in MapInfo? ==
+
Can I use QGIS for a model originally developed in MapInfo? The answer is, yes.<br>
TUFLOW models can use a combination of MapInfo MIF/MID and QGIS SHP files. The existing MapInfo files can be left in their current form and new updates can be added using SHP format. There are a few things to note:
+
<br>
 +
TUFLOW models can use a combination of MapInfo MIF/MID and QGIS SHP files. The existing MapInfo files can be left in their current form and new updates can be added using SHP format. <br>
 +
<br>
 +
Follow these steps:
 +
<ol>
 +
<il> Familarise yourself with the projection of the MapInfo files used by the model.
 +
<
 +
 
 
* Use the same projection as MapInfo files and add <font color="blue"><tt>SHP Projection</tt></font> <font color="red"><tt>==</tt></font><tt> ..\model\gis\Projection.prj</tt> to the <font color="blue"><tt>MI Projection</tt></font> command. Both should be included in the model.
 
* Use the same projection as MapInfo files and add <font color="blue"><tt>SHP Projection</tt></font> <font color="red"><tt>==</tt></font><tt> ..\model\gis\Projection.prj</tt> to the <font color="blue"><tt>MI Projection</tt></font> command. Both should be included in the model.
 
* Replace <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>. This will apply to check files and results.
 
* Replace <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>. This will apply to check files and results.
Line 8: Line 15:
 
* Copying MIF features (points, lines and polygons separately) into a TUFLOW empty file in shapefile format.
 
* Copying MIF features (points, lines and polygons separately) into a TUFLOW empty file in shapefile format.
 
After the conversion, attributes should be checked if they were transferred correctly.<br>
 
After the conversion, attributes should be checked if they were transferred correctly.<br>
 +
 +
<br>
 +
<br>
 +
{{Tips Navigation
 +
|uplink=[[QGIS_Tips | Back to QGIS Tips And Tricks]]
 +
}}

Revision as of 15:11, 16 June 2021

Can I use QGIS for a model originally developed in MapInfo? The answer is, yes.

TUFLOW models can use a combination of MapInfo MIF/MID and QGIS SHP files. The existing MapInfo files can be left in their current form and new updates can be added using SHP format.

Follow these steps:

    <il> Familarise yourself with the projection of the MapInfo files used by the model. <
    • Use the same projection as MapInfo files and add SHP Projection == ..\model\gis\Projection.prj to the MI Projection command. Both should be included in the model.
    • Replace GIS Format == MIF with GIS Format == SHP. This will apply to check files and results.
    • Create empty TUFLOW files with Write Empty GIS Files == ..\model\gis\empty. These will automatically generate SHP format files when GIS Format == SHP is specified.
    If changes need to be made to existing MapInfo layers, use QGIS to convert MIF to SHP by either:
    • Exporting MIF files to shapefiles.
    • Copying MIF features (points, lines and polygons separately) into a TUFLOW empty file in shapefile format.
    After the conversion, attributes should be checked if they were transferred correctly.


    Up
    Go-up.png Back to QGIS Tips And Tricks