From XMS Wiki
Jump to: navigation, search

The TIN menu has the following commands:

TIN Options

Brings up the TIN Options dialog. See the article TIN Options for more information.

Merging TINs

It is possible to merge a selected TIN with another TIN using the Merge command in the TIN menu. This is particularly useful if wanting to merge a TIN generated from one program with a TIN derived from a background elevation source such as a DEM.

For example, a project may have surveyed data with a lot of detail for a part of the project (such as a roadway profile) and it is desired to combine that with a TIN derived from a DEM of the surrounding area.

  • Before merging

  • Merged

  • The following dialog is used to select existing TINs for merging. The merged TINs can be completed merged (all vertices combined and retriangulated), or specified to have vertices in overlapping regions deleted. The old TINs can be kept or deleted.

    WMS Merge TINs dialog

    The following rules are adhered to when merging a list of TINs:

    • The TIN at the bottom of the list of TINs to merge has the highest priority, meaning that all of its triangle edges will be preserved while vertices that overlap from TINs higher in the list will be deleted.
    • If a region being deleted from one TIN overlaps any stream vertices on the TIN being deleted, the stream will be split. The stream will be cutoff wherever it "enters" the TIN selected for merging and begin again upstream where it "exits."
    • Drainage data will be lost and not transferred as part of the merged TIN.


    The Fill command triangulates a selected polygon and merges it with the original TIN. Vertices should be distributed according to the density of TIN vertices desired on the interior of the TIN. The primary purpose is to fill in an area where data is missing on a TIN, or where to retriangulate to a higher density.

    It's necessary to have some kind of background elevation behind the polygon (e.g. a DEM or another TIN), or the resulting vertices within the polygon will all have zero elevations.


    Maximum Filter Angle dialog

    Redundant and overlapping data may exist in a scattered XYZ datasets. WMS offers the ability to filter the data and remove unnecessary data points in relatively flat areas in the Filter command from the TIN menu. This brings up the Maximum Filter Angle dialog where an angle is specified. Each data point is checked to see if it is in a flat region by dotting the normals of the surrounding triangles.

    TIN FilterAngle.png

    If the normals are all within the specified angle, the region is considered flat and the point is deleted.

    This type of processing is very important when trying to use LIDAR data. Typical LIDAR collection results in resolutions of 1–3 meters so that good detail of flood plains and channel banks is achieved. However this leaves massive amounts of points in relatively flat areas where the increased resolution is not required (it would be like asking a surveyor to get points every 5 feet just so he doesn't miss anything, when hopefully he can be much smarter). The filtering eliminates the points where they are not needed and retains the important points. (The reference to Creighton Omer's paper is about a study using this technique on LIDAR data for hydraulic modeling that concludes a filter angle of 4-8 degrees can be used that will result in up to 85% data reduction without impacting hydraulic modeling results.)

    Trimming TINs

    Trimming allows eliminating all vertices that are outside of a selected feature polygon. First create the feature polygon in the Map module, then select the polygon to use prior to selecting the Trim command from the TIN menu (Terrain Data module).

    Correcting Split Flow

    Split flow vertices can usually be corrected by finding a channel edge leading into the split flow vertex, and swapping it. This edge swapping can be done automatically using the Correct Split Flow command from the TIN menu of the Drainage module. If the edge cannot be swapped without creating overlapping triangles the split flow vertex will not be eliminated and it's necessary to add new vertices, adjust elevations, swap multiple edges or some other form of manual editing technique.


    The TIN menu offers four options for the using data:

    • Calculator – Brings up the Data Calculator. See Datasets for more information.
    • Smooth Dataset – See Smooth Dataset for more information.
    • Map Elevation – See the Mapping Elevations section of the Datasets article.
    • Film Loop – See Setting up Film Loops for more information.


    The Tin menu has following options for vertices:

    • Transform – Used to move TIN vertices according to a specified transformation.
    • Lock/Unlock – Selected vertices can be locked to prevent them from being dragged or edited.
    • Delete Duplication – Removes vertices that duplicate the same xy location as another vertex.
    • Smooth Pits – Adjusts the elevations of pits in order to remove them.

    See Vertices for more information.


    The TIN menu gives the following options for triangles:

    • Triangulate
    • Insert Breakline
    • Optimize Triangulation
    • Check Long/Thin Triangles
    • Remove Flat Triangles

    See the article Triangulation for more information.

    TIN Interpolation

    Interpolate TIN To TIN 
    The Interpolate to TIN command of the TIN menu allows interpolating the elevations of the active TIN to one or more TINs. If more than one other TIN exists, a dialog will appear that allows selecting the TIN(s) to interpolate to. No changes occur in the elevations of the active TIN.
    Interpolate TIN To 2D Grid 
    The Interpolate to 2D Grid command of the TIN menu interpolates the elevations of the active TIN to the 2D grid. Only available if both a TIN and a 2D grid exist.
    Interpolate TIN to Feature Objects 
    This command will interpolate the elevations to feature objects in the active coverage inside the Map module.


    The following conversion options are available for TINs:

    • TIN Contours → Feature
    • TIN Boundary → Feature
    • TIN → Scatter Points
    • TIN → DEM

    See Convert TINs for more information.

    Related Topics