Location Referencing Dataset properties

サマリー

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".

プロパティ

プロパティ説明データ タイプ
lrsMetadata
(読み取り専用)

The metadata XML for the specified LRS.

String
eventBehaviorRules
(読み取り専用)

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

コードのサンプル

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