Maptitude GISDK Help

CreateTriangulationAreaDB()

Summary

Creates an area geographic file from the facets in a TIN, with slope and aspect values.

 

Syntax

CreateTriangulationAreaDB(tin t, string db_name, array options)

 

Argument Contents
t A TIN
db_name The name of the output geographic file

 

Option Type Contents
Layer Name String The name for the new layer
Label String The label for the new layer

 

Example

// Open Elevdata.cdf in the Tutorial folder

layer_name = GetLayer()

elevdata_tin = CreateTriangulation(layer_name + "|", {{"Field","Elevation"}})

folder = RunMacro("G30 Tutorial Folder")

CreateTriangulationAreaDB(elevdata_tin, folder + "triangulation.dbd",

{{"Layer Name","TIN Facets"}})

 

Error Codes

Error Type Meaning
Error The TIN compound variable is null, or the options are not of the required type

 

See Also

Function Summary
CreateContourDB() Creates a line or area geographic file of the contours derived from a TIN
CreateHullDB() Creates an area or a line DBD database based on a TIN
CreateTriangulation() Creates a Triangulated Irregular Network (TIN)
CreateConvexHullDB() Creates an area geographic file that encloses all of the points in a TIN

 

 

©2025 Caliper Corporation www.caliper.com