Importing Data - MapInfo GIS
AFFECTS
Konect Manager
ISSUE
You want to import existing MapInfo GIS data for use in Konect. You may want to either create a new dataset or append records to an existing dataset.
Many existing corporate datasets are held in GIS formats and can be brought into Konect for incorporation into Konect projects. Some data will be intended for collection and editing (trees, buildings etc) while other data is required for spatial referencing or to seed data in Konect forms during data collection (property data, road centre-lines etc).
Konect Manager can import GIS data in the form of MapInfo TAB files (but not the new NativeX format, see below), ESRI SHP files, GeoJSON files or CSV (comma separated values) files. CSV files can be interpreted by Konect Manager as GIS files if they have two columns that contain the longitude and latitude of point objects in the WGS 84 coordinate system.
Please note that Konect Manager cannot import the new MapInfo Pro V15.2 (64-bit) Extended or NativeX TAB file. If such a file needs to be imported, use MapInfo Pro V15.2 (64-bit) to save the new format file in the old Native TAB file format.
STEP-BY-STEP
GIS data is imported into Konect via the ‘Import/Export’ item in the ‘Catalogue’ tab of Konect Manager. The imported data can be used to create a new dataset or be appended to an existing dataset.
Importing a MapInfo TAB file - Creating A New Dataset
To create a new dataset by importing a TAB file, do the following steps:
1 Go to the ‘Catalogue’ tab in Konect Manager.
2 Select the ‘Import/Export’
3 Select the ‘Import’ tab.
4 Select ‘MapInfo TAB’ in the ‘Dataset’ list.
5 Press the ‘Browse’ button. Select and 'Open' the required file. In this example we have used ‘FN Property.TAB’
6 Konect Manager reads the contents of the selected file and displays the number of records and the number of data fields in the file. It also draws a rectangle, called the bounding rectangle, that geographically encompasses all the map features in the file. The user can use this information to check that the correct data is being imported.
Konect performs a comparison between the dataset being imported and all existing datasets in Konect. If the data structure matches in any way you will be presented with the option of either 'Creating a new dataset' or 'Appending to an existing dataset'.
If there is no match then you are only given the option of 'Creating a new dataset'
7 If required, select 'Create a new dataset' from the options box
8 Select 'Create new'
9 Click 'Yes' when prompted to create the dataset
10 Enter the name that you want to give to the dataset. In this example "Property".
11 Press the 'Ok' button.
12 The TAB file is imported and Konect Manager automatically goes to the ‘Datasets’ item in the ‘Catalogue’ from where various data settings can be set, added or modified.
Importing a TAB file - Append To An Existing Dataset
Records can be appended (added) to an existing dataset by importing a TAB file.
1 Go to the ‘Catalogue’ tab in Konect Manager.
2 Select the ‘Import/Export’
3 Select the ‘Import’ tab.
4 Select ‘MapInfo TAB’ in the ‘Dataset’ list.
5 Press the ‘Browse’ button. Select and 'Open' the required file. In this example we have used ‘FN Property.TAB’
6 Konect Manager reads the contents of the selected file and displays the number of records and the number of data fields in the file. It also draws a rectangle, called the bounding rectangle, that geographically encompasses all the map features in the file. The user can use this information to check that the correct data is being imported.
7 Select 'Append to existing dataset' from the options box. This option box will only present if there is a full or partial match between the file being imported and any Konect datasets.
8 This will cause the "Choose dataset to append' box to open
9 Open the 'Please select' list and select the dataset you want to append to.
The list shows all the existing Konect datasets that have at least one matching field with the GIS file. It also shows the number of fields that match. For a field to match it must have:
- The same name as a field in the existing Konect dataset.
- A type that can be converted to the type of field in the existing Konect dataset. For example, if there is a Text field called ID in the existing dataset and a Number field called ID in the import file, then these two fields are a match because a number can always be converted to its textual representation. However, if the field ID in the existing dataset is a Number field and the field ID in the import file is a Text field then these two fields are not a match because text cannot always be converted to a number.
If the mouse is hovered over an item in the dropdown list, the matching fields are displayed.
After choosing a dataset to append to, Konect Manager shows which fields are not matched, if there are any.
10 Select 'Append dataset'
11 Click 'Yes' when prompted to create the dataset
12 The records are appended and Konect Manager automatically goes to the ‘Datasets’ item in the ‘Catalogue’.