Append rows to table
In the Browser toolbar, select the
Target and Source Tables
The Target table is automatically set to your currently active browser tab. From the Source table dropdown menu, you can select any other available table, a specific view, or even a current selection of objects on your map.
Column mappings
This section allows you to visually match which information goes where. For every Target column in your active table, you can select the corresponding Source column from the data you are importing. To save you time, the system will automatically link source and target columns that share the exact same names.
Automatic Map Projections
When working with spatial data, the application intelligently handles map coordinates behind the scenes. If your source data uses a different coordinate reference system (CRS) than your target map, the geometries are automatically aligned and transformed for you.
Safe and Reversible
- Live Progress and Abort - Built to handle massive amounts of data smoothly, the tool includes a live progress indicator. If you change your mind during a large data transfer, you can safely click the Abort button.
- Undo Support - The entire operation is fully integrated into the Gismatrix Undo system, allowing you to instantly revert the bulk addition if a mistake was made.
Use Case: Adding a Missing Airport to the Main Database
The following steps demonstrate a use case where a missing airport was added to the main database using an SQL query:
-
Preparing the data source:
In the Browser tab, we first used the SQL view tool to create a query (named
query1) to locate and isolate the specific airport we wanted to add:SELECT name, code FROM airports1 WHERE code = 'ATL'.Important Note on Geometries: If you use an SQL view as the source, the geometries will not be appended to the target table unless you explicitly include the geometry column (e.g.,geom) in your SQL query. If you only select specific attributes like in the example above, the map geometries are dropped. To preserve spatial data, modify your query to explicitly select the geometry column or use a wildcard:SELECT name, code, geom FROM airports1 WHERE code = 'ATL' -- OR -- SELECT * FROM airports1 WHERE code = 'ATL' - Launching the tool: We then switched to the tab of the main, target table (airports). We enabled editing mode (the pencil icon in the top right corner) and selected the Append rows to table tool from the toolbar (the table icon with a red arrow).
-
Configuration in the dialog:
- Target table: The currently active table (airports) is automatically set. This field is read-only.
- Source table: From the dropdown menu, we selected our previously created view (View - query1).
-
Column mappings: The system automatically recognizes and links
columns with identical names (e.g.,
name -> nameandcode -> code). If the attribute names in the source and target differ, you can manually define the mapping by clicking the Add button.System and geometry columns are intentionally hidden from this list, as they are securely transferred (and reprojected if necessary) automatically in the background.
-
Execution:
By clicking the OK button, we confirmed the process. The new airport
was successfully appended to the rest of the airports in the target table and immediately rendered on the map.
Note: When transferring large amounts of data, a progress bar is displayed in the center of the screen during the operation.