[GRASS-user] How to stitch mulitple MapInfo info map files into a single mapset?

Dear All,

I am wondering whether it is possible to 'stitch' together multiple
MapInfo .MIF maps (directories) as a single vector map
using v.in.org ?

From what I gather from the documentation of GRASS 6.2 the following

from v.in.org's page:

MapInfo TAB and MIF/MID:
MapInfo datasets in native (TAB) format and in interchange (MIF/MID)
format are supported for reading and writing. Update of existing files
is not currently supported.
Note: In the rest of this document "MIF/MID File" is used to refer to a
pair of .MIF + .MID files, and "TAB file" refers to the set of files for
a MapInfo table in binary form (usually with extensions .TAB, .DAT,
.MAP, .ID, .IND).

The MapInfo driver treats a whole directory of files as a dataset, and a
single file within that directory as a layer. In this case the directory
name should be used as the dataset name.

However, it is also possible to use one of the files (.tab or .mif) in a
MapInfo set as the dataset name, and then it will be treated as a
dataset with one single layer.

Thanks,
-Karun

Nithi, Nachi K (Karun) wrote:

I am wondering whether it is possible to 'stitch'
together multiple MapInfo .MIF maps (directories)
as a single vector map using v.in.org ?

Import each map (tile) with v.in.ogr, patch them together with e.g. v.patch, snap closed adjoining lines with 'v.clean tool=snap'. Be careful that all DB tables are of the exact same form, and that a new (ie unique) cat ID column is used if you want to join the tables.

if there are bounding boxes around each map to remove I think you can use the v.clean remove duplicate lines tool, or maybe send the v.clean "error=" map to v.overlay to remove them? (I can't remember the exact method for that right now)

Hamish