Résumé
The Describe function returns the following properties for parcel fabrics. Dataset Properties are also supported.
A parcel fabric dataset returns a dataType of "DEParcelDataset".
The Describe function also works against the parcel fabric layer.
A parcel fabric dataset is used to manage land records and parcel data networks.
Propriétés
Propriété | Explication | Type de données | ||||||
connectionsFeatureClass (Lecture seule) | The Describe object of the Connections feature class that is associated with the parcel fabric. | Describe | ||||||
parcelTypeNames (Lecture seule) | Returns a list of parcel type names associated with the parcel fabric. | List | ||||||
parcelTypes (Lecture seule) | Returns a list of parcel type objects that are associated with the parcel fabric dataset. Each parcel type object is a list with four elements:
| List | ||||||
pointsFeatureClass (Lecture seule) | The Describe object of the Points feature class that is associated with the parcel fabric. | Describe | ||||||
recordsFeatureClass (Lecture seule) | The Describe object of the Records feature class that is associated with the parcel fabric. | Describe | ||||||
topology (Lecture seule) | The Describe object of the topology that is associated with the parcel fabric. | Describe | ||||||
topologyEnabled (Lecture seule) | Returns whether or not the parcel topology is enabled. | Boolean | ||||||
version (Lecture seule) | Returns the schema version of the parcel fabric system tables.
| Integer |
Exemple de code
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:/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)
Vous avez un commentaire à formuler concernant cette rubrique ?