Placing Graphic Information in Visible Columns - 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

Update Column is also useful to put graphic information into columns so that it is visible. Tables that contain map objects store the graphic information about these objects invisibly. Using Update Column, you can bring some of that information into a column so it can be viewed in a Browser. Update Column with CentroidX(Obj), CentroidY(Obj) uses the Session Projection Preferences (if set), otherwise it defaults to Longitude/Latitude. For example, you want to display the longitude and latitude coordinates of a table of radio station point locations in a Browser. In this example, you are only working with one table, RADIOLOC, but you still use Update Column as in the Add Temporary Column example.

To display the longitude and latitude coordinates of a table in a Browser:

  1. View the table structure (on the TABLE tab, in the Maintenance group, click Table, and Table Structure) to ensure that there are not already fields that contain longitude and latitude coordinates internal to the table.

    Before you can update the table, add two columns (for instance, call them Long and Lat) to contain the coordinates. When you change the structure of the table in this way, the table is removed from any open window. The table is still open and ready for updating.

  2. On the TABLE tab, in the Edit group, click Update Column from the Edit group and specify RADIOLOC as the table to update and as the Get Value From Table.
  3. Choose Long as the Column to Update.
  4. In the Value box you must specify an expression to retrieve the longitude.
  5. Click the Assist button to bring up the Expression dialog box.
  6. From the Functions list choose CentroidX to return the expression CentroidX(obj).
  7. Click OK to return to the Update Column dialog box. The expression is now in the Value box.
  8. Click OK. MapInfo Pro calculates the information and places a longitude coordinate for each radio station in the Long column.


  9. Repeat the process to retrieve latitude coordinates using the CentroidY(obj) expression.
  10. On the HOME tab, click Save Table to store the coordinates in the RADIOLOC table.
Note: If you edit the objects, which, in effect, changes the coordinates, you must go back into the columns to make the changes. It will not automatically update.

Mouse Wheel Support for Browser Window

When you are working in the Browser window, you can use the mouse wheel to scroll through the records. Roll the mouse button down to scroll down the list, and roll the mouse button up to scroll up the list. You can still use the Tab key to scroll right and the <Shift+Tab> keys to scroll left in the Browser window.

For a list of keystrokes to help you navigate in a Browser window, see Shortcuts for the Browser Window.

Adding a Row to a Table

You can add a temporary row to an editable MapInfo table.

To add a new row:

  1. On the TABLE tab, click the New Browser option.
  2. Choose an editable table from the drop-down list.
  3. Click OK to display the table in a Browser window.
  4. Choose Add New Row from the Edit group in the TABLE tab (or press Ctrl+E). A new row is added to the bottom of the table.
  5. Enter data in the new row.

When you are finished adding rows, on the HOME tab, in the File group, click Save Table to save new data.