This document is archived and information here might be outdated. Recommended version. |
Provides access to members that manage the data used by the cadastral transformation.
Name | Description | |
---|---|---|
AddData | Add a featureClassID, adjustmentLevel pair. | |
Clear | Clear all the data. | |
GetData | Retrieve a featureClassName, adjustmentLevel pair. | |
TransDataCount | Retrieve the number of entries. |
Classes | Description |
---|---|
CadastralTransformationData | CadastralTransformationData CoClass holding the information passed to the CadastralTransformation object. |
Use ICadastralTransformationData to hold the feature classes to be adjusted together with their target adjustment levels.
The ICadastralTransformation interface on the CadastralTransformation coclass can be used to apply adjustments held within a cadastral fabric to feature classes. Any feature class that is to be adjusted must already have been associated with a cadastral fabric and been given an initial adjustment level using the CadastralAdjustmentLevel coclass.
The feature classes to be adjusted and their target adjustment levels are specified using a CadastralTransformationData object which must be cocreated, populated via the ICadastralTransformationData interface and associated with the CadastralTransformation object using the put_CadastralTransformationData method. The cadastral fabric holding the adjustments to be applied must also be associated with the CadastralTransformation object via the put_CadastralFabric method.
Once the CadastralTransformationData and CadastralFabric have been specified, the Transform method is used to trigger the adjustments. Each feature class specified is adjusted up to its target adjustment level (or the highest avialable adjustment level if this is lower) from the level already stored for that feature class in the adjustment level table. Once adjusted, the adjustment level table is ammended to reflect the new level. Any feature classes which are not associated with the given cadastral fabric will be ignored.
Feature classes and their corresponding target adjustment levels are added to the CadastralTransformationData object by calling the AddData method, specifying the feature class name via an IName interface, and the target adjustment level. Specifying a feature class which has already been added will replace the older entry with the newer one. The get_TransDataCount method can be used to retrieve the number of feature classes which have been added to the CadastralTransformationData object. The added data can be retrieved using the GetData method, using an index to specify the data pair to be retrieved. The Clear method can be used to remove all data from the CadastralTransformationData object.