Change the Routing Solution routing profiles/vehicle types. To be used as part of customize-main skill
WARNING: This subskill cannot be run independently. It must be invoked from the
customize-mainrouter. It only updates the config file -- it does NOT restart services or rebuild routing graphs. The router handles service restarts, graph rebuilding, MAP_CONFIG updates, and Function Tester redeployment in Steps 4-6 after this subskill completes.
Configure which routing profiles are available in your Routing Solution.
<REGION_NAME>: Target region name selected by user (e.g., "great-britain", "switzerland", "new-york")| Profile | Category | Description |
|---|---|---|
driving-car | Driving | Standard passenger vehicles |
driving-hgv | Driving | Heavy goods vehicles (trucks) |
cycling-regular | Cycling | Standard bicycles |
cycling-road | Cycling | Road/racing bicycles |
cycling-mountain | Cycling | Mountain bikes |
cycling-electric | Cycling | Electric bicycles |
foot-walking | Foot | Standard walking |
foot-hiking | Foot | Hiking trails |
wheelchair | Wheelchair | Wheelchair accessible routes |
Goal: Determine which profiles to enable/disable
Actions:
Ask user what changes they want:
Warn about resource impact:
Output: User selections recorded
Goal: Modify ors-config.yml with new profile settings
Actions:
Edit oss-build-routing-solution-in-snowflake/Native_app/provider_setup/staged_files/ors-config.yml:
enabled: true or enabled: falseExample structure:
ors:
engine:
profiles:
driving-car:
enabled: true
driving-hgv:
enabled: false
cycling-regular:
enabled: false
cycling-road:
enabled: true
cycling-mountain:
enabled: false
cycling-electric:
enabled: false
foot-walking:
enabled: true
foot-hiking:
enabled: false
wheelchair:
enabled: false
Upload modified file:
snow stage copy oss-build-routing-solution-in-snowflake/Native_app/provider_setup/staged_files/ors-config.yml @OPENROUTESERVICE_NATIVE_APP.CORE.ORS_SPCS_STAGE/<REGION_NAME>/ --connection <ACTIVE_CONNECTION> --overwrite
Output: Configuration updated with new profiles
After completing all steps in this subskill, return to the customize-main router and continue from Step 4: Update Routing Graphs. This subskill does NOT restart services or rebuild graphs -- the router handles that.