analyze_road_details_tool
Analyze detailed road information including lane count, speed limits, length, and width for a specified road segment. Get statistical summaries and per-lane details by providing network file and road name.
Instructions
Analyze detailed road information (lanes, speed limits, length, etc.).
This tool provides comprehensive analysis of road segments including:
- Number of lanes per segment
- Speed limits (km/h)
- Road length and width
- Statistical summary (averages, min/max)
USE CASES:
1. "Show lane count and speed limit for the 500m segment of Teheran-ro near Gangnam Station"
2. "Analyze current road state to compare before and after policy application"
3. "Road capacity analysis (lane count x length)"
Args:
net_file: Network file path
target_road_name: Road name (e.g., "테헤란로", "Teheran-ro")
reference_location: Reference point (e.g., "강남역", "Gangnam Station")
radius_km: Radius in km (e.g., 0.5 for 500m)
include_lane_details: Whether to include per-lane information
Returns:
Dict with detailed road analysis including:
- segments: List of segment details
- statistics: Overall statistics (avg lanes, speed, length)
- summary: Human-readable summary
- filtering: Location filtering info (if applied)
EXAMPLE:
analyze_road_details_tool(
net_file="gangnam_station.net.xml",
target_road_name="테헤란로",
reference_location="강남역",
radius_km=0.5
)
-> Returns: Detailed analysis of Teheran-ro segments within 500m of Gangnam Station
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net_file | Yes | ||
| radius_km | No | ||
| target_road_name | Yes | ||
| reference_location | No | ||
| include_lane_details | No |