Importing and Displaying GML File Data - MapInfo_Pro - 2023

MapInfo Pro Help

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro
Version
2023
ft:locale
en-US
Product name
MapInfo Pro
ft:title
MapInfo Pro Help
First publish date
1985
ft:lastEdition
2023-09-12
ft:lastPublication
2023-09-12T16:39:16.995000

You can import OSGB MasterMap GML Files into MapInfo Pro. Each layer in the GML file is imported into a separate .TAB file. We provide support for some of the Topography features (OSGB version 2.0), Topographic Area, Lines and Points, Cartographic Symbols and Boundary Lines. Currently, we maintain support for these features and add support for Cartographic Text and Departed Features.

Currently, we support the OSGB recommended styles by mapping the style definitions to existing MapInfo Pro styles. Where it is not possible to render complicated fill patterns, we use the simple dot screen that the OSGB recommended to us. You cannot change the OSGB style mapping to MapInfo styles.

To import GML data into a .TAB file:

  1. On the HOME tab, in the File group, on the Open list, click Import to open the Import File dialog box. Choose OS MasterMap (*.gml) from the Files of type drop-down list and navigate to its location.
  2. Select a GML file to import. Click Open. The GML Import dialog box displays.
  3. Click the Select GML Layer to Import drop-down list to display the layer options.
    Note: When you select the DepartedFeature layer, MapInfo Pro imports only the changed features of the selected layer.
  4. Do one of the following:
    • Select the layer in the list you want to import.
    • Select the All Layers option to import all of the layers and convert them to individual .TAB files.

      For more about these layers and feature types and how MapInfo Pro handles the Topographic Layer, seeUnderstanding MapInfo Pro's Use of the Topography Layer.

  5. Choose the style you would like to use to display the GML file. Choose one of the following:
    • Click Use GML Style to display the selected file using the OSGB GML styles
    • Click Use MapInfo Current Style to display the selected file using your currently established styles. MapInfo Pro uses the current styles established in the Region Styles dialog box.
  6. After you have made these selections, click OK. One of these dialog boxes opens:
    • If you selected one layer in step 4, the Import to Table dialog box opens. Choose the directory and file name you want for this file and click Save. MapInfo Pro saves the file to this directory. Go to step 7 to continue.
    • If you selected All Layers in step 4, the Choose Directory dialog box opens. Select the directory you want MapInfo Pro to place the new .TAB files in and click OK. A status box opens showing the progress as each layer is converted and saved into a separate .TAB file.

To open the GML files that are .TAB files, on the HOME tab, in the File group, on the Open list, clickTable, and navigate to the directory you specified.