This repository contains scripts and resources for processing and analyzing the Singapore MRT (Mass Rapid Transit) map, particularly focusing on extracting and manipulating rail paths from SVG files.
sg-mrt-map.svg— The original Singapore MRT map in SVG format.sg-mrt-map-curved-rails.svg— A variant of the map with curved rail paths.extract_curved_rails.py— Script to extract curved rail paths from the SVG file.reverse_track_paths.py— Script to reverse the direction of track paths in the SVG.
-
Extract Curved Rails
python extract_curved_rails.py
This will process the SVG and extract curved rail paths.
-
Reverse Track Paths
python reverse_track_paths.py
This will reverse the direction of track paths in the SVG file.
- Python 3.x
- (Optional) Any additional dependencies will be listed in the script headers or comments.
This project is licensed under the MIT License. See the LICENSE file for details.