TIN properties

サマリー

The Describe function returns the following properties for TINs. The Dataset property group is also supported.

For a TIN, the Describe dataType property returns a value of "Tin".

プロパティ

プロパティ説明データ タイプ
fields
(読み取り専用)

A list containing Field objects for the TIN dataset.

Field
hasEdgeTagValues
(読み取り専用)

Indicates whether the TIN dataset has edge tag values.

Boolean
hasNodeTagValues
(読み取り専用)

Indicates whether the TIN dataset has node tag values.

Boolean
hasTriangleTagValues
(読み取り専用)

Indicates whether the TIN dataset has triangle tag values.

Boolean
isDelaunay
(読み取り専用)

Indicates whether the TIN dataset was constructed using Delaunay triangulation.

Boolean
ZFactor
(読み取り専用)

Multiplication factor applied to all z-values in a TIN to provide unit congruency between coordinate components.

Integer

コードのサンプル

TIN properties example

The following stand-alone script displays properties for a TIN. It also prints all the field names for the TIN.

import arcpy

# Create a Describe object
#
desc = arcpy.Describe("C:/data/antelope_island")

# Print TIN properties
print("%-21s %s" % ("HasEdgeTagValues:", desc.hasEdgeTagValues))
print("%-21s %s" % ("HasNodeTagValues:", desc.hasNodeTagValues))
print("%-21s %s" % ("HasTriangleTagValues:", desc.hasTriangleTagValues))
print("%-21s %s" % ("IsDelaunay:", desc.isDelaunay))
print("%-21s %s" % ("ZFactor:", desc.ZFactor))

# Print the field names in the TIN
print("\nFields in the TIN:")
for field in desc.fields:
    print("\t%s" % field.name)