|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.location.RouteLocatorOperations
public class RouteLocatorOperations
Basic route locator operations object.
| Constructor Summary | |
|---|---|
RouteLocatorOperations()
Constructs a RouteLocatorOperations using ArcGIS Engine. |
|
RouteLocatorOperations(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RouteLocatorOperations theRouteLocatorOperations = (RouteLocatorOperations) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IFeatureClass |
getInputFeatureClass()
The input features to locate along the routes. |
ISelectionSet |
getInputFeatureSelection()
A selection set of features to locate. |
IFeatureClass |
getRouteFeatureClass()
The route feature class (Polyline with M feature class). |
ISelectionSet |
getRouteFeatureSelection()
A selection set of route features. |
String |
getRouteIDFieldName()
The route feature identifier. |
IRouteLocator |
getRouteLocator()
The route locator. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
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 |
setRouteFeatureClassByRef(IFeatureClass routeFeatureClass)
The route feature class (Polyline with M feature class). |
void |
setRouteFeatureSelectionByRef(ISelectionSet selection)
A selection set of route features. |
void |
setRouteIDFieldName(String routeIDFieldName)
The route feature identifier. |
void |
setRouteLocatorByRef(IRouteLocator routeLocator)
The route locator. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public RouteLocatorOperations()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RouteLocatorOperations(Object obj)
throws IOException
RouteLocatorOperations theRouteLocatorOperations = (RouteLocatorOperations) obj;
obj to RouteLocatorOperations.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void setRouteLocatorByRef(IRouteLocator routeLocator)
throws IOException,
AutomationException
setRouteLocatorByRef in interface IRouteLocatorOperationsrouteLocator - A reference to a com.esri.arcgis.location.IRouteLocator (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public 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.
getRouteLocator in interface IRouteLocatorOperationsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setInputFeatureClassByRef(IFeatureClass inputFeatureClass)
throws IOException,
AutomationException
setInputFeatureClassByRef in interface IRouteLocatorOperationsinputFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public 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.
getInputFeatureClass in interface IRouteLocatorOperationsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setInputFeatureSelectionByRef(ISelectionSet selection)
throws IOException,
AutomationException
setInputFeatureSelectionByRef in interface IRouteLocatorOperationsselection - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public 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.
getInputFeatureSelection in interface IRouteLocatorOperationsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public 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).
locatePointFeatures in interface IRouteLocatorOperationssearchRadius - 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.
public 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).
locateLineFeatures in interface IRouteLocatorOperationsclusterTolerance - 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.
public 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.
locatePointEvents in interface IRouteLocatorOperationsclusterTolerance - 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.
public 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.
locatePolygonFeatures in interface IRouteLocatorOperationsoutputProperties - 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.
public void setRouteFeatureClassByRef(IFeatureClass routeFeatureClass)
throws IOException,
AutomationException
setRouteFeatureClassByRef in interface IRouteLocatorOperations2routeFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFeatureClass getRouteFeatureClass()
throws IOException,
AutomationException
Use this property instead of IRouteLocatorOperations::RouteLocator. When using this property, you must also specify the RouteIDFieldName.
getRouteFeatureClass in interface IRouteLocatorOperations2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRouteFeatureSelectionByRef(ISelectionSet selection)
throws IOException,
AutomationException
setRouteFeatureSelectionByRef in interface IRouteLocatorOperations2selection - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISelectionSet getRouteFeatureSelection()
throws IOException,
AutomationException
If you use this method, there is no need to specify the RouteFeatureClass (as it is implied). You still must set the RouteIDFieldName, however.
getRouteFeatureSelection in interface IRouteLocatorOperations2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRouteIDFieldName(String routeIDFieldName)
throws IOException,
AutomationException
setRouteIDFieldName in interface IRouteLocatorOperations2routeIDFieldName - The routeIDFieldName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getRouteIDFieldName()
throws IOException,
AutomationException
Use this property with the RouteFeatureClass (or RouteFeatureSelection) properties.
getRouteIDFieldName in interface IRouteLocatorOperations2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (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 | ||||||||