サマリー
The Describe function returns the following properties for parcel fabrics. The Dataset property group is also supported.
For a parcel fabric, the Describe dataType property returns a value of "DEParcelDataset".
The Describe function also works against the parcel fabric layer.
A parcel fabric is used to manage land records and parcel data networks.
プロパティ
プロパティ | 説明 | データ タイプ |
connectionsFeatureClass (読み取り専用) | The Describe object of the Connections feature class that is associated with the parcel fabric. | Describe |
parcelTypeNames (読み取り専用) | Returns a list of parcel type names associated with the parcel fabric. | List |
parcelTypes (読み取り専用) | Returns a list of parcel type objects that are associated with the parcel fabric. Each parcel type object is a list with four elements:
| List |
pointsFeatureClass (読み取り専用) | The Describe object of the Points feature class that is associated with the parcel fabric. | Describe |
recordsFeatureClass (読み取り専用) | The Describe object of the Records feature class that is associated with the parcel fabric. | Describe |
topology (読み取り専用) | The Describe object of the topology that is associated with the parcel fabric. | Describe |
topologyEnabled (読み取り専用) | Returns whether the parcel topology is enabled. | Boolean |
AdjustmentPointsFeatureClass (読み取り専用) | The Describe object of the AdjustmentPoints feature class that is associated with the parcel fabric. | Describe |
AdjustmentLinesFeatureClass (読み取り専用) | The Describe object of the AdjustmentLines feature class that is associated with the parcel fabric. | Describe |
AdjustmentVectorsFeatureClass (読み取り専用) | The Describe object of the AdjustmentVectors feature class that is associated with the parcel fabric. | Describe |
version (読み取り専用) | Returns the schema version of the parcel fabric system tables. | Integer |
コードのサンプル
The following stand-alone script prints the names of parcel types and other feature classes associated with the parcel fabric. It also prints the name of the topology associated with the parcel fabric.
import arcpy
# Create a Describe object from the parcel fabric dataset
desc = arcpy.Describe("C:/Data/Parcels.gdb/County/ParcelFabric")
# Print parcel type names associated with the parcel fabric
for p in desc.parcelTypeNames:
print ("Parcel type: " + p)
# Print parcel type lists
for p in desc.parcelTypes:
print(p)
# Print the name for the Lots parcel type
for i in desc.parcelTypes:
if i[0] == 'Lot':
print(i[0])
# Print topology name associated with the parcel fabric
print("topology: " + desc.topology.name)
# Print the name of the parcel fabric records feature class
print("Records: " + desc.recordsFeatureClass.name")
# Print the names of the adjustment feature classes
print("adjustment points: " + desc.AdjustmentPointsFeatureClass.name)
print("adjustment lines: " + desc.AdjustmentLinesFeatureClass.name)
print("adjustment vectors: " + desc.AdjustmentVectorsFeatureClass.name)