概要
The Describe function returns the following properties for parcel fabrics. Dataset Properties are also supported.
A parcel fabric dataset returns a dataType of "ParcelDataset".
A parcel fabric dataset is used to manage land records and parcel data networks.
プロパティ
プロパティ | 説明 | データ タイプ | ||||
catalogPath (読み取り専用) | Returns the path of the parcel fabric dataset. | String | ||||
version (読み取り専用) | Returns the schema version of the parcel fabric system tables.
| Integer | ||||
parcelTypes (読み取り専用) | Returns a list of parcel type objects that are associated with the parcel fabric dataset. Each parcel type object is a tuple with five elements:
| tuple | ||||
parcelTypeNames (読み取り専用) | Returns a list of parcel type names associated with the parcel fabric. | String | ||||
topology (読み取り専用) | Returns the topology object that is associated with the parcel fabric. | Object | ||||
recordsFeatureClass (読み取り専用) | Returns the Records feature class object that is associated with the parcel fabric. | Object | ||||
pointsFeatureClass (読み取り専用) | Returns the Points feature class object that is associated with the parcel fabric. | Object | ||||
connectionsFeatureClass (読み取り専用) | Returns the Connections feature class object that is associated with the parcel fabric. | Object | ||||
extent (読み取り専用) | Returns the Extent object. | Extent |
コードのサンプル
The following stand-alone script prints the parcel type names associated with the parcel fabric and accesses parcel type elements. 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:/ArcGISProData/ParcelFabricPro.gdb/CountySmall/ParcelFabricSmall")
#Print parcel type names associated with the parcel fabric
for p in desc.parcelTypeNames:
print ("Parcel type: " + p)
#Print parcel type tuples
for p in desc.parcelTypes:
print(p)
#Print the boundary keyword for the Lots parcel type
for i in desc.parcelTypes:
if i[0] == 'Lot':
print(i[3])
#print topology name associated with the parcel fabric
print("topology: " + desc.topology.name)