跳至主要内容
小龙虾小龙虾AI
🤖

Norway Roads

Query real-time road conditions, closures, and traffic issues in Norway. Use when the user asks about road status, closed roads, traffic conditions, weather on roads, or planning a route in Norway. Handles queries like "Are there road closures between Oslo and Bergen?", "What's the road condition on E6?", "Any issues driving to Trondheim today?", or general road condition checks for Norwegian roads.

下载1.1k
星标0
版本1.0.0
营销推广
安全通过

技能说明


name: norway-roads description: Query real-time road conditions, closures, and traffic issues in Norway. Use when the user asks about road status, closed roads, traffic conditions, weather on roads, or planning a route in Norway. Handles queries like "Are there road closures between Oslo and Bergen?", "What's the road condition on E6?", "Any issues driving to Trondheim today?", or general road condition checks for Norwegian roads.

Norway Roads

Query real-time road closures and conditions from Statens Vegvesen NVDB API.

Quick Start

Check all current road closures:

./scripts/query_roads.py

Check route between two cities:

./scripts/query_roads.py --from Oslo --to Bergen

Check specific road/location:

./scripts/query_roads.py --road "Strynefjell"

Get JSON output:

./scripts/query_roads.py --json

Usage Examples

Check Route Conditions

When planning a trip between two Norwegian cities:

./scripts/query_roads.py --from Oslo --to Bergen
./scripts/query_roads.py --from Oslo --to Trondheim
./scripts/query_roads.py --from Bergen --to Stavanger

Supported cities: Oslo, Bergen, Stavanger, Trondheim, Tromsø, Kristiansand, Ålesund, Bodø

Filter by Location Name

./scripts/query_roads.py --road "Strynefjell"
./scripts/query_roads.py --road "E6"

What Data is Returned

The skill queries two types of road restrictions from NVDB:

  1. Vegstengning (Road Closures) - Scheduled or permanent closures

    • Seasonal closures (winter mountain passes)
    • Landslide/avalanche closures
    • Maintenance closures
    • Causes: Snow (Snø), Ice (Is), Rock (Stein)
  2. Vegsperring (Physical Barriers) - Physical blocking of roads

    • Gates, barriers, concrete blocks
    • Permanent restrictions

API Response Format

Each closure includes:

  • location: Street/road name
  • county: Norwegian county (fylke)
  • municipality: Kommune
  • from_date/to_date: Closure period
  • cause: Reason (Snø=snow, Is=ice, Stein=rock)
  • type: closure or barrier

Data Source

  • API: NVDB v3 (Nasjonal VegDataBank)
  • URL: https://nvdbapiles-v3.atlas.vegvesen.no
  • Object types: 485 (Vegstengning), 607 (Vegsperring)
  • Update frequency: Real-time from official database
  • No API key required: Open public data

Common Norwegian Terms

NorwegianEnglish
VegstengningRoad closure
VegsperringRoad barrier
SnøSnow
IsIce
SteinRock
FylkeCounty
StengtClosed

Major Routes & Counties

Counties (Fylker):

  • Viken (Oslo region)
  • Vestland (Bergen region)
  • Rogaland (Stavanger region)
  • Trøndelag (Trondheim region)
  • Troms og Finnmark (North)
  • Agder (South)
  • Møre og Romsdal (Ålesund region)
  • Nordland (Bodø region)

Major Roads:

  • E6: North-south trunk (Kirkenes-Halden)
  • E16: Bergen-Oslo via Lærdal tunnel
  • E39: West coast route

Limitations

  • Shows registered closures in NVDB, not real-time traffic incidents
  • For live traffic, use Vegvesen mobile app or call 175
  • Winter closures are often seasonal and recurring
  • Some recent incidents may not yet be registered

Reference

See references/api-docs.md for API details and city mappings.

如何使用「Norway Roads」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Norway Roads技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能