via-export

Export filtered MATSim simulation results into Via-ready visualization files.

1|Updated Oct 21, 2025
One-click install
npx skills add https://github.com/ro9er117911/matsim-example-project --skill via-export
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: via-export
Source: https://github.com/ro9er117911/matsim-example-project/tree/main/.claude/skills/matsim-skill/6-via-export
Command: npx skills add https://github.com/ro9er117911/matsim-example-project --skill via-export

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps export MATSim simulation results for Via platform visualization with filtered, lightweight data.

Core Features & Use Cases

  • Export Pipeline: Generate filtered output_events.xml and copy output_network.xml.gz for Via.
  • Output Artifacts: tracks_dt5s.csv, legs_table.csv, filtered_vehicles.csv, vehicle_usage_report.txt for detailed visualization and statistics.
  • Validation & Compression: Verify generated files and compression statistics to ensure efficient datasets for visualization.

Quick Start

Prepare input and run the Via export pipeline, then inspect the resulting output in the forVia folder including output_events.xml, output_network.xml.gz, tracks_dt5s.csv, legs_table.csv, filtered_vehicles.csv, vehicle_usage_report.txt.

Frequently Asked Questions about via-export

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I export MATSim simulation results for Via visualization?

Export MATSim results to Via by running the export pipeline with required --plans and --out parameters, plus optional --events, --schedule, --vehicles, and --network flags. The Skill generates Via-ready outputs including output_events.xml, output_network.xml.gz, and analysis CSVs in the forVia folder.

What filtered data outputs does the MATSim to Via export produce?

The export pipeline produces lightweight, filtered datasets: output_events.xml and output_network.xml.gz for Via visualization, plus tracks_dt5s.csv, legs_table.csv, filtered_vehicles.csv, and vehicle_usage_report.txt for detailed analysis and statistics.

Can I export only MATSim events for Via without full simulation data?

Yes, the export pipeline supports minimal events-only exports using the --export-filtered-events flag alongside --out, generating a lightweight output_events.xml for Via visualization without requiring complete simulation artifacts.

What MATSim input artifacts does the Via export pipeline handle?

The pipeline processes MATSim output artifacts including plans, events, network, schedule, and vehicles files, applying data filtering to create compressed, lightweight outputs optimized for Via platform visualization.

How do I reduce file size when exporting MATSim data to Via?

Use the --export-filtered-events flag to generate filtered events and the optional --dt parameter to control temporal resolution. The pipeline compresses output_network.xml.gz and produces minimal CSVs, reducing dataset weight for efficient Via visualization.

Does the MATSim Via export verify output file integrity?

Yes, the export pipeline validates generated files and compression statistics, ensuring efficient, correctly formatted datasets ready for Via platform visualization before delivery to the forVia folder.