Computes reachable network nodes from origin points within a maximum network cost.

vector network service-area

Parameters

NameDescriptionRequiredDefault
inputInput line network layer.Requirednetwork.shp
originsOrigin point layer.Requiredorigins.shp
max_costMaximum reachable path cost.Required1000.0
ring_costsOptional comma-separated ring thresholds for multi-ring outputs (for example: 5,10,15).Optional—
snap_toleranceOptional node snapping tolerance for graph construction.Optional—
max_snap_distanceOptional max distance from origin points to nearest network node.Optional—
output_modeOutput mode: 'nodes' (default), 'edges' for cost-trimmed reachable edge segments, or 'polygons' for per-origin isochrone-like polygons from reachable edge envelopes.Optional—
polygon_merge_originsIf true and output_mode='polygons', dissolve overlapping origin polygons into merged coverage per ring instead of emitting one polygon per origin.Optional—
mode_fieldOptional line attribute field identifying travel mode per segment; enables mode-aware service-area costs.Optional—
default_mode_speedDefault mode speed in coordinate-units per time unit when mode_field is provided (default: 1).Optional—
mode_speed_overridesOptional comma-separated mode:speed overrides (for example: walk:1.4,drive:12).Optional—
allowed_modesOptional comma-separated allow-list of modes to include when mode_field is provided.Optional—
edge_cost_fieldOptional numeric line field used as an impedance multiplier for segment length.Optional—
one_way_fieldOptional line field marking one-way digitized edges (true/1/yes means from first to second vertex only).Optional—
blocked_fieldOptional line field marking blocked/closed edges to exclude from routing (true/1/yes blocks).Optional—
barriersOptional barrier point layer; nearest network nodes are blocked from traversal.Optional—
barrier_snap_distanceOptional max distance from each barrier point to a network node for blocking.Optional—
turn_penaltyOptional additive cost applied to non-straight turns at network nodes.Optional—
u_turn_penaltyOptional additive cost applied to U-turn transitions.Optional—
forbid_u_turnsIf true, disallow U-turn transitions.Optional—
forbid_left_turnsIf true, disallow left-turn transitions.Optional—
forbid_right_turnsIf true, disallow right-turn transitions.Optional—
turn_restrictions_csvOptional CSV of turn transitions using columns prev_x,prev_y,node_x,node_y,next_x,next_y. Optional columns: forbidden (default true when no turn_cost column is provided) and turn_cost (or penalty/cost/extra_cost) for per-turn additive cost.Optional—
temporal_cost_profileOptional CSV defining time-dependent edge costs (columns: edge_id,dow,start_minute,end_minute,value).Optional—
temporal_edge_id_fieldOptional network field used to match temporal_cost_profile edge_id values (default EDGE_ID).Optional—
departure_timeOptional RFC3339 departure time used for temporal profile lookup.Optional—
temporal_modeOptional temporal interpretation mode: multiplier or absolute.Optional—
temporal_fallbackOptional fallback when temporal row is missing: static_cost or error.Optional—
temporal_profile_reportOptional JSON output path for temporal profile diagnostics (coverage, unmatched edges, fallback usage).Optional—
outputOutput service-area vector path.Required—

Examples

Finds all nodes reachable from origins within max_cost.

wbe.network_service_area(input='network.shp', max_cost=1000.0, origins='origins.shp', output='service_area_nodes.shp')

Project Links

WbW Homepage User Manual Support WbW