You can create one or several legends for your mapping projects in metigo® MAP and activate them in the display via group management.
There are two types of legends, the individual legend and the group legend. The difference between them is that you can select the classes covered with the individual legend, whereas for the group legend all classes of the respective group will automatically be included. If you want to add a new mapping class to the group or remove one at a later stage, the group legend will automatically be updated.
Apart from the mapping symbols and the class name, results of the quantity survey that are automatically generated during the mapping can also be displayed in the legend. Examples are the number of mapped areas, the total area or the percentage share of a mapping topic on the total area of the object.
Once all the format settings of your legends have been adjusted to your needs, they can be saved as legend template and can be reused for creating your next legend.
Formatting of the individual and group legend as well as the legend template is principally the same. Therefore, all functions will collectively be explained in the section Individual Legend. The section Group Legend as well as Legend Template will only cover their special aspects with regard to creation.
| Note: Legends are linked to the class management, i.e. if you change the class name, symbols colour, hatchings or line types in class management, the legend will automatically be updated with those changes.|
Dialogue to define the entries in the legend.
The individual legend can be created via a right click onto the button Legends in the lower part of the project tree or the button at the symbolbar.
- First select the function Create individual legend... in the context menu of the node Documentation>Legends at the Project tree or the button at the symbolbar. This will prompt a text field, where you can enter the name of the new legend.
- You can then choose a template from the dialogue that follows (provided templates already exist)
- You can also change the name of a legend later.
- In case of an individual legend you can select the class that should be covered by the legend. If you have created a group legend however, all the classes will be preselected, because all the classes are automatically included by the respective group.
- You can check the preview of your legend in the preview window.
- If you are satisfied wiht the result press the button Create Legend.
Editing a Legend
If you want to edit a legend, left click onto the legend in the project tree. This will prompt a tool window on the right hand side with three tabs:
- Layout: Configure the size of the legend, the colour of the lines and the background fill as well as the position here;
- Line Format: You set the line height, the line and column spacing, font and font size as well as the columns to be included in the legend; you arrange the column and configure their width here;
- Data: Add or remove mapping classes and arrange their sequence and annotation.
Layout a Legend
Tool window Legend
- tab Layout
- You can select the current legend from either the pull-down menu or at the Project tree.
- Below Size, you to set the width and height of the legend or to adjust it automatically to the legend contents.
- The legend can be framed and a respective line colour and width can be selected.
- You can select a frame around the part containing the symbols class (this is optional). Please, note that in doing so the line type of an area mapping will be submerged by a continuous line.
Note: First choose the template size automatically and adjust it when you have inserted all legend elements.
- Activate the check box section break if you want to use multiple columns. They can be separated by a straight line.
- Check the control box Fill to add a coloured background to the legend. If no background is chosen, the legend will remain transparent.
- You can define the position of the legend either by the object coordinates [m] or the paper space [cm]. If you choose frame, the legend will be positioned into the frame corners.
- The option Insertion Point can be used to define the position of the legend by manually entering its coordinates or selecting them directly from the evaluation window. For the latter click the button on the toolbar. You can determine the reference corner for the legend yourself.
- You can turn the legend and optionally also turn the hatchings within the symbols fields in the legends.
Tool window Legend
- tab Line Format
- At the section Line Format you define the line height of your entries.
- The sub-section Spacing is used to define the frame of a legend, the spacing between individual columns and lines.
- At the Annotation section you find all the options concerning the entire text contained in the legend. You can select among all fonts installed on your system. You can define the alignment of the text within the line and the letter height.
- You can determine the decimal places shown for quantities and statistics.
If you wish to do so, you can narrow down all entries in your legend to one unit. If this option is deactivated, the unit of the class will be carried forward from class register.
- With a right click you can add, delete or edit column entries. The horizontal alignment and the column width can be adjusted. You can select among ten different column evaluation attributes for insertion. These are listed below:
- %Count (selection) – indicates the proportion of the number of mapping elements in the respective class in relation to the total number of all classes contained in the legend.
- %Quantity (selection) – indicates the proportion of the respective class as total quantity of all classes contained in the legend.
- %Quantity (object) – Calculates the proportion of the quantity in relation to the total quantity of the object, which you can enter manually in the dialogue Mapping>Mapping Area Object or the class which you define as reference.
- Interval (SC) – writes the size classes into the legend (also activates the columns: count (SC), quantity (SC) and proportion (SC).
- Name (SC) – writes the names of the size classes into the legend (also activates the columns count (SC), quantity (SC) and proportion (SC)).
- Total Count Manual Measurement – indicates the number of elements of the class that are assigned to the respective class size.
- Total Quantity Manual Measurement – indicates quantity of class size of the respective class.
Note: If you keep the left mouse button pressed you can relocate the selected column within the table. Right click to prompt the context menu of the table, where you can remove the column entries and adjust the column width.
Tool window Legende
- tab Data
The file register Data lists all the classes contained in a legend. It can be used to make changes. The table shows all classes in their sequence.
- The context menu of the table provides tool functions for the design of contents and structure of the legend. Selected classes can be shifted within the table by marking them, dragging and dropping them. To do so simply keep the left mouse button pressed. The right mouse button is used to open the context menu of the table which provides the following functions:
- Remove class: Removes the selected class. If you mark a class in the table it will be removed from the legend.
- Add class(es): Adds new classes. In a file dialogue you can select the classes that are to be added to the legend.
- Add header: Adds a header to the respective column. The text field can be used to change the contents of the header. Each column can only have one header.
- Add title: Adds a header texts to the required location. A column can have multiple header texts, e.g. to separate categories within a legend,
- Insert column break: Creates a new column. All existing elements will be contained below the break. If you move classes, you can shift them from one column to another.
- Add text field: Adds a text field with miniature symbols. Its content and description can be altered. It is also possible to have two empty title blocks between two symbols.
- In the editing block you can adjust the text entries to your desired test.
Group legends can only be created for already existing groups of mapping classes. Follow this procedure:
- Go to the mapping tree and select a group by left click. Then right click on the context menu and select the function Create Legend (Group).
- In the next dialogue a legend template can be selected from existing ones.
- A name is given to the group legend – it is created by the name of the legend template and the name of the group. The name of the legend can be altered subsequently.
- The classes within the group legend are already predefined as all classes of the respective group are contained.
- The preview window gives a first impression of the legend.
Via group management the index card Auxiliary Layers can be activated. The previous section Individual Legend includes a comprehensive description of all format options of the group legend.
Tool Window:Legend Template
. - Creating a legend template.
The legend template is a format design for a new legend to be created:
- Therefore, go to the project tree in the lower part and select legend templates with a left click.
Then prompt the context menu by right click and select the function New Legend Template.
Name the template in the dialogue that follows.
- Or select an existing template at the tool window.
- The procedure to create the layout for the legend template is identical to that described at Individual Legend - Layout contains detailed explanations on all formatting options for the legend template.
- The same applies for the Line Format tab.
- In the table at the lower part you choose the columns to be included.
Creating a legend template using an existing legend.
A quick way to create a legend template is to use an existing one, which you have previously created and formatted. The steps for doing so are straightforward:
- Go to the project tree in the lower part and select an existing legend by left mouse click. Then prompt the context menu by right click and select the function New Legend Template.
- Give a name to the template in the dialogue that follows.
| Caution: The legend template created that way is not linked to the individual legend that was derived from. If you make changes to the format of the original legend, the template will remain unchanged and not updated. You would have to create a new legend template in that case.|