You can register an OGR file type using the Table command.
Steps to register OGR file types:
- On the Home tab, in the File group, from the Open list, click Table to open the Open dialog box.
- In the Open dialog box, from the Files of type list, select Vector Files (OGR).
- Alternatively, select Show All OGR formats... from the
Files of type list to display all available OGR file
formats in case Vector Files (OGR) does not list the
desired OGR file extensions.Note: If you click Show All OGR formats..., the Files of type combo-box list expands to show all OGR formats. This setting will persist till you re-start MapInfo Pro.
- Select an OGR format.
- From the Look in list, select the folder location of the
file that you want to access and then select the OGR file(s) to open.Note: You can open multiple files in one operation. Some file types support more than one Layer per file. Files will be grouped by extension and then the Open Options dialogs will be presented for each group of similar files.
- Click Open. MapInfo Pro will use the specific driver on
the selected file and will open the selected driver's Vector File
(OGR) Open Options dialog.Note: Some formats like GeoPackage, CSV, shapefile, etc. are also available natively in MapInfo Pro. Selecting the OGR specific driver for these formats will open the files using OGR driver only.
- Click OK to open the Select One or More Tables to Open dialog box.
- In Select One or More Tables to Open dialog box, select the
tables that you want to open. You can also:
- Change/set the style and coordinate system using the Style and Coordinate System commands.
- Set a different destination path for saving the tables or open the tables in read-only mode by selecting Read-only in the Options command.
-
Use an object Cache to improve performance (on by default) and an option to Import the selected files by saving a copy of each table in MapInfo format instead of accessing the file directly.Note: If you use the option to create a copy, a background task with each layer will be added to the task manager.
- Click OK to open the selected tables.
You can also register an OGR file type using MapBasic. For details see, Register Table statement in the MapBasic Reference Guide.