You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**`AddWalkImpedanceColumn` toolbox tool removed** — The `AddWalkImpedanceColumn` ArcGIS Pro toolbox tool has been removed and replaced by `AddImpedanceColumn`. Any `.aprx` project or ArcGIS Catalog reference to `AddWalkImpedanceColumn` will no longer resolve. Update references to use `AddImpedanceColumn` instead, selecting `"walk"` as the modality.
8
+
9
+
-**`add_impedance_column` requires explicit `modality_prefix`** — The `modality_prefix` parameter of `add_impedance_column()` no longer has a default value. Callers that previously relied on the `"walk"` default must now pass `modality_prefix="walk"` explicitly:
-**`bike_impedance` column** — `add_impedance_column()` now supports `modality_prefix="bike"`, adding a `bike_impedance` field populated from `IMPEDANCE_TYPE_COEFFICIENTS_BIKE`.
22
+
23
+
-**`modalities` parameter on `create_network_dataset()`** — The function now accepts an optional `modalities` list (default `["walk", "bike"]`). Both `walk_impedance` and `bike_impedance` are added to segment features by default. Pass `modalities=["walk"]` to restrict to walk-only as before.
24
+
25
+
-**`AddImpedanceColumn` toolbox tool** — New ArcGIS Pro toolbox tool replacing `AddWalkImpedanceColumn`. Features a modality combo-box (predefined options: walk, bike; custom names supported) and an editable coefficient table that pre-populates when a predefined modality is selected.
26
+
27
+
-**`SUPPORTED_MODALITIES`** — New public constant (`list[str]`) exported from `overture_to_arcgis.utils._arcgis_routing` listing all registered modality names.
28
+
29
+
-**`_IMPEDANCE_REGISTRY`** — New private module-level dict mapping modality name → coefficient table, serving as the single source of truth for impedance lookups.
<metadata xml:lang="en"><Esri><CreaDate>20260320</CreaDate><CreaTime>00000000</CreaTime><ArcGISFormat>1.0</ArcGISFormat><SyncOnce>TRUE</SyncOnce><ModDate>20260320</ModDate><ModTime>000000</ModTime></Esri><tool name="AddImpedanceColumn" displayname="Add Impedance Column (Segments)" toolboxalias="overture_to_arcgis" category="Add Parsed Fields"><summary>Calculate an impedance cost multiplier for each segment feature based on its road class and subtype for a chosen routing modality (e.g. walk or bike). Values below 1.0 indicate modality-friendly segments; values above 1.0 penalise segments less suitable for that modality. A value of -1 marks segments where the chosen modality is prohibited (e.g. water, rail). Replaces the removed AddWalkImpedanceColumn tool — any existing references to AddWalkImpedanceColumn must be updated to use this tool instead.</summary><usage><bullet_item>The input features must contain class and subtype text fields, typically present on Overture segment features.</bullet_item><bullet_item>Select a predefined modality (walk or bike) from the Modality dropdown. The Coefficients table is pre-populated with the default values for that modality and can be edited before running.</bullet_item><bullet_item>Type a custom modality name to define a new impedance field (e.g. "horse" produces a horse_impedance field). Supply all coefficient rows manually when using a custom modality.</bullet_item><bullet_item>The tool adds or overwrites a <modality>_impedance float field. The value acts as a multiplier on segment length when computing routing costs for that modality.</bullet_item><bullet_item>Segments whose class and subtype do not match any coefficient row receive a default impedance of 1.0 (neutral cost).</bullet_item></usage><parameters><param name="input_features" displayname="Input Features" type="Required" direction="Input" datatype="GPFeatureLayer"><dialogReference>The segment feature layer or feature class to which the impedance field will be added.</dialogReference></param><param name="modality" displayname="Modality" type="Required" direction="Input" datatype="GPString"><dialogReference>The routing modality for which the impedance column is calculated. Predefined options are walk and bike. Selecting a predefined modality pre-populates the Coefficients table with default values. A custom modality name can be typed to create a new impedance field with user-supplied coefficients.</dialogReference></param><param name="coefficients" displayname="Coefficients" type="Required" direction="Input" datatype="GPValueTable"><dialogReference>A table of impedance multiplier rules. Each row contains three values: Field Name (either class or subtype), Value (the field value to match, e.g. cycleway), and Multiplier (the numeric cost multiplier for matching features). Rows are pre-populated when a predefined modality is selected and can be edited. At least one row is required to run the tool.</dialogReference></param></parameters></tool></metadata>
0 commit comments