mobility-trajectories
CommunityTurn GPS traces into OD flows and metrics.
Education & Research#python#trajectory analysis#gps#origin-destination#stop detection#mobility entropy#urban transportation
Authorxjtulyc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you transform raw urban GPS mobility traces into actionable analyses like detected stops, origin-destination (OD) demand patterns, and quantitative mobility diversity metrics.
Core Features & Use Cases
- Stop detection from GPS trajectories: Identify activity stops using speed thresholds and minimum dwell time to split trips from stationary periods.
- Origin-Destination (OD) matrix construction: Cluster stop locations into geographic zones and count transitions between zones to build an OD matrix.
- Mobility metrics: Compute individual-level mobility entropy and radius of gyration, plus optional home detection from nighttime behavior.
- Use case: Given week-long GPS traces for commuters, use this Skill to generate an OD matrix for city zones, visualize desire lines, and quantify how diverse each person’s visited locations are.
Quick Start
Use mobility-trajectories to detect stops, cluster them into zones, build an OD matrix from consecutive trips, and compute each individual’s radius of gyration and mobility entropy from your GPS trajectory dataset.
Dependency Matrix
Required Modules
pandasnumpyscipyscikit-learnmatplotlibgeopandas
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mobility-trajectories Download link: https://github.com/xjtulyc/awesome-rosetta-skills/archive/main.zip#mobility-trajectories Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.