Editing display styles for individual layers

In this section, Map 3D features are to be styled. You have the option of controlling the display of data in the illustration according to its attributes. 

After adding a new data layer, first change the names of the layers to meaningful designations. In this example, “TC_M_SP_SEGMENT”. 

To do this, click on the “TC_M_SP_SEGMENT” layer in the display management.  By clicking again, you enter the write mode and can change the layer name. Try changing the layer name for yourself. 

mceclip0.png  >> mceclip1.png

Right-click on the layer (in this case “Trench”) and select “Edit style” from the context menu.

mceclip2.png

This will open the style editor with the data of the selected layer.

In the style editor, scale ranges for the display of the data can be defined. 

The display of the data is controlled depending on the “thematic rules”. 

mceclip0.png

When the style editor of the respective layer is opened for the first time, default values are already set. 

Adding and editing thematic rules 

In our example, three further thematic rules are to be added to the “trench” layer

To do this, click on mceclip1.pngin the lower pane.

An additional thematic rule appears in the style editor.

mceclip2.png

Click on the corresponding button to create an expression for the thematic rule.

mceclip3.png

This opens a dialog for creating an expression. 

mceclip4.png

Under “Property” you will find corresponding entries. These entries correspond to the attributes of the respective table or view, in this exemplary application, it is the attributes of the view “TC_M_SP_SEGMENT”.

mceclip5.png

The following thematic rule is to be entered for the layer:

STATUS_NAME = “Existing”

Select the “STATUS_NAME” attribute from the properties.

Select the operator “=” under “Operator” or in the function bar.

mceclip6.png

After setting the operator, the entry “[value]” is automatically appended. Place the cursor over the attached entry.

mceclip7.png

Click on “Get values from a list”. In the window, an edit box opens for retrieving the respective values of the property.

mceclip8.png

The edit box can also be accessed via mceclip9.png. Select the value “Existing” from the list by double-clicking. This value is added to the expression. 

Click on the mceclip10.pngbutton to check your entry. If your expression is valid, confirm by clicking “OK”. 

Result 

mceclip11.png

Duplicating and deleting thematic rules 

Clicking on mceclip12.png creates a further rule with the same inputs. mceclip13.png or mceclip14.png can be used to remove individual or all rules from the list. 

By way of example, two further rules are added. 

STATUS_NAME = “Under construction”

STATUS_NAME = “Planning”

Result

mceclip15.png

Edit the style of the thematic rule 

To edit the style of the respective rule, click on the corresponding button in the Style field.

mceclip16.png

This will open the dialog for editing styles.

mceclip17.png

For example, select the “Dashed” icon and the color blue. 

mceclip18.png

Complete your stylization by clicking on mceclip19.png in the style-editor form.

In our example, the “Planning” rule is to have the same stylization as the “Existing” rule, but with the color green. “Under construction” is also to have the same stylization but with the color red.

Result

mceclip20.png

mceclip21.png

Defining text for a layer 

In order to define the text  (in this case: “Street name”) for a layer (in this case: “Street”), open the style editor and click the corresponding button in the “Object label” field. 

mceclip22.png

The “Style label” dialog opens.

mceclip24.png

Click on mceclip25.png.

For “Select symbol”, select the entry

“MTEXT” and for “Text content” the property “Name”.

Then click on “Apply” to close the dialog with the settings.

mceclip27.png

Result

mceclip28.png

 

Read about further options for editing individual layers: