Registering and displaying your ascii data, Importing and displaying gml file data, Importing and displaying gml 2.1 files – Pitney Bowes MapInfo Professional User Manual

Page 370

Advertising
background image

Registering and Displaying your ASCII Data

When you are working with ASCII data in MapInfo Professional, you do not actually create the table as
you would in the other file formats we have discussed. MapInfo Professional registers your ASCII table
by creating a MapInfo (.tab) file that points to the fields in the original file.

Registering your data using MapInfo does not change the original data in any way.

Note:

If your delimited ASCII file has an extension other than .TXT (such as .ASC, .CSV, or .DAT, etc.), rename
a copy of the file to <FILENAME>.TXT before you begin.

To register your ASCII (.TXT) data:

1. Open the data file using Wordpad/Notepad (on the Start menu, point to Programs and click

Accessories) or another text editor. See whether you have column headings and what delimiter
(character that separates each piece of data from the next) is used in the data file.

2. In MapInfo Professional, open File menu and click Open to display the Open dialog box.

3. In the Files of Type list, select the format (.TXT), navigate to your data, and click Open.

4. Specify a tab delimiter or type the other delimiter in the field provided.

5. Choose the character set your file is using from the File Character Set drop-down list.

Select the Use First Line for Column Titles check box if you have column headings.

6. Click OK to register your data in MapInfo Professional.

7. On the File menu, click Save Copy As to make an editable copy of your table. Then, on the File

menu, click Close Table and close the original table. Finally open the editable copy. You can only
read information from these files.

For more information, see Working With Spreadsheets and Editing Excel and Lotus Spreadsheets in
the Help System.

Importing and Displaying GML File Data

You can import

OSGB MasterMap GML Files

into MapInfo Professional. 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
Professional 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.

For more information, see Importing and Displaying GML File Data in the Help System.

Importing and Displaying GML 2.1 Files

You can import GML 2.1 files into MapInfo Professional directly. To import successfully, the XML must
contain a reference to a valid schema that MapInfo Professional can read. For example, the schema
location could be a path relative to the XML file:

xsi:schemaLocation="http://www.mapinfo.com/wfs_XX .\mi_usa.xsd"

Or, it could be a URI:

xsi:schemaLocation="http://www.lm.se/xml/namespace/abc
http://www2.xxx.se/xml/scheman/abc.xsd"

MapInfo Professional 12.5

370

Registering and Displaying your ASCII Data

Advertising