routing-profiles

star 47

Change the Routing Solution routing profiles/vehicle types. To be used as part of customize-main skill

diegosouzapw By diegosouzapw schedule Updated 2/28/2026

name: routing-profiles description: "Change the Routing Solution routing profiles/vehicle types. To be used as part of customize-main skill"

Customize Routing Profiles

WARNING: This subskill cannot be run independently. It must be invoked from the customize-main router. 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.

Prerequisites

  • Active Snowflake connection
  • OpenRouteService Native App deployed

Input Parameters

  • <REGION_NAME>: Target region name selected by user (e.g., "great-britain", "switzerland", "new-york")

Available Profiles

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

Workflow

Step 1: Get User Preferences

Goal: Determine which profiles to enable/disable

Actions:

  1. Ask user what changes they want:

    • "Which profiles do you want to ENABLE?" (list any currently disabled)
    • "Which profiles do you want to DISABLE?" (list any currently enabled)
  2. Warn about resource impact:

    • More profiles = longer graph build time
    • More profiles = more memory usage
    • Default (car, cycling-road, walking) covers most use cases

Output: User selections recorded

Step 2: Update Configuration

Goal: Modify ors-config.yml with new profile settings

Actions:

  1. Edit oss-build-routing-solution-in-snowflake/Native_app/provider_setup/staged_files/ors-config.yml:

    • For each profile, set enabled: true or enabled: false

    Example 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
    
  2. 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

Return to Router

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.

Stopping Points

  • ✋ After Step 1: Confirm user selections before modifying config
Install via CLI
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill routing-profiles
Repository Details
star Stars 47
call_split Forks 15
navigation Branch main
article Path SKILL.md
More from Creator
diegosouzapw
diegosouzapw Explore all skills →