Difference between revisions of "QGIS to update MapInfo model"
Jump to navigation
Jump to search
Chris Huxley (talk | contribs) |
Chris Huxley (talk | contribs) |
||
Line 5: | Line 5: | ||
Follow these steps: | Follow these steps: | ||
<ol> | <ol> | ||
− | < | + | <li> Familarise yourself with the projection of the MapInfo files used by the model. |
− | < | + | </ol> |
* 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. |
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:
- 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 |
---|
Back to QGIS Tips And Tricks |