|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INAServerSolverParams
Deprecated as of 10.0. Provides access to properties that specify the solver settings and return parameters used during network analysis with NAServer.
At version 10.1, ArcGIS for Server no longer supports performing network analysis via local connections using the GISServer and GISClient APIs. Use the SOAP or REST API instead.
INAServerSolverParams has been superseded by INAServerSolverParams2.
Method Summary | |
---|---|
IImageDescription |
getImageDescription()
ImageDescription used when generating the MapImage returned with the analysis results. |
IMapDescription |
getMapDescription()
MapDescription used when generating the MapImage returned with the analysis results. |
double |
getMaxSnapTolerance()
Maximum search tolerance used when attempting to load network locations. |
INAClassCandidateFieldMap[] |
getNAClassCandidateFieldMaps()
Array of NAClassCandidateFieldMaps . |
String |
getNALayerName()
Network analysis layer name. |
ISpatialReference |
getOutputSpatialReference()
Spatial reference of the geometries returned with the analysis results. |
double |
getSnapTolerance()
Minimum search tolerance used when attempting to load network locations. |
int |
getSnapToleranceUnits()
Length units of the SnapTolerance and MaxSnapTolerance. |
boolean |
isReturnMap()
Indicates if a MapImage should be generated and returned with the analysis results. |
void |
setImageDescriptionByRef(IImageDescription imageDescription)
ImageDescription used when generating the MapImage returned with the analysis results. |
void |
setMapDescriptionByRef(IMapDescription mapDescription)
MapDescription used when generating the MapImage returned with the analysis results. |
void |
setMaxSnapTolerance(double maxSnapTolerance)
Maximum search tolerance used when attempting to load network locations. |
void |
setNAClassCandidateFieldMaps(INAClassCandidateFieldMap[] ppNAClassCandidateFieldMaps)
Array of NAClassCandidateFieldMaps . |
void |
setNALayerName(String nALayerName)
Network analysis layer name. |
void |
setOutputSpatialReferenceByRef(ISpatialReference spatialReference)
Spatial reference of the geometries returned with the analysis results. |
void |
setReturnMap(boolean returnMap)
Indicates if a MapImage should be generated and returned with the analysis results. |
void |
setSnapTolerance(double snapTolerance)
Minimum search tolerance used when attempting to load network locations. |
void |
setSnapToleranceUnits(int snapToleranceUnits)
Length units of the SnapTolerance and MaxSnapTolerance. |
Method Detail |
---|
void setNALayerName(String nALayerName) throws IOException, AutomationException
NALayerName specifies the Network Analyst Layer Name used within this NAContext.
nALayerName
- The nALayerName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getNALayerName() throws IOException, AutomationException
NALayerName specifies the Network Analyst Layer Name used within this NAContext.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSnapTolerance(double snapTolerance) throws IOException, AutomationException
SnapTolerance specifies the minimum search tolerance used when finding network locations.
snapTolerance
- The snapTolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getSnapTolerance() throws IOException, AutomationException
SnapTolerance specifies the minimum search tolerance used when finding network locations.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMaxSnapTolerance(double maxSnapTolerance) throws IOException, AutomationException
MaxSnapTolerance specifies the maximum search tolerance used when finding network locations.
maxSnapTolerance
- The maxSnapTolerance (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMaxSnapTolerance() throws IOException, AutomationException
MaxSnapTolerance specifies the maximum search tolerance used when finding network locations.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSnapToleranceUnits(int snapToleranceUnits) throws IOException, AutomationException
SnapToleranceUnits specifies the units of the search tolerance in esriUnits type.
snapToleranceUnits
- A com.esri.arcgis.system.esriUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSnapToleranceUnits() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setNAClassCandidateFieldMaps(INAClassCandidateFieldMap[] ppNAClassCandidateFieldMaps) throws IOException, AutomationException
NAClassCandidateFieldMaps specifies the candidate fields for each NAClass. These field maps are used when loading network locations to map input fields with NAClass fields.
ppNAClassCandidateFieldMaps
- A reference to a com.esri.arcgis.networkanalyst.INAClassCandidateFieldMap array (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.INAClassCandidateFieldMap[] getNAClassCandidateFieldMaps() throws IOException, AutomationException
NAClassCandidateFieldMaps specifies the candidate fields for each NAClass. These field maps are used when loading network locations to map input fields with NAClass fields.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReturnMap(boolean returnMap) throws IOException, AutomationException
ReturnMap specifies if the map is returned by the solve.
returnMap
- The returnMap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isReturnMap() throws IOException, AutomationException
ReturnMap specifies if the map is returned by the solve.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMapDescriptionByRef(IMapDescription mapDescription) throws IOException, AutomationException
MapDescription specifies the MapDescription object to use when drawing the map with the analysis results.
mapDescription
- A reference to a com.esri.arcgis.carto.IMapDescription (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IMapDescription getMapDescription() throws IOException, AutomationException
MapDescription specifies the MapDescription object to use when drawing the map with the analysis results.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setImageDescriptionByRef(IImageDescription imageDescription) throws IOException, AutomationException
Specifies the ImageDescription used when creating maps during solve. Setting the Width and Height of the output map to be 200x200 pixels would look something like:
routeParams.ImageDescription.Display.Width = 200
routeParams.ImageDescription.Display.Height = 200
imageDescription
- A reference to a com.esri.arcgis.carto.IImageDescription (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IImageDescription getImageDescription() throws IOException, AutomationException
Specifies the ImageDescription used when creating maps during solve. Setting the Width and Height of the output map to be 200x200 pixels would look something like:
routeParams.ImageDescription.Display.Width = 200
routeParams.ImageDescription.Display.Height = 200
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setOutputSpatialReferenceByRef(ISpatialReference spatialReference) throws IOException, AutomationException
OutputSpatialReference specifies the spatial reference of the resulting geometry arrays returned from Solve. This does not change the spatial reference of the recordsets returned which are in the spatial reference of the network dataset.
spatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISpatialReference getOutputSpatialReference() throws IOException, AutomationException
OutputSpatialReference specifies the spatial reference of the resulting geometry arrays returned from Solve. This does not change the spatial reference of the recordsets returned which are in the spatial reference of the network dataset.
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 |