Managing themes
It is important that you understand themes, as explained in About GeoPlan themes, before you use them.
Themes are managed in the Layer Theme Editor dialog. This dialog is displayed when any Edit button is clicked in the Theme column of the Layers and Themes page of the GeoPlan Properties And Themes dialog (accessible by right-clicking the GeoPlan and selecting Properties & Themes).
A sub theme is used to depict one parameter of a network object on a GeoPlan.
- Open the Layer Theme Editor dialog for the network object.
- On the manager pane toolbar, click the Add New button .
- A new sub theme is added to the list in the manager pane and a new editor pane is displayed for it.
- You can change the name by editing the one in the Name box.
- From the Field drop-down list, select the parameter to be depicted on the GeoPlan.
- Set the Range, Visible Range, and Legend Control options as described in the topic for the Layer Theme Editor dialog.
- In the Properties area, check the box beside each property that you want to use for this sub theme's parameter.
- Selecting a property in the Properties area adds a column for that property in the Ranged Themes grid.
- In the Ranged Themes grid, specify the values for the properties.
- If you have set the values to be a continuous range, you can add more values to the range by increasing the value count.
- The Draw Style Preview section provides a visual preview of what the sub theme looks like for the different parameter values.
- To save your sub theme without closing the dialog, click Apply, or, to save your sub theme and close the dialog, click OK.
The order of themes in the manager pane determines the order in which these are applied to the GeoPlan. Later themes may override earlier themes if they are applied to the same properties, over the same zoom/scale range.
- Use the Move Up or the Move Down buttons of the manager pane toolbar to respectively promote or demote a theme.
- Open the Layer Theme Editor dialog for the appropriate network object.
- In the manager pane, select the sub theme to edit.
- Edit the sub theme as appropriate.
- To commit your changes, click Apply or OK.
It is possible to copy sub themes across other object layers or within a particular object layer.
Note: The fields must match up between the object layers for the copying of themes to be successful.
To copy a sub theme from one object layer to another:
- Open the Layers and Themes page of the GeoPlan Properties And Themes dialog.
- Click the Copy button .
The Copy Sub Themes dialog is displayed.
- Select the sub themes to copy.
- Click OK.
The Destination Layer Selection dialog is displayed.
- Select the appropriate destination layers.
- Click OK.
The copied sub themes are added to the themes of the destination object layers.
To copy a sub theme within an object layer:
- Open the Layer Theme Editor for the appropriate layer object.
- In the manager pane, select the sub theme to copy.
- Click the Duplicate button .
A copy of the sub theme is created and displayed in the editor pane.
- If required, change the name from the default and make any other appropriate edits.
- To save the new sub theme, click Apply or Cancel.
You can save themes from the GeoPlan window and reuse them later on the same network or any other network in the master database. Just like any other database item, you could also copy themes between databases.
Important: Themes are slightly different to other database items. You cannot create an empty theme using the New menu item. You must first set up one or more themes on the GeoPlan window. You can then save one or more of these themes as new database items.
You can save themes as a database object, or you can save the current settings for the theme as the default either for the current network or for all future networks of this type, and you can export theme settings to a GeoPlan Properties file (.iws extension).
Every saving option is available via the Save button of the Layers and Themes page.
- Right-click the GeoPlan view and select Properties & Themes.
- Click the Save button. The Network Editing Properties - Save Options dialog is displayed.
- Select the appropriate option:
- Save to database object Selecting this option will save the current themes and GeoPlan properties to an existing Theme Group. You can easily apply these saved themes to other networks by dragging them from the Theme Group in the Model Group window onto the GeoPlan window.
- Save as default for this network Selecting this option will make the current themes and GeoPlan properties the default for the current network, for all users. These settings will then be applied every time you open this particular network.
- Save as default for all networks of this type Selecting this option will make the current themes and GeoPlan properties the default for all the networks of the same type, for this particular user. These settings will then be applied every time you open a GeoPlan window from then on. This means you can have a favourite theme or themes applied automatically every time you open a network.
- Export to iws file Selecting this option will allow the current themes and GeoPlan properties to be saved to an external file. The settings will be saved to a GeoPlan Properties file (.iws extension), that you can reload at any time. See the Reloading Saved Themes section of this topic for more detailed information.
- Remove default from this network Removes the current settings from the network default.
To delete a theme that has been saved as a database object:
- In the Model Group window, right-click the theme object in the database tree view.
- Select Delete in the context menu.
- If you want to delete the theme, click Yes on the message prompting you for confirmation.
The sub theme is deleted and does not appear in the database tree view any more.
All sub themes (not base themes) can be deleted from the corresponding Layer Theme Editor:
- Open the Layer Theme Editor for the appropriate layer object.
- In the manager pane, select the sub theme to delete.
- Click the Delete button .
- If you want to delete the sub theme, click Yes on the message prompting you for confirmation.
The sub theme is deleted and does not appear in the manager pane any more.
To "hide" a theme rather than delete it, use the Enable/Disable button . See Disabling a sub theme below.
To disable an existing sub theme so that it is not displayed on the GeoPlan Window:
- Open the Layer Theme Editor for the appropriate layer object.
- In the manager pane, select the sub theme to disable.
- Click the Enable/Disable button .
- To commit your changes, click Apply or OK.
When applied, the sub theme will not be displayed in the GeoPlan window or the Thematic Key window. Clicking the button again enables and shows the sub theme.
If the theme has been saved as a database object, all you have to do is drag the theme object from the tree view onto the GeoPlan window. Holding down Ctrl when dragging a theme from the tree view into the GeoPlan window will reload the theme as an "add" operation instead of a "replace" operation. New themes will be added, but themes of the same name will not be removed.
If the theme has been exported to an iws file:
- On the GeoPlan Properties And Themes dialog, click the Load button.
- Select *.iws file as the source.
- Use the Browse button to find the source file. A standard Windows Open dialog is displayed, allowing you to browse for the iws file.
- Click Load.
When you reload a saved theme, any currently displayed themes are replaced with the loaded set of themes by default.
To display a log listing the changes to the set of themes displayed in the GeoPlan when loading themes, check the Show list of added and replaced themes option on the Geoplan Properties and Themes - General page.
- Open the Geoplan Properties And Themes dialog.
- Click the Load button. The Load Network Editor Properties dialog is displayed.
- Select the Network type default option.
- Check the properties to be loaded.
- If you want to revert to the network type defaults, click Load.
- On the message saying that the GeoPlan Properties dialog must be shut to complete the update, click OK.
- Open the Geoplan Properties And Themes dialog.
- Click the Load button. The Load Network Editor Properties dialog is displayed.
- Select the Factory default option.
- Check the properties to be loaded.
- If you want to revert to the factory settings, click Load.
- On the message saying that the GeoPlan Properties dialog must be shut to complete the update, click OK .