Make Service Area Layer (Network Analyst) |
|
|
Release 9.3
Last modified December 23, 2008 |
Print all topics in : "Tools" |
Makes a service area network analysis layer and sets its navigation properties
Usage tips
The service area layer can be made on a network currently added to the ArcMap Table of Contents or on a network dataset on disk.
Hierarchy options can only be set if the input analysis network has a hierarchy attribute.
The following environment setting affects this tool: workspace.
Command line syntax
An overview of the Command Line window
MakeServiceAreaLayer_na <in_network_dataset> <out_network_analysis_layer> <impedance_attribute> {TRAVEL_FROM | TRAVEL_TO} {default_break_values} {SIMPLE_POLYS | DETAILED_POLYS | NO_POLYS} {NO_MERGE | NO_OVERLAP | MERGE} {RINGS | DISKS} {NO_LINES | TRUE_LINES | TRUE_LINES_WITH_MEASURES} {OVERLAP | NON_OVERLAP} {NO_SPLIT | SPLIT} {excluded_source_name;excluded_source_name...} {accumulate_attribute_name;accumulate_attribute_name...} {ALLOW_UTURNS | NO_UTURNS | ALLOW_DEAD_ENDS_ONLY} {restriction_attribute_name;restriction_attribute_name...} {TRIM_POLYS | NO_TRIM_POLYS} {poly_trim_value} {NO_LINES_SOURCE_FIELDS | LINES_SOURCE_FIELDS}
| Parameter | Explanation | Data Type |
| <in_network_dataset> |
The network dataset on which the service area analysis will be performed. |
Network Dataset Layer |
| <out_network_analysis_layer> |
Name of the service area network analysis layer being created. |
String |
| <impedance_attribute> |
The cost attribute to be used as impedance in the analysis. |
String |
| {TRAVEL_FROM | TRAVEL_TO} |
Specifies the direction to or from facilities.
|
String |
| {default_break_values} |
Default impedance values at which to break the service area polygons. The default can be overridden by the value of <impedance attribute> for the facility. |
String |
| {SIMPLE_POLYS | DETAILED_POLYS | NO_POLYS} |
Specifies the type of polygon to be generated.
|
String |
| {NO_MERGE | NO_OVERLAP | MERGE} |
Specifies if polygons should be merged if they share similar ranges.
|
String |
| {RINGS | DISKS} |
Specifies if the output should contain nested polygons.
|
String |
| {NO_LINES | TRUE_LINES | TRUE_LINES_WITH_MEASURES} |
Specifies the type of lines to be generated.
|
String |
| {OVERLAP | NON_OVERLAP} |
Determines if overlap lines are generated when service area lines are computed.
|
Boolean |
| {NO_SPLIT | SPLIT} |
Splits lines when they cross a service area break.
|
Boolean |
| {excluded_source_name;excluded_source_name...} |
When generating the polygons, the geometry of traversed elements from the excluded sources will not be considered. For example: excluding a subway edge source from a pedestrian walk zone polygon, since it is impossible to exit the subway along an edge. |
String |
| {accumulate_attribute_name;accumulate_attribute_name...} |
List of cost attributes to be accumulated during analysis. |
String |
| {ALLOW_UTURNS | NO_UTURNS | ALLOW_DEAD_ENDS_ONLY} |
Specifies optional U-turn restrictions.
|
String |
| {restriction_attribute_name;restriction_attribute_name...} |
List of restriction attributes to be honored during analysis. |
String |
| {TRIM_POLYS | NO_TRIM_POLYS} |
Specifies that the polygons will be trimmed further.
|
|
| {poly_trim_value} |
The polygon trim value is used to trim the service area polygon. The parameter includes a value and units for the value. The default value is 100 meters. This value is used if the Trim_Polys option is used. |
Linear unit |
| {NO_LINES_SOURCE_FIELDS | LINES_SOURCE_FIELDS} |
Determines if overlap lines are generated when service area lines are computed.
|
Boolean |
MakeServiceAreaLayer AllSt_ND '3 Ring Analysis' DriveTime TRAVEL_FROM '1 5 10' MERGE NESTED Metro;Rail Miles ALLOW_UTURNS Oneways;NoCommercialVehicles
Scripting syntax
About getting started with writing geoprocessing scripts
MakeServiceAreaLayer_na (in_network_dataset, out_network_analysis_layer, impedance_attribute, travel_from_to, default_break_values, polygon_type, merge, nesting_type, line_type, overlap, split, excluded_source_name, accumulate_attribute_name, UTurn_policy, restriction_attribute_name, polygon_trim, poly_trim_value, lines_source_fields)
| Parameter | Explanation | Data Type |
| in_network_dataset (Required) |
The network dataset on which the service area analysis will be performed. |
Network Dataset Layer |
| out_network_analysis_layer (Required) |
Name of the service area network analysis layer being created. |
String |
| impedance_attribute (Required) |
The cost attribute to be used as impedance in the analysis. |
String |
| travel_from_to (Optional) |
Specifies the direction to or from facilities.
|
String |
| default_break_values (Optional) |
Default impedance values at which to break the service area polygons. The default can be overridden by the value of <impedance attribute> for the facility. |
String |
| polygon_type (Optional) |
Specifies the type of polygon to be generated.
|
String |
| merge (Optional) |
Specifies if polygons should be merged if they share similar ranges.
|
String |
| nesting_type (Optional) |
Specifies if the output should contain nested polygons.
|
String |
| line_type (Optional) |
Specifies the type of lines to be generated.
|
String |
| overlap (Optional) |
Determines if overlap lines are generated when service area lines are computed.
|
Boolean |
| split (Optional) |
Splits lines when they cross a service area break.
|
Boolean |
| excluded_source_name (Optional) |
When generating the polygons, the geometry of traversed elements from the excluded sources will not be considered. For example: excluding a subway edge source from a pedestrian walk zone polygon, since it is impossible to exit the subway along an edge. |
String |
| accumulate_attribute_name (Optional) |
List of cost attributes to be accumulated during analysis. |
String |
| UTurn_policy (Optional) |
Specifies optional U-turn restrictions.
|
String |
| restriction_attribute_name (Optional) |
List of restriction attributes to be honored during analysis. |
String |
| polygon_trim (Optional) |
Specifies that the polygons will be trimmed further.
|
|
| poly_trim_value (Optional) |
The polygon trim value is used to trim the service area polygon. The parameter includes a value and units for the value. The default value is 100 meters. This value is used if the Trim_Polys option is used. |
Linear unit |
| lines_source_fields (Optional) |
Determines if overlap lines are generated when service area lines are computed.
|
Boolean |
import arcgisscripting gp = arcgisscripting.create() gp.MakeServiceAreaLayer(AllSt_ND, "3 Ring Analysis", "DriveTime", "TRAVEL_FROM", "1 5 10", "MERGE", "NESTED", "Metro;Rail", "Miles", "ALLOW_UTURNS", "Oneways;NoCommercialVehicles" Oneway TRIM_POLYS "200 Feet" NO_LINES_SOURCE_FIELDS )