4.7. Adding, Removing, and Renaming Columns

Columns may be added to and removed from any layer. There are some restrictions on exactly how this is done.

Table 4.1. Column Change Restrictions

Layer TypeRestrictions
All By Reference LayersColumns added to By Reference layers will require either internal saving or updating the original file to keep their data. This only happens when you save the Map Set, so if you are doing this temporarily there is no harm. The only exception to this are Formula Columns, which are only stored in the Map Set and can continue to use the By Reference data.
WFS LayersColumns added to WFS Layers will not create new columns on the server. Any data that is added to these layers will be lost when the Map Set is saved and re-opened. As with By Reference layers, Formula Columns will have their data recomputed on load and thus will not be lost when saving a Map Set.
Live MapsThere are no features and thus no columns for Live Maps.

Columns of any data type may be added in Cartographica. By default, the Add Column command from the Layer menu will add a String column, which can represent textual or numeric data.

Adding Columns to a Layer

  1. Select the layer in the Layer Stack

  2. Choose Windows  >  Show Layer Info to bring up the Layer Info window

  3. Click the Fields tab to show the list of columns

  4. Do one of the following:

    • Click +

    • Choose Layer  >  Add Column

    A new column will be added to the column list and brought into view

  5. Optionally change the type of the column by selecting from the corresponding Type cell

  6. Optionally change the size of the column by clicking in the corresponding Length cell

Removing Columns from a Layer

  1. Select the layer in the Layer Stack

  2. Choose Windows  >  Show Layer Info to bring up the Layer Info window

  3. Click the Fields tab to show the list of columns

  4. Select the column to remove

  5. Do one of the following:

    • Click -

    • Choose Layer  >  Remove Column

    The selected column will be removed from the column list

Renaming Columns in a Layer

  1. Select the layer in the Layer Stack

  2. Choose Windows  >  Show Layer Info to bring up the Layer Info window

  3. Click the Fields tab to show the list of columns

  4. Select the column to rename

  5. Click in the corresponding Name cell and type the new name

    The selected column will be renamed