|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.location.RouteMeasureCalibrator
public class RouteMeasureCalibrator
Route Measure Calibration Object.
The RouteMeasureCalibrator CoClass lets you calibrate the measures of the PolylineM feature class by calibration points stored in a Point or Multipoint feature class. The Point or Multipoint feature class needs to contain a field to define the route identifier (InputRouteIDFieldName), which route each point feature refers to, and a measure field to define the new measure at the point.
Constructor Summary | |
---|---|
RouteMeasureCalibrator()
Constructs a RouteMeasureCalibrator using ArcGIS Engine. |
|
RouteMeasureCalibrator(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RouteMeasureCalibrator theRouteMeasureCalibrator = (RouteMeasureCalibrator) obj; |
Method Summary | |
---|---|
IEnumBSTR |
calibrateRoutesByDistance(int updateHow,
boolean ignoreGaps,
double tolerance,
boolean allRoutes,
IFeatureClassName outputFClassName,
IGeometryDef outputGeometryDef,
String configKeyword,
ITrackCancel trackCancel)
Calibrate route features. |
IEnumBSTR |
calibrateRoutesByMs(int updateHow,
double tolerance,
boolean allRoutes,
IFeatureClassName outputFClassName,
IGeometryDef outputGeometryDef,
String configKeyword,
ITrackCancel trackCancel)
Calibrate route features by using existing M values for the interpolation. |
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. |
String |
getInputMeasureFieldName()
The input measure field name. |
String |
getInputRouteIDFieldName()
The input route identifier field name. |
IFeatureClass |
getRouteFeatureClass()
The route feature class (Polyline with M feature class). |
ISelectionSet |
getRouteFeatureSelection()
A selection set of route features. |
String |
getRouteIDFieldName()
The route identifier field name. |
IRouteLocator |
getRouteLocator()
The route locator. |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isBuildOutputIndex()
Indicates whether an index is going to be built on the route id field on the output result. |
void |
setBuildOutputIndex(boolean status)
Indicates whether an index is going to be built on the route id field on the output result. |
void |
setInputFeatureClassByRef(IFeatureClass inputFeatureClass)
The input features to locate along the routes. |
void |
setInputFeatureSelectionByRef(ISelectionSet selection)
A selection set of features to locate. |
void |
setInputMeasureFieldName(String fieldName)
The input measure field name. |
void |
setInputRouteIDFieldName(String fieldName)
The input route identifier field name. |
void |
setRouteFeatureClassByRef(IFeatureClass featureClass)
The route feature class (Polyline with M feature class). |
void |
setRouteFeatureSelectionByRef(ISelectionSet selection)
A selection set of route features. |
void |
setRouteIDFieldName(String fieldName)
The route identifier field name. |
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 RouteMeasureCalibrator() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RouteMeasureCalibrator(Object obj) throws IOException
RouteMeasureCalibrator theRouteMeasureCalibrator = (RouteMeasureCalibrator) obj;
obj
to RouteMeasureCalibrator
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setRouteLocatorByRef(IRouteLocator routeLocator) throws IOException, AutomationException
setRouteLocatorByRef
in interface IRouteMeasureCalibrator
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.public IRouteLocator getRouteLocator() throws IOException, AutomationException
Use the IRouteMeasureCalibrator2::RouteFeatureClass (or RouteFeatureSelection) and IRouteMeasureCalibrator2::RouteIDFieldName properties instead.
The RouteLocator property sets the route locator which contains information about the route feature class, such as the route identifier, spatial reference, etc.
getRouteLocator
in interface IRouteMeasureCalibrator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInputFeatureClassByRef(IFeatureClass inputFeatureClass) throws IOException, AutomationException
setInputFeatureClassByRef
in interface IRouteMeasureCalibrator
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.public IFeatureClass getInputFeatureClass() throws IOException, AutomationException
The InputFeatureClass is used to set the feature class, IFeatureClass, which contains the calibration points. The geometry type of the InputFeatureClass must of type Point or Multipoint.
getInputFeatureClass
in interface IRouteMeasureCalibrator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInputFeatureSelectionByRef(ISelectionSet selection) throws IOException, AutomationException
setInputFeatureSelectionByRef
in interface IRouteMeasureCalibrator
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.public ISelectionSet getInputFeatureSelection() throws IOException, AutomationException
The InputFeatureSelection is used to specify a selection set, ISelectionSet, for the calibration points. If this property and the InputFeatureClass property is set, the InputFeatureSelection is used.
getInputFeatureSelection
in interface IRouteMeasureCalibrator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInputRouteIDFieldName(String fieldName) throws IOException, AutomationException
setInputRouteIDFieldName
in interface IRouteMeasureCalibrator
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getInputRouteIDFieldName() throws IOException, AutomationException
The InputRouteIDFieldName property sets the route identifier for the point feature class, specifying which route each calibration point refers to.
getInputRouteIDFieldName
in interface IRouteMeasureCalibrator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setInputMeasureFieldName(String fieldName) throws IOException, AutomationException
setInputMeasureFieldName
in interface IRouteMeasureCalibrator
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getInputMeasureFieldName() throws IOException, AutomationException
The InputMeasureFieldName property sets the field in the point feature class which is used to set the measure value of the route at the point.
getInputMeasureFieldName
in interface IRouteMeasureCalibrator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBuildOutputIndex(boolean status) throws IOException, AutomationException
setBuildOutputIndex
in interface IRouteMeasureCalibrator
status
- The status (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isBuildOutputIndex() throws IOException, AutomationException
The BuildOutputIndex property can be used to create an index on the route identifier of the output feature class.
isBuildOutputIndex
in interface IRouteMeasureCalibrator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumBSTR calibrateRoutesByDistance(int updateHow, boolean ignoreGaps, double tolerance, boolean allRoutes, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, String configKeyword, ITrackCancel trackCancel) throws IOException, AutomationException
The outputFClassName parameter in this method is the IFeatureClassName, from which the properties of the output feature class can be set.
The outputGeometryDef parameter sets the IGeometryDef for the output feature class. The geometry definition of the output feature class must have HasMs = True, and should have an adequate M extent (MDomain) so the new measures can be set.
calibrateRoutesByDistance
in interface IRouteMeasureCalibrator
updateHow
- The updateHow (in)ignoreGaps
- The ignoreGaps (in)tolerance
- The tolerance (in)allRoutes
- The allRoutes (in)outputFClassName
- A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)outputGeometryDef
- A reference to a com.esri.arcgis.geodatabase.IGeometryDef (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 IEnumBSTR calibrateRoutesByMs(int updateHow, double tolerance, boolean allRoutes, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, String configKeyword, ITrackCancel trackCancel) throws IOException, AutomationException
The outputFClassName parameter in this method is the IFeatureClassName , from which the properties of the output feature class can be set.
The outputGeometryDef parameter sets the IGeometryDef for the output feature class. The geometry definition of the output feature class must have HasMs = True, and should have an adequate M extent (MDomain) so the new measures can be set.
If there are disjoint routes, gaps will be ignored.
calibrateRoutesByMs
in interface IRouteMeasureCalibrator
updateHow
- The updateHow (in)tolerance
- The tolerance (in)allRoutes
- The allRoutes (in)outputFClassName
- A reference to a com.esri.arcgis.geodatabase.IFeatureClassName (in)outputGeometryDef
- A reference to a com.esri.arcgis.geodatabase.IGeometryDef (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 featureClass) throws IOException, AutomationException
setRouteFeatureClassByRef
in interface IRouteMeasureCalibrator2
featureClass
- 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 IRouteMeasureCalibrator::RouteLocator. When using this property, you must also specify the RouteIDFieldName.
getRouteFeatureClass
in interface IRouteMeasureCalibrator2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRouteFeatureSelectionByRef(ISelectionSet selection) throws IOException, AutomationException
setRouteFeatureSelectionByRef
in interface IRouteMeasureCalibrator2
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.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 IRouteMeasureCalibrator2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRouteIDFieldName(String fieldName) throws IOException, AutomationException
setRouteIDFieldName
in interface IRouteMeasureCalibrator2
fieldName
- The fieldName (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 IRouteMeasureCalibrator2
IOException
- 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 ISupportErrorInfo
riid
- 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 |