|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.location.RouteMeasureCreator
public class RouteMeasureCreator
Basic route creation object.
The RouteMeasureCreator CoClass lets you create a PolylineM (route) feature class from a Polyline feature class by aggregating features together based on a field name (route identifier).
Constructor Summary | |
---|---|
RouteMeasureCreator()
Constructs a RouteMeasureCreator using ArcGIS Engine. |
|
RouteMeasureCreator(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RouteMeasureCreator theRouteMeasureCreator = (RouteMeasureCreator) obj; |
Method Summary | |
---|---|
IEnumBSTR |
createUsing2Fields(String fmFieldName,
String tmFieldName,
IFeatureClassName outputFClassName,
IGeometryDef outputGeometryDef,
String configKeyword,
ITrackCancel trackCancel)
Create routes from polylines using two fields. |
IEnumBSTR |
createUsing2Fields2(String fmFieldName,
String tmFieldName,
double factor,
double offset,
IFeatureClassName outputFClassName,
IGeometryDef outputGeometryDef,
String configKeyword,
ITrackCancel trackCancel)
Create routes from polylines using two fields. |
IEnumBSTR |
createUsingCoordinatePriority(String lengthFieldName,
int seedingCorner,
boolean ignoreGaps,
IFeatureClassName outputFClassName,
IGeometryDef outputGeometryDef,
String configKeyword,
ITrackCancel trackCancel)
Create routes from using topology. |
IEnumBSTR |
createUsingCoordinatePriority2(String lengthFieldName,
double factor,
double offset,
int seedingCorner,
boolean ignoreGaps,
IFeatureClassName outputFClassName,
IGeometryDef outputGeometryDef,
String configKeyword,
ITrackCancel trackCancel)
Create routes from using topology. |
IEnumBSTR |
createUsingPoints(ISelectionSet pointSelection,
String pointRIDFieldName,
String pointMeasureFieldName,
int updateHow,
boolean ignoreGaps,
double tolerance,
boolean allInputFeatures,
IFeatureClassName outputFClassName,
IGeometryDef outputGeometryDef,
String configKeyword,
ITrackCancel trackCancel)
Create routes from polylines using points to assign measures. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IFeatureClass |
getInputFeatureClass()
The input features. |
ISelectionSet |
getInputFeatureSelection()
A selection set of input features. |
String |
getInputRouteIDFieldName()
The input route identifier field name. |
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. |
void |
setInputFeatureSelectionByRef(ISelectionSet selection)
A selection set of input features. |
void |
setInputRouteIDFieldName(String fieldName)
The input route identifier field name. |
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 RouteMeasureCreator() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RouteMeasureCreator(Object obj) throws IOException
RouteMeasureCreator theRouteMeasureCreator = (RouteMeasureCreator) obj;
obj
to RouteMeasureCreator
.
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 setInputFeatureClassByRef(IFeatureClass inputFeatureClass) throws IOException, AutomationException
setInputFeatureClassByRef
in interface IRouteMeasureCreator
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
This sets the input feature class, IFeatureClass, the routes are to be created from. The input feature class must have its geometry of type Polyline.
getInputFeatureClass
in interface IRouteMeasureCreator
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 IRouteMeasureCreator
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
If the InputFeatureSelection is set, the InputFeatureClass does not get used even if it is set.
getInputFeatureSelection
in interface IRouteMeasureCreator
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 IRouteMeasureCreator
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getInputRouteIDFieldName() throws IOException, AutomationException
getInputRouteIDFieldName
in interface IRouteMeasureCreator
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 IRouteMeasureCreator
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 IRouteMeasureCreator
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumBSTR createUsing2Fields(String fmFieldName, String tmFieldName, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, String configKeyword, ITrackCancel trackCancel) throws IOException, AutomationException
The fmFieldName and tmFieldName parameters passed into this method are the names of the fields in the InputFeatureClass which are used to set the start (from) and the end (to) measure values of that feature.
createUsing2Fields
in interface IRouteMeasureCreator
fmFieldName
- The fmFieldName (in)tmFieldName
- The tmFieldName (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 createUsingCoordinatePriority(String lengthFieldName, int seedingCorner, boolean ignoreGaps, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, String configKeyword, ITrackCancel trackCancel) throws IOException, AutomationException
The lengthFieldName is the name of the field in the input feature class which contains the measures of the route. Measures will be set starting from zero to the value in this field.
The seedingCorner parameter specifies the coordinate priority of where the route measure will start (measure = 0). The coordinate priority can be:
0 - esriMSeedingUperLeft
1 - esriMSeedingBottomLeft
2 - esriMSeedingUpperRight
3 - esriMSeedingBottomRight
createUsingCoordinatePriority
in interface IRouteMeasureCreator
lengthFieldName
- The lengthFieldName (in)seedingCorner
- A com.esri.arcgis.location.esriMSeedingCorner constant (in)ignoreGaps
- The ignoreGaps (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 createUsingPoints(ISelectionSet pointSelection, String pointRIDFieldName, String pointMeasureFieldName, int updateHow, boolean ignoreGaps, double tolerance, boolean allInputFeatures, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, String configKeyword, ITrackCancel trackCancel) throws IOException, AutomationException
The CreateUsingPoints method creates a route feature class by taking input a Polyline feature class and a selection set of Points or Multipoints which represent the calibration points to be used to set the measures of the Polyline. The calibration points are features inside a feature class, which contain fields pointRIDFieldName and pointMeasrueFieldName . The pointRIDFieldName field is the route identifier (the line feature in the InputFeatureClass) the calibration point refers to. The pointMeasureFieldName field contains the calibration measure values.
createUsingPoints
in interface IRouteMeasureCreator
pointSelection
- A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)pointRIDFieldName
- The pointRIDFieldName (in)pointMeasureFieldName
- The pointMeasureFieldName (in)updateHow
- The updateHow (in)ignoreGaps
- The ignoreGaps (in)tolerance
- The tolerance (in)allInputFeatures
- The allInputFeatures (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 createUsing2Fields2(String fmFieldName, String tmFieldName, double factor, double offset, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, String configKeyword, ITrackCancel trackCancel) throws IOException, AutomationException
createUsing2Fields2
in interface IRouteMeasureCreator2
fmFieldName
- The fmFieldName (in)tmFieldName
- The tmFieldName (in)factor
- The factor (in)offset
- The offset (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 createUsingCoordinatePriority2(String lengthFieldName, double factor, double offset, int seedingCorner, boolean ignoreGaps, IFeatureClassName outputFClassName, IGeometryDef outputGeometryDef, String configKeyword, ITrackCancel trackCancel) throws IOException, AutomationException
createUsingCoordinatePriority2
in interface IRouteMeasureCreator2
lengthFieldName
- The lengthFieldName (in)factor
- The factor (in)offset
- The offset (in)seedingCorner
- A com.esri.arcgis.location.esriMSeedingCorner constant (in)ignoreGaps
- The ignoreGaps (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 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 |