|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.networkanalysttools.MakeServiceAreaLayer
public class MakeServiceAreaLayer
Makes a service area network analysis layer and sets its analysis properties. A service area analysis layer is useful in determining the area of accessibility within a given cutoff cost from a facility location. The Make Service Area Layer tool is contained in the Network Analyst Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
MakeServiceAreaLayer()
Creates the Make Service Area Layer tool with defaults. |
|
MakeServiceAreaLayer(Object inNetworkDataset,
String outNetworkAnalysisLayer,
String impedanceAttribute)
Creates the Make Service Area Layer tool with the required parameters. |
Method Summary | |
---|---|
Object |
getAccumulateAttributeName()
Returns the Accumulators parameter of this tool . |
String |
getDefaultBreakValues()
Returns the Default break values parameter of this tool . |
Object |
getExcludedSourceName()
Returns the Exclude sources from polygon generation parameter of this tool . |
String |
getImpedanceAttribute()
Returns the Impedance attribute parameter of this tool . |
Object |
getInNetworkDataset()
Returns the Input analysis network parameter of this tool . |
String |
getLinesSourceFields()
Returns the Include network source fields in lines parameter of this tool . |
String |
getLineType()
Returns the Line type parameter of this tool . |
String |
getMerge()
Returns the Merge polygons with similar ranges parameter of this tool . |
String |
getNestingType()
Returns the Polygon nest option parameter of this tool . |
String |
getOutNetworkAnalysisLayer()
Returns the Output layer name parameter of this tool . |
Object |
getOutputLayer()
Returns the Network Analyst Layer parameter of this tool (Read only). |
String |
getOverlap()
Returns the Overlap lines parameter of this tool . |
String |
getPolygonTrim()
Returns the Trim Polygons parameter of this tool . |
String |
getPolygonType()
Returns the Polygon type parameter of this tool . |
Object |
getPolyTrimValue()
Returns the Polygon trim parameter of this tool . |
Object |
getRestrictionAttributeName()
Returns the Restrictions parameter of this tool . |
String |
getSplit()
Returns the Split lines when they cross a service area break parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
String |
getTravelFromTo()
Returns the Travel from or to facility parameter of this tool . |
String |
getUTurnPolicy()
Returns the U-turn policy parameter of this tool . |
void |
setAccumulateAttributeName(Object accumulateAttributeName)
Sets the Accumulators parameter of this tool . |
void |
setDefaultBreakValues(String defaultBreakValues)
Sets the Default break values parameter of this tool . |
void |
setExcludedSourceName(Object excludedSourceName)
Sets the Exclude sources from polygon generation parameter of this tool . |
void |
setImpedanceAttribute(String impedanceAttribute)
Sets the Impedance attribute parameter of this tool . |
void |
setInNetworkDataset(Object inNetworkDataset)
Sets the Input analysis network parameter of this tool . |
void |
setLinesSourceFields(String linesSourceFields)
Sets the Include network source fields in lines parameter of this tool . |
void |
setLineType(String lineType)
Sets the Line type parameter of this tool . |
void |
setMerge(String merge)
Sets the Merge polygons with similar ranges parameter of this tool . |
void |
setNestingType(String nestingType)
Sets the Polygon nest option parameter of this tool . |
void |
setOutNetworkAnalysisLayer(String outNetworkAnalysisLayer)
Sets the Output layer name parameter of this tool . |
void |
setOverlap(String overlap)
Sets the Overlap lines parameter of this tool . |
void |
setPolygonTrim(String polygonTrim)
Sets the Trim Polygons parameter of this tool . |
void |
setPolygonType(String polygonType)
Sets the Polygon type parameter of this tool . |
void |
setPolyTrimValue(Object polyTrimValue)
Sets the Polygon trim parameter of this tool . |
void |
setRestrictionAttributeName(Object restrictionAttributeName)
Sets the Restrictions parameter of this tool . |
void |
setSplit(String split)
Sets the Split lines when they cross a service area break parameter of this tool . |
void |
setTravelFromTo(String travelFromTo)
Sets the Travel from or to facility parameter of this tool . |
void |
setUTurnPolicy(String uTurnPolicy)
Sets the U-turn policy parameter of this tool . |
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
getParameterValues, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MakeServiceAreaLayer()
Initializes the array of tool parameters with the default values specified when the tool was created.
public MakeServiceAreaLayer(Object inNetworkDataset, String outNetworkAnalysisLayer, String impedanceAttribute)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inNetworkDataset
- the network dataset on which the service area analysis will be performed.outNetworkAnalysisLayer
- name of the service area network analysis layer to create.impedanceAttribute
- the cost attribute to be used as impedance in the analysis.Method Detail |
---|
public Object getInNetworkDataset()
public void setInNetworkDataset(Object inNetworkDataset)
inNetworkDataset
- the network dataset on which the service area analysis will be performed.public String getOutNetworkAnalysisLayer()
public void setOutNetworkAnalysisLayer(String outNetworkAnalysisLayer)
outNetworkAnalysisLayer
- name of the service area network analysis layer to create.public String getImpedanceAttribute()
public void setImpedanceAttribute(String impedanceAttribute)
impedanceAttribute
- the cost attribute to be used as impedance in the analysis.public String getTravelFromTo()
public void setTravelFromTo(String travelFromTo)
travelFromTo
- specifies the direction of travel to or from the facilities. using this option can result in different service areas on a network with one-way restrictions and having different impedances based on direction of travel. The service area for a pizza delivery store, for example, should be created away from the facility, whereas the service area of a hospital should be created toward the facility.public String getDefaultBreakValues()
public void setDefaultBreakValues(String defaultBreakValues)
defaultBreakValues
- default impedance values indicating the extent of the service area to be calculated. The default can be overridden by specifying the breaks value on the facilities. multiple polygon breaks can be set to create concentric service areas. For instance, to find 2-, 3-, and 5-minute service areas for the same facility, specify "2 3 5" as the value for the Default break values parameter (the numbers 2, 3, and 5 should be separated by a space).public String getPolygonType()
public void setPolygonType(String polygonType)
polygonType
- specifies the type of polygons to be generated. if your data is of an urban area with a gridlike network, the difference between generalized and detailed polygons would be minimal. However, for mountain and rural roads, the detailed polygons may present significantly more accurate results than generalized polygons.public String getMerge()
public void setMerge(String merge)
merge
- specifies the options to merge polygons that share similar break values. This option is applicable only when generating polygons for multiple facilities.public String getNestingType()
public void setNestingType(String nestingType)
nestingType
- specifies the option to create concentric service area polygons as disks or rings. This option is applicable only when multiple break values are specified for the facilities.public String getLineType()
public void setLineType(String lineType)
lineType
- specifies the type of lines to be generated based on the service area analysis. Selecting the TRUE_LINES or TRUE_LINES_WITH_MEASURES option for large service areas will increase the amount of memory consumed by the analysis.public String getOverlap()
public void setOverlap(String overlap)
overlap
- determines if overlapping lines are generated when the service area lines are computed.public String getSplit()
public void setSplit(String split)
split
- nullpublic Object getExcludedSourceName()
public void setExcludedSourceName(Object excludedSourceName)
excludedSourceName
- specifies the list of network sources to be excluded when generating the polygons. The geometry of traversed elements from the excluded sources will be omitted from all polygons. this is useful if you have some network sources that you don't want to be included in the polygon generation because they create less accurate polygons or are inconsequential for the service area analysis. For example, while creating a drive time service area in a multimodal network of streets and rails, you should choose to exclude the rail lines from polygon generation so as to correctly model where a vehicle could travel. excluding a network source from service area polygons does not prevent those sources from being traversed. Excluding sources from service area polygons only influences the polygon shape of the service areas. If you want to prevent traversal of a given network source, you must create an appropriate restriction when defining your network dataset.public Object getAccumulateAttributeName()
public void setAccumulateAttributeName(Object accumulateAttributeName)
accumulateAttributeName
- list of cost attributes to be accumulated during analysis. These accumulation attributes are purely for reference; the solver only uses the cost attribute specified by the Impedance attribute parameter to calculate the route. for each cost attribute that is accumulated, a Total_[Impedance] property is added to the routes that are output by the solver.public String getUTurnPolicy()
public void setUTurnPolicy(String uTurnPolicy)
uTurnPolicy
- restrict or permit U-turns at junctions that could occur during network traversal between stops.public Object getRestrictionAttributeName()
public void setRestrictionAttributeName(Object restrictionAttributeName)
restrictionAttributeName
- list of restriction attributes to apply during the analysis.public String getPolygonTrim()
public void setPolygonTrim(String polygonTrim)
polygonTrim
- nullpublic Object getPolyTrimValue()
public void setPolyTrimValue(Object polyTrimValue)
polyTrimValue
- specifies the distance within which the service area polygons are trimmed. The parameter includes a value and units for the distance. The default value is 100 meters.public String getLinesSourceFields()
public void setLinesSourceFields(String linesSourceFields)
linesSourceFields
- nullpublic Object getOutputLayer()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |