|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILocatorAttach2
Provides access to members that attach locators to datasets.
Use the ILocatorAttach2 interface to attach a locator to a dataset.
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
,
ILocatorAttach2.attachLocator(com.esri.arcgis.geodatabase.ILocator, com.esri.arcgis.geodatabase.ITable, String, String)
Method Summary | |
---|---|
void |
attachLocator(ILocator locator,
ITable attachToTable,
String inputFieldNames,
String outputFieldNames)
Attaches a locator to a table (simple function). |
Method Detail |
---|
void attachLocator(ILocator locator, ITable attachToTable, String inputFieldNames, String outputFieldNames) throws IOException, AutomationException
The AttachLocator method attaches a copy of a locator to a dataset. This is generally done after geocoding a table of addresses to a feature class. A copy of the locator that was used to geocode the table of addresses is then attached to the geocoded feature class so that the geocoded feature class can be rematched at a later time.
The Locator parameter is the locator of which a copy will be attached to the dataset specified by the attachToTable parameter. Generally, the attachToTable parameter is a reference to a geocoded feature class, and the Locator parameter is a reference to the locator that was used to create it.
The InputFieldNames parameter is a comma-delimited list of the fields in the dataset represented by the attachToTable parameter that map to the input fields used by the locator. The OutputFieldNames parameter is a comma-delimited list of the fields in the dataset represented by the attachToTable parameter that contain the match attributes generated by the locator. Use the IAddressGeocoding::MatchFields property to determine which match attributes the locator generates.
To retrieve an attached locator from a dataset, use the ILocatorManager::GetLocatorFromDataset method.
locator
- A reference to a com.esri.arcgis.geodatabase.ILocator (in)attachToTable
- A reference to a com.esri.arcgis.geodatabase.ITable (in)inputFieldNames
- The inputFieldNames (in)outputFieldNames
- The outputFieldNames (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.getLocatorFromDataset(com.esri.arcgis.geodatabase.IDataset)
,
ILocatorAttach2.attachLocator(com.esri.arcgis.geodatabase.ILocator, com.esri.arcgis.geodatabase.ITable, String, String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |