transbigdata-metroline

Construct metro network graphs and analyze routes from transit geodata.

4|2|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/ni1o1/claude-skill-transbigdata --skill transbigdata-metroline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: transbigdata-metroline
Source: https://github.com/ni1o1/claude-skill-transbigdata/tree/main/skills/transbigdata-metroline
Command: npx skills add https://github.com/ni1o1/claude-skill-transbigdata --skill transbigdata-metroline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Urban planners and transit analysts often need to turn line and stop geodata into a usable network for routing and operational analysis; this Skill streamlines building transit network topology, computing shortest and k-shortest paths, estimating travel times with transfer penalties, and extracting arrival/one-way times from bus GPS traces to avoid manual, error-prone processing.

Core Features & Use Cases

  • Construct a routable metro/bus network graph from line and stop GeoDataFrame inputs using metro_network and related utilities.
  • Query shortest paths and k-shortest paths, compute path travel times with configurable transfer time, and split lines into segments for topology refinement.
  • Process bus GPS traces to identify stop arrivals and compute one-way travel times for vehicle performance analysis and timetable validation.
  • Use Case: Build a city's metro graph, find alternative routes between two stations with expected travel times, and analyze bus on-time performance from GPS logs.

Quick Start

Use the transbigdata-metroline skill to construct a metro network from line and stop geodata and compute the shortest path and estimated travel time between two stations.

Frequently Asked Questions about transbigdata-metroline

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

FAQPage Schema
How do I build a metro network graph from line and stop geodata?

To build a metro network graph from line and stop geodata, input GeoDataFrames for transit lines and stops. The network topology is constructed using networkx-compatible workflows, enabling direct route and travel-time analysis.

How do I find the shortest path and estimate travel time between two transit stations?

Finding the shortest path and estimating travel time between transit stations requires querying the constructed network graph. The computation supports configurable transfer time settings to calculate accurate total travel times for alternative routes.

Can I use geopandas GeoDataFrames for transit route analysis?

Yes, you can use geopandas GeoDataFrames for transit route analysis. The Skill accepts GeoDataFrame inputs for transit lines and stops to perform line segmentation, topology refinement, and shortest-path queries within geopandas-compatible workflows.

How do I detect bus stop arrivals from GPS traces?

To detect bus stop arrivals from GPS traces, process the GPS logs through the transit network model. This identifies stop arrivals and computes one-way travel times for vehicle performance analysis and timetable validation.

What is the best way to analyze k-shortest paths in a transit network?

Analyzing k-shortest paths in a transit network involves querying alternative routes between stations on the graph. This approach identifies multiple viable paths, computing expected travel times with transfer penalties using networkx.

Does this approach support splitting transit lines into segments for topology refinement?

Yes, this approach supports splitting transit lines into segments for topology refinement. Line segmentation processes GeoDataFrame inputs to refine the network topology, ensuring accurate routing and transfer analysis.