Project Management

The whole management of the project is made with the menu Project, which includes the following options:

  • New Project: create a new project

  • Open…: open an existing project

  • Recent: open a recently used project

  • Backup: create a backup of the project

  • Manage backup: open the backup management window

  • Save as Template: save your project as a template

  • Merge projects: merge another project in the current project

  • Export Layer…: export a layer or the project as shapefile

  • Export Model as PDF…: export your data model as PDF

  • Edit: edit the project

  • Exit: quit ToolMap

New project

To create a new project, select Project ‣ New Project ‣ Empty…. The dialog box illustrated bellow appears.

../_images/window-newproject.png
  1. Project Path

  2. Project name

  3. Units:

    • Meters

    • Degrees (Decimal Degrees)

    • Degrees (Degrees, Minutes, Seconds)

  4. Projection system:

    • Swiss projection (CH1903)

    • World (WGS84)

  5. Create a new empty project and activate the next step

  6. Cancel the creation of the project

Warning

ToolMap will not run correctly if the project isn’t stored on a local disk

Generalities

The Project Properties tab of the Project Definition window allows to complete some generic project information.

../_images/window-projectdefinition.png
  1. Define the author of the project

  2. Comments about the project

  3. Saves the properties modifications of the project (this button is enabled only when at least one layer is created)

  4. Cancel the properties modifications of the project

Spatial model

The Spatial Model tab of the Project Definition window lists the layers. Each layer contains objects and may have attributes.

../_images/window-projectdefinition2.png
  1. List of layers defining the spatial model, several operations can be realized in this list:

    • Editing the characteristics of a layer by double-clicking on it

    • Sorting layers by clicking on the list header

    • Reorganizing layers order with a contextual menu

  2. Layers management controls

    • [+]: add a layer

    • [-]: delete one or several selected layer(s), the suppression can also be made with the DELETE / BACKSPACE keys.

  3. Number of layers

  4. Number of selected layers

  5. Save the project modifications (this button activate only when at least one layer is created)

  6. Close the window without saving the modifications.

Layers Definition

The Thematic layer definition window appears when adding a new layer:

../_images/window-thematiclayerdefinition.png
  1. Layers name. This name is used as the output file name when exporting the layer.

  2. Spatial layer type (line, point, polygon)

  3. Name of the polygon contour. This field is only displayed for polygon layers

Note

The polygons in ToolMap are built with lines while the object kind is stored into a label. At the creation of the project the line related to the layer is automatically generated, but you will have to create it yourself if adding a new polygon layer on an existing project.

Object kind definition

The objects belonging to a layer are defined in the Object kind tab of the Thematic layer Definition window

../_images/window-thematiclayerdefinition2.png
  1. List of defined objects. Following operations can be realized in the list:

    • Sorting objects by clicking on the list header

    • Editing the objects characteristics by double-clicking on an object

    • Reorganizing objects order with a contextual menu

  2. Objects management controls

    • [+]: Add an object img1

      1. Code (numerical value) duplicates are allowed but not recommended. This code will be exported as OBJ_CD field when the layer is exported

      2. Description: a textual description of the object. This value will be exported as OBJ_DESC field when the layer is exported

    • [-]: Delete one or several selected objects. The suppression can also be made with the DELETE / BACKSPACE keys.

    • [Import]: import list of objects from files of following format:

      • *.CSV Format :<Code>;<Description>;<Theme>;<Frequency>

      • *.TXT Format :<Code>[TAB]<Description>[TAB]<Theme>[TAB]<Frequency>

  3. Save or cancel the object modifications

Attributes definition

The attributes management is made from the Attributes tab of the Thematic layer definition window.

../_images/window-thematiclayerdefinition4.png
  1. List of defined attributes Following operations can be realized in the list:

    • Sort attributes in alphabetical order by clicking on the Name or Type header

    • Edit an attribute characteristic by double-clicking on it

    • Reorganize the list of attributes with the contextual menu by right-clicking

  2. Attributes management controls

    • [+]: Add an attribute

    • [-]: Delete one or several pre selected attributes. The suppression can also be made with the DELETE /BACKSPACE keys.

  3. Save or cancel the attributes modifications. An attribute is defined by:

    • A name: the name cannot contain spaces or reserved words (see Reserved words)

    • A type of data:

      • Text

      • Integer

      • Float

      • Date

      • Enumeration

Attribute creation
../_images/window-editobjectattribute.png
  1. Attribute name

  2. Attribute type

  3. Attribute options: each type has different options, in this case the enumeration type. Following operations can be realized in the list:

    • Sort the values of the list by alphabetical order by clicking on the Code or Description header

    • Edit values characteristics of the list by double-clicking on it

    • Reorganize the list of values with the contextual menu by right-clicking

  4. Enumeration management controls

    • [+]: add a new value

    • [-]: delete one or several pre selected values. The suppression can also be made with the DELETE /BACKSPACE keys.

    • [Import]: import lists of values, two types of format can be imported:

      • *.CSV Format: <CODE>;<Description>

      • *.TXT Format: <CODE>[TAB]<Description>

    • [Export]: export the list of values in TXT files

  5. Save or cancel the list of values modifications.

Orientation of a point type object

It’s possible to orientate an object of a layer. However, several constraints have to be considered:

  • The spatial type of the layer has to be a Point type

  • The data attribute type has to be a Float or an Integer type

  • Only one attribute per Layer can be oriented.

Activation of the orientation

In the Object Attribute tab of the Thematic layer definition window, you have to select the attribute by clicking on it, and then activate the case Orientation Field at the bottom of the window(1) (see also Attribute orientation to point for further information).

../_images/window-thematiclayerdefinition3.png

Create from template

The option Project ‣ New Project ‣ From template… allows you to create a new project with the same layers/objects/attribute as an existing one. This option will create a new project from an existing Template. The creation is made through the two following steps:

../_images/window-template1.png
  1. existing template path

  2. Template information

../_images/window-template2.png
  1. Directory for the new project

  2. Name of the new Project

  3. Creation controls:

    • Back: Return to the previous window (choose another template)

    • Finish: Create the new project with the current settings

    • Cancel: Cancel the creation of the new project

Open a project

There are two possibilities to open an existing project:

  • With the option Project ‣ Open…: open a project saved on your computer

  • With the option Project ‣ Recent: open a project which had already been opened recently

Special cases

  • The project do no more exists, it was whether deleted or moved.

    img2

    • If the box is checked it will automatically erase the project from the list of the recent projects.

  • The folder you selected is not a ToolMap file

    img3

  • The project was made on an older version of ToolMap and need to be upgrade

    img4

    • The backup convert and open option generates a backup of your project in the old version of ToolMap and upgrade the current project

    • The convert only option simply converts the version of your project. Be aware that your project will no more be readable by older version of ToolMap.

  • Your version of ToolMap is not up to date, you’ll have to download the latest version

    img5

Edit a Project

The Project ‣ Edit allows editing the characteristics and components (layers, objects, attributes, settings) of the current project.

Edit the project properties

The layers and attributes of the project can be modified with the Project ‣Edit ‣ Project Definition menu.

The first tab Project Properties of the window allows modifying the properties of the project like the name of author and the eventual comments. (See chap. Generalities)

The second Tab Spatial Model allows modifying the layers (see chap. Spatial model) and the attributes (see chap. Attributes definition).

Edit objects

The objects can be modified with the menu Project‣Edit‣Objects kind… They are distributed in the three spatial kinds: point, line and polygon.

../_images/window-objectdefinition.png
  1. List of objects defined by spatial type. Following operations can be realized in the list:

    • Sort objects by alphabetical order by clicking on the Code, Description, Layer or Frequency header.

    • Edit the objects characteristics by double-clicking on it.

    • Reorganize the list of objects with the contextual menu by right-clicking.

  2. Objects kind management controls

    • [+]: add an object

    • [-]: remove the selected object

    • [import]: import an object

    • [export]: export the selected object

  3. Save or cancel the objects modifications

  4. Number of objects in the selected spatial type

  5. Number of selected objects

Edit attributes

The attributes can be modified with the option Project‣Edit‣Object Attribute…

../_images/window-editattributes.png
  1. List of available layers, you can modify them by double-clicking on it

  2. Objects management controls

    • [+]:add a new layer

    • [-]: delete the selected layer

  3. [Update]: update the project saving the modifications, [Cancel]: Cancel the modifications

  4. Number of available Layers

Settings

The settings edition is activated with the option Project ‣ Edit ‣ Settings…

Project Settings

The project settings tab of the project settings window allows to manage the export and backup properties

../_images/window-settings.png
  1. Export data type (Shapefile, Graphics (EPS))

  2. Export file path

  3. Backup file directory

Scale

The scale tab of the project settings window allows managing the scales

../_images/window-settings-scale.png
  1. List of defined scales. Following operations can be realized in the list:

    • Edit a scale by double-clicking on it

    • reorganize the list of scales with the contextual menu

  2. Scales management

    • [+]: Add a new scale

    • [-]: Delete one or several preselected scales. The suppression can also be made with the DELETE /BACKSPACE keys

    • Management options of the scales list. The list can be ordered with the options of the order drop-down menu

      • Sort ascending

      • Sort descending

      • User defined: ordered by the user

  3. Save or cancel the settings modifications

Save and restore a project

Backup

When working on ToolMap the changes are automatically and constantly saved. Because of that it is safe to create frequent backups of the project. The Project ‣ Backup menu allows you to make backups of your current project.

At the creation of a backup, you can write a comment about your save.

../_images/window-backup-comment.png

The comment will appear in the Manage Backup window.

The Manage Backup window is accessible with the option Project ‣ Manage backup. This window lists all the backups stored in your backup file. The name of the backups is automatically generated following this model: Projectname-YYYY-MM-DD-HHMMSS

../_images/window-backup-management.png
  1. List of the backups with their characteristics and comment. The list can be ordred by each of the characteristics

  2. Backups management controls

    • Delete: Delete the selected backup(s)

    • Restore: Restore the selected backup. When clicking on this option, a window asks you the confirmation of the restoration process.

    img6

    • Close: Close the window and return to your current project

  3. The Backup path (beforehand defined in the Settings)

Template

You can create templates of your project with the option Project ‣ Save as template. The creation of a template is made as such:

../_images/window-template-save.png
  1. Path where the template will be stored

  2. Name of the template and the format

  3. Save the template or cancel the operation

After saving your template you can enter a comment that will appear if you use the Create from template option.

../_images/window-template-save2.png
  1. Comment on the template

Merge projects

Another project can be merged into the current project with the option Project ‣ Merge projects. Only projects based on the same data model can be merged (this is tested before merging). Before proceeding to the merge, a backup of the current project is performed.

A window will open to choose the other project that will be merged into the current project:

../_images/window-merge-dirpicker.png

Then, a confirmation will be requested before proceeding to the merge:

../_images/window-merge-confirm.png

The merge is finally performed.

Export a project

Export Layers

The exportation allows generating layers, which were defined at the spatial model level in order to be used in others programs. The export path and format have to be beforehand defined (see chap. Settings). A .prj file is generated along the .shp files to define the associated projection.

The exportation is made with the option Project ‣ Export Layer…. When selecting this option the following window appears:

../_images/window-exportlayer.png

Layers: List of the layers defined in your data model (previously exported layers are automatically selected). Layers selection controls:

  • All: select all the layers

  • None: remove all the selected layers

  • Invert: invert your current selection

Settings

  • Overwrite existing files (if disabled an increment will be added to the exported files)

  • Add layers to the project

  • Replace existing layers (only when the option to add layers to the project is selected)

  • Use Fast Polygon export

  • Export empty layer (if enabled, shapefiles containing no geometry will also be generated)

Attributes (Enumeration)

  • Export description

  • Export code

When Exporting a Polygon Layer, ToolMap automatically create a column “NB_LABELS” in the resulting file. This column is filled for each polygon with the number of labels inside that polygon.

Export Model as PDF

Once the spatial model of a project is set, you can get a PDF layout of it using the Export Model as PDF tool (Project ‣ Export ‣ Export Model as PDF…).

The following window will then open :

../_images/window-exportdatamodellayout.png
  1. Choose to either print your data model on a single page or with one layer only per page. The later allows you to choose between several paper sizes (from A0 to A4) and orientation (Portrait or Landscape).

  2. Choose the layout of your data. The upper option will display Object Attributes below the Objects Kinds, the lower option will display them next to each other.

Checking the “use very simple decorations” box in the next window will allow you to print a lighter version of the document.

Close the Project

To quit the project, you just have to click on the upper-right icon or select the option Project ‣ Exit.