net_convert
Convert OSM road data into SUMO-compatible network files (.net.xml) for traffic simulation. Applies road type filtering and UTM projection to prepare for trip generation.
Instructions
[Step 2/5] Convert OSM data to SUMO network format (.net.xml).
Converts the raw .osm file from osm_extract() into a SUMO-compatible
road network using netconvert. Applies road type filtering and UTM projection.
Previous step: osm_extract() to get .osm file and bbox.
Next step: trip_generate() to create traffic demand on this network.
=== PARAMETERS ===
- osm_file (REQUIRED): Path to .osm file (from osm_extract result)
- city_en: English name for output file naming (auto-derived from osm_file if omitted)
- bbox: Bounding box [west, south, east, north] for boundary trimming.
Pass the bbox from osm_extract result to trim roads at area boundaries.
If omitted, roads may extend beyond the intended area.
=== RETURNS ===
- net_file: Path to generated .net.xml file (pass to trip_generate and sumo_runner)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | ||
| city_en | No | ||
| osm_file | Yes | ||
| output_dir | No | output/networks |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |