|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAttachedLocator
Provides access to members that describe the process used to create the feature class.
To rematch a geocoded feature class programatically, use the IAttachedLocator interface to retrieve all of the information about the locator that is attached to the dataset. Then, use the IAdvancedGeocoding::RematchTable method with the information from the AttachedLocator to rematch the geocoded feature class.
Use the IAttachedLocator interface to retrieve information about the locator that is attached to a dataset.
ILocatorManager2
,
IAddressGeocoding.matchTable(com.esri.arcgis.geodatabase.ITable, String, String, com.esri.arcgis.geodatabase.IFeatureClass, String, com.esri.arcgis.system.IPropertySet, com.esri.arcgis.system.ITrackCancel)
,
AttachedLocator
,
ILocatorAttach2
,
IAttachedLocator
,
ILocatorManager.hasLocatorAttached(com.esri.arcgis.geodatabase.IDatasetName)
,
ILocatorManager
,
LocatorManager
,
ILocatorManager.getLocatorFromDataset(com.esri.arcgis.geodatabase.IDataset)
,
ILocatorAttach2.attachLocator(com.esri.arcgis.geodatabase.ILocator, com.esri.arcgis.geodatabase.ITable, String, String)
Method Summary | |
---|---|
String |
getInputFieldNamesList()
Names of fields in the input table used by the locator. |
String |
getInputJoinFieldName()
Name of the ObjectID field in the input table. |
ITable |
getInputTable()
Table that was located. |
ILocator |
getLocator()
Locator used to create the feature class. |
String |
getOutputFieldNamesList()
Names of result fields in the output feature class. |
String |
getOutputJoinFieldName()
Name of the JoinOID field in the output feature class. |
ITable |
getOutputTable()
Feature class that was created. |
Method Detail |
---|
ITable getInputTable() throws IOException, AutomationException
The InputTable property returns a reference to the table containing the address information that was used to create the geocoded feature class.
For geocoded feature classes created with ArcCatalog or ArcMap, this property always returns a reference to the geocoded feature class itself. When you geocode a table using ArcCatalog or ArcMap, the address fields are copied from the address table to the geocoded feature class, and are prefixed with "ARC_". By default, ArcCatalog and ArcMap use these fields, not the fields from the original address table, when rematching the geocoded feature class.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILocatorManager2
,
AttachedLocator
,
IAttachedLocator
,
ILocatorManager.hasLocatorAttached(com.esri.arcgis.geodatabase.IDatasetName)
,
ILocatorManager
,
LocatorManager
,
ILocatorManager.getLocatorFromDataset(com.esri.arcgis.geodatabase.IDataset)
String getInputFieldNamesList() throws IOException, AutomationException
The InputFieldNamesList property returns a comma-delimited string that contains the names of the fields in the table returned by the InputTable that are used as address fields by the locator. The fields in this string are in the same order as specified by the IAddressInputs::AddressFields property on the locator.
For geocoded feature classes created with ArcCatalog or ArcMap, these fields are always contained in the geocoded feature class itself. When you geocode a table using ArcCatalog or ArcMap, the address fields are copied from the address table to the geocoded feature class, and are prefixed with "ARC_". By default, ArcCatalog and ArcMap use these fields, not the fields from the original address table, when rematching the geocoded feature class.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILocatorManager2
,
AttachedLocator
,
IAttachedLocator
,
IAddressInputs
,
ILocatorManager.hasLocatorAttached(com.esri.arcgis.geodatabase.IDatasetName)
,
ILocatorManager
,
LocatorManager
,
ILocatorManager.getLocatorFromDataset(com.esri.arcgis.geodatabase.IDataset)
String getInputJoinFieldName() throws IOException, AutomationException
The InputJoinFieldName property returns the name of the field in the table returned by the InputTable property that is used to relate records in the address table to features in the output feature class, specified by the OutputTable property.
For geocoded feature classes created with ArcCatalog or ArcMap, the table returned by the InputTable property is always the geocoded feature class itself, and the InputJoinFieldName property returns the name of the ObjectID field. When you geocode a table using ArcCatalog or ArcMap, the address fields are copied from the address table to the geocoded feature class, and are prefixed with "ARC_". By default, ArcCatalog and ArcMap use these fields, not the fields from the original address table, when rematching the geocoded feature class.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILocatorManager2
,
AttachedLocator
,
IAttachedLocator
,
ILocatorManager.hasLocatorAttached(com.esri.arcgis.geodatabase.IDatasetName)
,
ILocatorManager
,
LocatorManager
,
ILocatorManager.getLocatorFromDataset(com.esri.arcgis.geodatabase.IDataset)
ITable getOutputTable() throws IOException, AutomationException
The OutputTable property returns a reference to the geocoded feature class.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILocatorManager2
,
AttachedLocator
,
IAttachedLocator
,
ILocatorManager.hasLocatorAttached(com.esri.arcgis.geodatabase.IDatasetName)
,
ILocatorManager
,
LocatorManager
,
ILocatorManager.getLocatorFromDataset(com.esri.arcgis.geodatabase.IDataset)
String getOutputFieldNamesList() throws IOException, AutomationException
The OutputFieldNamesList property returns a comma-delimited string that contains the names of the fields in the table returned by the OutputTable property that contain the match information. The fields in this string are in the same order as specified by the IAddressGeocoding::MatchFields property on the locator.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILocatorManager2
,
AttachedLocator
,
IAttachedLocator
,
IAddressGeocoding.getMatchFields()
,
ILocatorManager.hasLocatorAttached(com.esri.arcgis.geodatabase.IDatasetName)
,
ILocatorManager
,
LocatorManager
,
ILocatorManager.getLocatorFromDataset(com.esri.arcgis.geodatabase.IDataset)
String getOutputJoinFieldName() throws IOException, AutomationException
The OutputJoinFieldName property returns the name of the field in the geocoded feature class that is used to relate records in the address table, specified by the InputTable property, to features in the output feature class.
For geocoded feature classes created with ArcCatalog or ArcMap, the OutputJoinFieldName property always returns the name of the ObjectID field in the geocoded feature class, since the table returned by the InputTable and OutputTable properties is always the geocoded feature class for both. When you geocode a table using ArcCatalog or ArcMap, the address fields are copied from the address table to the geocoded feature class, and are prefixed with "ARC_". By default, ArcCatalog and ArcMap use these fields, not the fields from the original address table, when rematching the geocoded feature class.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILocatorManager2
,
AttachedLocator
,
IAttachedLocator
,
ILocatorManager.hasLocatorAttached(com.esri.arcgis.geodatabase.IDatasetName)
,
ILocatorManager
,
LocatorManager
,
ILocatorManager.getLocatorFromDataset(com.esri.arcgis.geodatabase.IDataset)
ILocator getLocator() throws IOException, AutomationException
The Locator property returns a copy of the locator, including runtime geocoding options, that was used to create the geocoded feature class.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILocatorManager2
,
AttachedLocator
,
IAttachedLocator
,
ILocatorManager.hasLocatorAttached(com.esri.arcgis.geodatabase.IDatasetName)
,
ILocatorManager
,
LocatorManager
,
ILocatorManager.getLocatorFromDataset(com.esri.arcgis.geodatabase.IDataset)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |