Spatial Data management

The data management is made through the Data menu, it contains the following elements:

  • Link data… (Ctrl+O): reference a support layer which will be displayed in your project

  • Unlink data… (Ctrl+W): unlink a layer

  • Add Web data… (Ctrl+Alt+W): Add web data such as Google / Bing images

  • Import data: import data into one of your construction theme

Add Web Data

The Data ‣ Add Web data option allows adding web data as support layers. The list of supported web data are listed in the picture bellow.

../_images/add-web-data.png

Note

Web data layers will not be displayed if there is no data into the actual project. Web layers aren’t able to know which part of the world should be displayed if at least one local support layer or one construction layer isn’t displayed.

Warning

Currently, web data layers didn’t work behind a proxy. This will be improved in futures versions

Import data

The Data ‣ Import data… option allows to import some existing information into the construction layers. You can only import lines or points geometries. The process is made in several successive steps. The import might finish earlier if the next steps are not relevant (e.g. there is no attribute).

Step 1

ToolMap supports the import of csv (points only) or shapefiles (points, lines, frame, or labels)

../_images/window-importdata1.png
  1. The file type option allows two types of data, choose the one you want to import

  2. Go to the next step or cancel the operation

Step 2

If you choose to add a shapefile the following step comes ahead

../_images/window-importdata2.png
  1. Path to the shapefile

  2. Information about the shapefile

  3. Go back to Step 1 or continue to Step 4

If you choose to add a CSV file, the following step comes ahead

../_images/window-importdata4.png
  1. Path to the CSV file

  2. Information about the CSV file

  3. Go back to Step 1 or continue to Step 3 - for CSV files only

Step 3 - for CSV files only

The CSV files are composed of columns of data separated with commas. The columns containing the X and Y coordinates must then be selected.

../_images/window-importdata5.png
  1. List of the columns which can be assigned as X or Y coordinates. If the fields have standard names, they can be automatically preselected.

  2. Go back to Step 2 or continue to Step 4

Step 4

Select the target to import the data.

../_images/window-importdata3.png
  1. List of possible targets to import the data

  2. Go back to Step 3 - for CSV files only or continue to Step 5

Step 5

Select the layer to import the data (if not a frame).

../_images/window-importdata6.png
  1. List of possible layers to import the data

  2. Go back to Step 4 or continue to Step 6

Step 6

Select the object kind field.

../_images/window-importdata7.png
  1. Select which field in the file contains the definition of the object kind.

  2. Alternatively, select a single kind for all objects.

  3. Go back to Step 5 or to continue to Step 7

Step 7

Define the matching of the object kinds with the database.

../_images/window-importdata8.png
  1. All values of the field identified as object kind are listed. On the right-hand side, a list of all object kinds from the database is displayed. The correspondence must be established.

  2. Go back to Step 6 or to continue to Step 8

Step 8

Define the matching of the attributes with the database (if applicable).

../_images/window-importdata9.png
  1. All other fields of the file are listed. On the right-hand side, a list of all attributes from the database is displayed. The correspondence must be established.

  2. Go back to Step 7 or to continue to Step 9

Step 9

Define the matching of the enumerations with the database (if applicable).

../_images/window-importdata10.png
  1. All attributes that are of enumeration type are listed. The first attribute name is the one from the database and the second is the one from the file.

  2. All the field values from the file for that attribute are listed. On the right-hand side, a list of all enumeration values for that attribute from the database is displayed. The correspondence must be established.

  3. Go back to Step 8 or to terminate the import.

Table of contents options

../_images/window-toc.png
  • icon2 Activate the display of the layer / group

  • icon1 Deactivate the display of the layer / group

Note

A layer will only be displayed if all its parents are also displayed

  • icon7 Edition mode activated, only allowed for construction layers icon3.

Contextual menu

The contextual menus are opened by right-clicking on a layer of the table of contents. They vary according to the selected layer.

Construction layers

../_images/context_menu_construction.svg
  1. Menu for lines or frame layers

  2. Menu for points and labels

The menu entries correspond to the following actions:

  • Edit Layer Put the selected layer in edition.

  • Show Vertex Allows you to select which vertex should be displayed.

  • Symbology… Display the symbology dialog (see Symbology).

Important

For editing to work properly, the theme must be in edit mode and selected!

Support layers

../_images/context_menu_support.svg
  1. Menu for shapefile support layers.

  2. Menu for raster / web raster support layers.

The menu entries correspond to the following actions:

  • Remove layer Remove the selected layer from the project.

  • Show Vertex Select which vertex should be displayed.

  • Labels… Place text next to the geometric object. It is mainly used for points.

  • Save Symbology… Save the current symbology into an external file (.tly).

  • Load Symbology… Load the symbology from an external file (.tly).

  • Symbology… Display the symbology dialog (see Symbology).

Groups

../_images/contextual_menu_groups.png

The menu entries correspond to the following actions:

  • Add new group Create a new group. If a group is selected, the new group will be added as its child.

  • Rename group Change the group name.

  • Remvove group Remove a group from the project.

Warning

A group can only be deleted if it is empty.