Location Referencing Dataset properties

Synthèse

The Describe function returns the following properties for a Location Referencing Dataset.

For a Location Referencing Dataset, the Describe dataType property returns a value of "DELocationReferencingDataset".

Propriétés

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

The metadata XML for the specified LRS.

String
eventBehaviorRules
(Lecture seule)

The event behavior rules as defined for all the events in the metadata (that is, for each event in each LRS Network in the LRS).

String

Exemple de code

Location Referencing Dataset properties example

The following stand-alone script displays dataset properties of an LRS:

Name: DescribeLRSDatasetProperties.py
Description: This script reports the properties of a linear referencing system (LRS)

# Import required modules
import arcpy

# Describe function on an LRS 
desc = arcpy.Describe("C:\\Data\\LRData\\LrsSchema.sde\\GPRefresh.DBO.LRS\\GPRefresh.DBO.LRS")

# LRS Describe properties
lrsXML = desc.lrsMetadata
eventBehaviors = desc.eventBehaviorRules