ジオメトリック ネットワーク プロパティ

サマリ

Describe 関数はジオメトリック ネットワークに対して次のプロパティを返します。データセット プロパティもサポートされます。

ジオメトリック ネットワークが返す dataTypeGeometricNetwork です。

プロパティ

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

A Python List of the feature classes participating in the Geometric Network

String
networkType
(読み取り専用)

The type of associate logical network

  • StreetNetwork
  • UtilityNetwork
String
orphanJunctionFeatureClassName
(読み取り専用)

The name of the feature class that contains the Orphan Junction features

String

コードのサンプル

Geometric Network properties example (stand-alone script)

The following stand-alone script displays properties for a geometric network.

import arcpy

# Create a Describe object from the geometric network.
#
desc = arcpy.Describe("C:/data/wellingham.gdb/water/water_Net")

# Print some geometric network properties
#
print "NetworkType:                    " + desc.networkType
print "OrphanJunctionFeatureClassName: " + \
    desc.orphanJunctionFeatureClassName
print "Feature Class Names:"
for fcname in desc.featureClassNames:
    print "  " + fcname


7/10/2012