Saving Tables to a GeoPackage - MapInfo_Pro - 2023

MapInfo Pro Help

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapInfo Pro
Version
2023
Language
English
Product name
MapInfo Pro
Title
MapInfo Pro Help
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:39:16.995549

You can save your MapInfo tables to a new or an existing GeoPackage (*.gpkg).

Steps to save a table to a GeoPackage:
  1. On the HOME tab, in the File group, click Save Copy As.
  2. In the Save Copy of Table As dialog box, select GeoPackage (*.tab) from the Save as type list. Make the following optional selections for the GeoPackage table:
    • From the Save in list, select the location to save the new GeoPackage table to.
    • In the File name box, type a name for the new GeoPackage table.
  3. Click Save.
  4. In the Select GeoPackage File dialog box, make the following optional selections for the GeoPackage:
    • From the Save in list, select the location to save the new GeoPackage to.
    • In the File name box, type a name for the new GeoPackage, or keep the default name.

      If you want to save the table to an existing GeoPackage, find the location of the GeoPackage from the Save in list and select the GeoPackage file.

  5. Click Save.

For steps to access a GeoPackage table, see Opening GeoPackage Tables.

Saving a MapInfo Table Having No Metadata

If a MapInfo Native or NativeX table that does not have any metadata content in the TAB file is saved to a GeoPackage, MapInfo Pro will treat them as Read-Only.

This issue should not be encountered very often as most TAB files typically do have metadata entries within them. For being able to have write access to such tables, follow the steps below:
  1. Open the TAB file in a text editor.
  2. Search for: "\IsReadOnly" = "TRUE"
  3. Either remove this, or change it to: "\IsReadOnly" = "FALSE"

Saving a Non-Earth Table to a GeoPackage

When saving a Non-Earth table to a GeoPackage, MapInfo Pro will prompt you to specify the Non-Earth coordinate system (CoordSys) and specific bounds to use. The information will then be stored in the TAB file.

You can save a Non-Earth table to a GeoPackage by using either of the options below:
  • Using the Save Copy As command in MapInfo Pro.
  • Using the MapBasic Commit Table statement, where you must specify the CoordSys clause with specific bounds. You can issue this statement from the MapBasic window in MapInfo Pro.
Note: Before saving the table, obtain the CoordSys clause information for the Non-Earth table by using the MapBasic TableInfo() function. For this, type Print TableInfo(tablename, 29) in the MapBasic window.