Working with Layers

Description

Import a feature survey to become familiar with layers.

You will learn how to:
  • Create and edit a layer
  • Place layers in layer groups
  • Edit a lookup table
  • Place imported objects on layers
  • Make a layer active
  • Use a layer to control the appearance of objects
  • Use attributes to control symbol sizes
  • Filter layers
  • Control the visibility of layers
  • Lock a Layer
Duration

30 minutes

Requirements

Leica Survey Module

Procedure
Open the Project
  1. Click Application button to access the File menu.
  2. Click Open, then navigate to Documents\Tutorial Data and open the project Layers.neo.
  3. On the ribbon Home tab, in the Tools group, select the Layers checkbox. The Layers tool window displays and a list of the layers in the project are shown.

    Layers tool window

Create a New Layer

You will create a layer for trees and define their appearance in the model view.

  1. On the ribbon Home tab, in the Layer group, click New Layer New to display the Layer dialog.
  2. In the Name box, type Tree.

    General tab

  3. In the Intended Use list, select Points, because trees are primarily point objects.
  4. Click the Display tab and in the Type list, select Point.
  5. In the Appearance category:

    • Click in the Colour box, then click Down arrow to display the colour picker. Select the colour Lime (00FF00), fourth colour on the top row.
    • In the Plan Symbol box, click Browse to display the Symbol dialog. Scroll down and select the tree symbol (S076) shown in the dialog below.

    Select a symbol

  6. Click OK to close the Symbol dialog.

    Display tab

  7. In the Appearance category, click the Units box, then click Down arrow and select Ground, to use ground measurements to define the symbols size.

    You will now define two attributes that can be added to points placed on this layer.

  8. Click the Attribute Definitions tab.

    Define Attributes

  9. Click New Attribute Definition, then select Integer.
  10. In the Name box, type Spread.
  11. In the Intended Use list, select Points, because the attribute will be valid for points only, then click OK.

    Define Attributes

  12. Click New Attribute Definition, then select Text.
  13. In the Name box, type Species.
  14. In the Intended Use list, select Points then click OK.

    Attribute Definitions

  15. Click OK to accept the layer definition.

Create a Layer Group

Layer groups are used to group similar layers. You will now create a layer group and add the Tree layer to it.

  1. In the Layers tool window, click Manage Layer Group, then select New to display the Group dialog.
  2. In the Name box, type Vegetation.

    Insert a layer group

  3. Click the Layers tab and in the Included column, select the checkbox for Hedge and Tree to add these layers to the group.

    Select layers

    A layer can belong to multiple groups.
  4. Click OK.

Edit a Layer Lookup Table

You will edit a layer lookup table to map imported objects assigned the code TR to the Tree layer you created earlier.

  1. On the ribbon Manage tab, in the Configuration group, click Manage Lookup Tables Lookup Tables.

    Manage Lookup table

  2. Ensure Layer is selected in the Type list. Select Codes to Layers from the list, and click Edit Lookup Table.
  3. Click New item to add a new row to the list. In the Local column, click in the new row, then click Down arrow and select Tree from the list. In the Foreign column type TR.

    Edit a layer lookup table

  4. Click OK, then click Close in the Manage Lookup Tables dialog.

    When this lookup table is selected during import, all objects with the code TR will be mapped to the Tree layer.

Import Data to Layers

You will now import feature survey data. The codes assigned to objects will be used to determine which layers they are placed on.

  1. On the ribbon Home tab, in the Data group, click Down arrow below Import then click HeXML.
  2. In the Open dialog, click Options.
  3. In the Lookup Tables category, click in the Layer box, then click Down arrow and select Codes to Layers from the list.

    Import Options

  4. Click OK.
  5. In the Open dialog, navigate to Documents\Tutorial Data, select the file LayerData.xml, then click Open.
  6. The field data should be imported successfully, and the lookup table has been used to map the objects to the desired layer. Close the import report if it displays.

Clean up Data

If an object does not have a code it will be placed on the active layer unless a lookup table maps the blank code to a layer. The lookup used on import, maps objects with blank codes to the Default layer. You will select all objects on the Default layer and change the layer they are placed on.

  1. On the ribbon Home tab, in the Tools group, select the Attributes checkbox. Dock the Attributes tool window next to the Layers tool window.
  2. In the Layers tool window, select the Default layer by clicking the Default row in the Select column.

    Many of the commands in the Layers tool window apply to selected layers.
  3. In the Layers tool window, click Select then click All. You have selected all objects on the selected layer.
  4. The point selected was not given a code in the field. The Attributes tool window is displaying the selected point. To change the layer of the point, in the General category, click the Layer box and select Existing Surface from the list.

    Attribute tool

  5. To confirm the Default layer is now empty, in the Layers tool window, click in the Filter box and select <Unused Layers>. The Default layer is listed so you can safely delete the layer. Select the Default layer, click Manage Layers, then click Delete.

    Delete a layer

    When you delete a layer all objects on the layer are deleted.

    The layer Fence has been created automatically because the code FCE was found in the imported data and mapped to the layer Fence using the lookup table. Layers created on import are based on the default settings when a template layer is not defined.

    You can set a template layer in the Manage Layer Manage Layers menu in the Layers tool.

    You will now edit the line style for the Fence layer. To easily view the line style change in the model view, you will turn off all other layers.

  6. In the Layers tool window, click in the Filter box and select <All Layers>.
  7. Select the Fence layer, then click Select and click Lines.

    Select Fence

    The line on layer Fence has been selected in the model view.

    Selected Fence

  8. On the ribbon Home tab, in the Layer group, click Isolate layer Isolate to isolate the selected Fence layer. This has turned off all layers other than those whose objects are selected in the model view.
  9. In the Layers tool window, select the Fence layer.
  10. Click Manage Layers and click Edit.
  11. In the Layer dialog, click the Display tab then select Line from the Type list.
  12. Click in the Line Style box, then click Browse. In the Line Style dialog, select the Fence line style (L053), then click OK.

    Select a linestyle
  13. Click OK to accept the changes. As the lines line style is configured to 'By Layer', you will see the line style updated in the model view.

    When there are a large number of layers you can filter by layer groups to help you easily find a layer. Filtering can also alter the visibility of layers in the model view.

  14. Click Manage Layers, and ensure that Auto Isolate is selected.
  15. In the Layers tool window, click the Filter box and select the layer group Vegetation from the list.

    Only layers in the selected layer group are displayed in the list of layers. Auto Isolate has altered the visibility of the layers. You can see that objects on the Tree and Hedge layer are displayed in the model view and the Fence layer object is not displayed.

    You can clear the Auto Isolate option if you do not want filtering to alter the visibility settings for the layers.
  16. In the Layers tool window, in the Visible column, click Layer off for the Hedge layer to hide the hedge objects.
  17. Select any tree from the model view.

    Select tree

    In the Attributes tool window you can view the symbols current width and length in the Appearance category.

    When the data was imported the tree symbol width and length were set based on those specified in the Tree layer. You can view the tree's actual spread in the Attributes category. This value was entered in the field. Now you will edit the layer definition to use the Spread attribute value to size the tree symbol.

  18. On the ribbon Home tab, in the Layer group, click Adopt Layer Adopt to adopt the selected layer as the active layer, then click Edit Layer Edit.
  19. In the Layer dialog, click the Display tab. Select Point from the Type list.
  20. In the Dimension Attribute category, click in the Width Attribute box, then click Down arrow and select the attribute Spread from the list.
  21. Click in the Length Attribute box, then click Down arrow and select the attribute Spread from the list. Click OK.

    Layer display

    The trees in the model view are now drawn using their attribute value. You would normally set this up prior to import so that the tree symbols are sized on import.

    model view

Add an Attribute

You can add other attributes for the tree object but only if the attribute is defined in the layer attribute definition. Earlier we created the attribute Species in the Tree layer. You will now add this attribute to the selected tree.

  1. In the Attributes tool window, click Insert an attribute.
  2. In the Create Attribute dialog, select Species (Text) from the Attribute list.
  3. In the Value box, type Gum, then click OK.

    Insert an Attribute

    The attribute is added to the selected tree and can be viewed in the Attributes tool window.

Work with Multiple Layers

Some actions can be performed on multiple layers.

  1. In the Layers tool window, click in the Filter box and select <All Layers> to display all of the layers in the project.

    You will now select multiple layers using the Ctrl and Shift keys to add or remove a layer from the selection.

  2. In the Layer tool window, select the Back of Kerb layer. Press and hold the Shift key and select the Car Park layer, then release the Shift key. All layers between the first and last selection are selected.
  3. Press and hold the Ctrl key and in the in the Layer select column, click the Footpath, Toe of Bank and Top of Bank layers, then release the Ctrl key.
  4. The Ctrl key toggles the selection of the layer. Press and hold the Ctrl key and click the Footpath and Back of Kerb layers. Release the Ctrl key. The two layers were removed from the selection since they were already selected.

    Multiple Selection

  5. In the Visible column, click Layer off for the Building Pad layer. You can see all selected layers have been turned off.

    Only objects on visible layers can be selected in the model view.

Annotate Polygons

When objects are created they are placed on the active layer. You will create text on the Building Pad layer to annotate the building pads with their area.

  1. To set the active layer, in the Layers tool window, in the Active column, select the checkbox for the Building Pad layer. The layers visibility is automatically turned on.
  2. On the ribbon Home tab, in the Select group, click Menu drop arrow alongside Select All. Click Polygons.

    Selected polygons

  3. On the ribbon Home tab, in the Tools group, select the Create checkbox.
  4. Dock the Create tool window with the Layers tool window.
  5. In the Create tool window, select Text from the list of objects.
  6. Select Area from the list of text types.

    Create

  7. Click OK to create linked text objects that display the area of the selected building pads.
  8. Select one of the text objects and view the properties in the Attributes tool window. You can see that the text has been placed on the Building Pad layer which is the active layer.

    View text layer

Lock a Layer

When a layer is locked you can select objects on the layer and create new objects on the layer but you cannot edit any objects on the layer.

  1. In the Layers tool window, in the Lock column, click Lock Layer for the Building Pad layer.

    Lock a layer

  2. On the ribbon Home tab, in the Edit group, you will notice Delete is disabled preventing you from deleting the selected text object.

Exclude a Layer from a Plot

There may be a layer you do not want to include in your plot.

  1. In the Layers tool window, in the Plot column, click Plot Layer for the Existing Surface layer.

Display All Layers
  1. In the Layers tool window, click Lock Layer to select all listed layers. Click Visable or lock, then select On to display all layers in the model view.

Summary

You have completed the tutorial and learnt how to create and manage layers, use a lookup table to map data to specific layers, and use layers to control how objects appear in the model view.

If you have any questions please contact: support@listech.com.

Related topics

Top of page TOP OF PAGE