|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRouteLocatorOperations
Provides access to operations on the route locator.
The IRouteLocatorOperations interface provides methods and properties to create an event table, ITable, in several ways:
See IRouteLocatorOperations2.
Method Summary | |
---|---|
IFeatureClass |
getInputFeatureClass()
The input features to locate along the routes. |
ISelectionSet |
getInputFeatureSelection()
A selection set of features to locate. |
IRouteLocator |
getRouteLocator()
The route locator. |
ITable |
locateLineFeatures(double clusterTolerance,
IRouteEventProperties outputProperties,
boolean keepAllFields,
IDatasetName outputName,
String configKeyword,
ITrackCancel trackCancel)
Locate line features along routes and write the result in an object class. |
ITable |
locatePointEvents(double clusterTolerance,
IRouteEventProperties outputProperties,
boolean keepAllFields,
IDatasetName outputName,
String configKeyword,
ITrackCancel trackCancel)
Locate point events along target routes and write the result in an object class. |
ITable |
locatePointFeatures(double searchRadius,
boolean searchMultipleLocation,
IRouteEventProperties outputProperties,
boolean keepAllFields,
IDatasetName outputName,
String configKeyword,
ITrackCancel trackCancel)
Locate point features along a routes and write the result in an object class. |
ITable |
locatePolygonFeatures(IRouteEventProperties outputProperties,
boolean keepAllFields,
boolean keepZeroLengthEvents,
IDatasetName outputName,
String configKeyword,
ITrackCancel trackCancel)
Locate polygon features along routes and write the result in an object class. |
void |
setInputFeatureClassByRef(IFeatureClass inputFeatureClass)
The input features to locate along the routes. |
void |
setInputFeatureSelectionByRef(ISelectionSet selection)
A selection set of features to locate. |
void |
setRouteLocatorByRef(IRouteLocator routeLocator)
The route locator. |
Method Detail |
---|
void setRouteLocatorByRef(IRouteLocator routeLocator) throws IOException, AutomationException
routeLocator
- A reference to a com.esri.arcgis.location.IRouteLocator (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRouteLocator getRouteLocator() throws IOException, AutomationException
Use the IRouteLocatorOperations2::RouteFeatureClass (or RouteFeatureSelection) and IRouteLocatorOperations2::RouteIDFieldName properties instead.
The RouteLocator property sets the IRouteLocator, which is the route locator the point, line or polygon features are to be located against.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setInputFeatureClassByRef(IFeatureClass inputFeatureClass) throws IOException, AutomationException
inputFeatureClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFeatureClass getInputFeatureClass() throws IOException, AutomationException
The InputFeatureClass property can be an IFeatureClass or an IRouteEventSource depending on which methods is used. For LocatePointEvents, this property must be an IRouteEventSource.
For LocatePolygonFeatures, the geometry type of the IFeatureClass must be Polygon. For LocateLineFeatures, the geometry type must be Polyline, and for LocatePointFeatures and LocatePointEvents, the geometry type must be Point.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setInputFeatureSelectionByRef(ISelectionSet selection) throws IOException, AutomationException
selection
- A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISelectionSet getInputFeatureSelection() throws IOException, AutomationException
If you use this property, you do not need to specify the InputFeatureClass property as it is implied by the selection.
If not all of the features are to be transformed or located, the InputFeatureSelection property can be used to set an ISelectionSet. If both the InputFeatureSelection and InputFeatureClass are set, the InputFeatureSelection will be used.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITable locatePointFeatures(double searchRadius, boolean searchMultipleLocation, IRouteEventProperties outputProperties, boolean keepAllFields, IDatasetName outputName, String configKeyword, ITrackCancel trackCancel) throws IOException, AutomationException
Creates a table that can be used to display point events on a map.
For the searchMultipleLocation parameter, if the point falls on more than one route for the given searchRadius, you can have the option to create multiple event records that correspond to each route in the searchRadius vicinity.
The keepAllFields Boolean allows you to include or disinclude the attributes of the point feature class. If this is set to False, the otuput event table will only contain the route event properties (IRouteEventProperties).
searchRadius
- The searchRadius (in)searchMultipleLocation
- The searchMultipleLocation (in)outputProperties
- A reference to a com.esri.arcgis.geodatabase.IRouteEventProperties (in)keepAllFields
- The keepAllFields (in)outputName
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)configKeyword
- The configKeyword (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITable locateLineFeatures(double clusterTolerance, IRouteEventProperties outputProperties, boolean keepAllFields, IDatasetName outputName, String configKeyword, ITrackCancel trackCancel) throws IOException, AutomationException
Creates a table that can be used to display line events on a map.
The keepAllFields Boolean allows you to include or disinclude the attributes of the line event source. If this is set to False, the otuput event table will only contain the route event properties (IRouteEventProperties).
clusterTolerance
- The clusterTolerance (in)outputProperties
- A reference to a com.esri.arcgis.geodatabase.IRouteEventProperties (in)keepAllFields
- The keepAllFields (in)outputName
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)configKeyword
- The configKeyword (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITable locatePointEvents(double clusterTolerance, IRouteEventProperties outputProperties, boolean keepAllFields, IDatasetName outputName, String configKeyword, ITrackCancel trackCancel) throws IOException, AutomationException
Creates a table that can be used to display point events on a map.
clusterTolerance
- The clusterTolerance (in)outputProperties
- A reference to a com.esri.arcgis.geodatabase.IRouteEventProperties (in)keepAllFields
- The keepAllFields (in)outputName
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)configKeyword
- The configKeyword (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITable locatePolygonFeatures(IRouteEventProperties outputProperties, boolean keepAllFields, boolean keepZeroLengthEvents, IDatasetName outputName, String configKeyword, ITrackCancel trackCancel) throws IOException, AutomationException
Creates a table that can be used to display line events on a map.
The keepAllFields Boolean allows you to include or disinclude the attributes of the polygon feature class. If this is set to False, the otuput event table will only contain the route event properties (IRouteEventProperties).
The keepZeroLengthEvents Boolean parameter allows you to keep or not keep the zero length line events in the output event table. The zero length line events result from a case where the geometric intersection of the route (line) and the polygon is a point. An example is where only a corner of the polygon touches the route.
outputProperties
- A reference to a com.esri.arcgis.geodatabase.IRouteEventProperties (in)keepAllFields
- The keepAllFields (in)keepZeroLengthEvents
- The keepZeroLengthEvents (in)outputName
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)configKeyword
- The configKeyword (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |