Geometric Network properties

Cette documentation ArcGIS 3.0 a été archivée et n’est plus mise à jour. Certains contenus et liens peuvent être obsolètes. Consultez la dernière version de la documentation.

Synthèse

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

For a geometric network, the Describe dataType property returns a value of "GeometricNetwork".

Propriétés

PropriétéExplicationType de données
featureClassNames
(Lecture seule)

A list of the feature classes participating in the geometric network.

String
networkType
(Lecture seule)

The type of associate logical network.

  • StreetNetwork
  • UtilityNetwork
String
orphanJunctionFeatureClassName
(Lecture seule)

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

String

Exemple de code

Geometric network properties example

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)