Monday, April 14, 2008

Editing GeoMedia Terrain Models

The documentation that comes with GeoMedia Terrain 6.0 does not provide clear details on practical usage of the terrain model editing commands. While writing a GeoMedia Terrain training course guide, I figure out that displaying the terrain model vertices and triangle edges goes a long way in helping users understand how to use the editing commands. By the way, this is not described in the delivered documentation.

Displaying Terrain Model Triangle Edges and Vertices
  1. In the GeoMedia menus, select Legend > Add Legend Entries.

    The Add Legend Entries dialog box appears.

  2. Expand the Terrain Warehouse connection node that contains your TIN terrain model.
  3. Check the {YourModelName}_TriangleVertices feature on.
  4. Check the {YourModelName}_TriangleEdges feature on.

    The Add Legend Entries dialog box should like as shown below.
  5. Click OK.

    The triangles and edges are displayed in the active map window.

Editing Terrain Model Vertices
Now that you can see the triangle vertices and edges, editing the model is so much easier.
  1. In the GeoMedia menus, select Terrain > Edit > Edit Model Vertices.

    The Edit Vertices dockable control is displayed.
Insert Vertices
  1. In the Action drop down list, choose Insert.

    You are prompted to "Select vertex to insert" in the GeoMedia status bar.

  2. In the Operate on drop down list, choose Individual vertices.
  3. In the Z field, enter an elevation value e.g. 5000.
  4. In the map window, click a new vertex point.

    A new vertex is created in the map window. You can see the model triangle edges and points dynamically adjust themselves to accomodate the new vertex.

  5. You can click to insert more vertices.
  6. If you made a mistake, you can do a mouse right click in the map window.

    The Edit Model Vertices context menu pops up.

  7. Choose Undo to remove the last vertex.
  8. After you have inserted all the vertices that you want, do a mouse right click in the map window.
  9. Choose Update Model to save the new vertices permanently into the terrain model.
  10. Right click and choose Cancel to terminate the command.
Move Individual Vertices
  1. In the Action drop down list, select Move.

    The cursor becomes a cross hair cursor. You are prompted to "Select vertex to move".

  2. In the map window, click on a vertex.

    The vertex is highlighted and you are prompted to "Select location to move".

  3. Click on the new location in the map window.

    The selected vertex is moved to the new location.

  4. In the map window, do a mouse right click and select Update Model.

    The changes are saved permanently.
Delete Individual Vertices
  1. In the Action drop down list, select Delete.

    The cursor becomes a cross hair. You are prompted to "Select vertex to delete".

  2. In the map window, click on a vertex.

    The selected vertex is removed and you are prompted to "Select another vertex to delete".

  3. In the map window, right click and choose Update Model.

    The changes are saved permanently.
Move Vertices in a Selection Set
  1. Click on the Select Tool icon.
  2. Then click on two or more vertices in the map window. Note that if you want to add to the selection set, then you need to press down the CTRL key on the keyboard while clicking.
  3. After you are done with selection, in the Action drop down list, select Move.
  4. In the Operate on drop down list, choose Select set.

    You are prompted to "Input X,Y values to move the vertices.

  5. Then key in the relative X and Y offsets in the X and Y fields, e.g. X=500, Y=500.

    You are prompted to Click Process Move to move the vertices.

  6. Do a mouse right click in the map window. In the context menu, choose Process Move.

    A message box appears showing the number of vertices moved and the number failed.

  7. Click OK.

    The vertices in the selection set are moved by the relative X and Y offsets.

  8. In the map window, right click and choose Update Model to save the changes permanently.
Editing Terrain Model Z Elevation Values
You need to activate the Edit Z dockable control toolbar to perform editing on the Z-elevations of the terrain model. Select Terrain > Edit > Edit Z in the GeoMedia menus.

The Edit Z dockable control appears.


Edit Individual Vertex's Z Value
  1. In the Edit Z control's Applies to drop down list, select Individual vertices.

    You are prompted to "Select vertices to edit".

  2. In the control's Operator field, choose None.
  3. In the control's New Z field, enter an elevation e.g. 6000.
  4. Click on an existing vertex in the map window.

    You are prompted to "Select another vertex or choose 'Edit Vertices' to perform the edit.

  5. Click on additional vertices.
  6. When you are done, right click in the map window and choose Edit Vertices to perform the edits.

    The message box appears showing the number of vertices edited or failed.

  7. Click OK.

    All the selected vertices' elevation values are updated.

Edit Z of Vertices with the Same Z
  1. In the control's Applies to drop down list, select Vertices with same Z.
  2. In the control's Original Z field, enter the Z elevation of the vertices to change e.g. 6000.
  3. In the control's Operator drop down list, select an operator e.g. +.
  4. In the control's Operand field, enter the delta value e.g. 500.

    The control's New Z field shows the resultant Z value,
    e.g. New Z= {Original Z=(6000)}{Operator=(+)}{Operand=(500)}=6500.

  5. In the map window, right click and choose Edit Vertices.

    After processing, the message box showing the number of vertices edited or failed appears.

  6. Click OK.
  7. In the map window, right click and choose Update Model to save the changes permanently.




No comments: