This repository contains graphic assets and data for HexaTransit.
lines_picto.csv: CSV file listing line pictograms.trafic.json: Traffic data.logo/: Folders containing logos by network and mode (e.g.,fr-idf/metro/,fr-star/bus/, etc.).logo/<network>/transitous.json: Transitous feeds publishing this network's lines.
The app gets its data from Transitous, where every
line is identified as <feed>_<route_id>. Each network folder declares its
feeds in transitous.json:
{ "feeds": ["fr-reseau-urbain-STAR"] }A feed id is fr- followed by the source name in
transitous/feeds/fr.json.
lines_picto.php then publishes each line_id once per feed, as
<feed>_<line_id>. The line_id in lines_picto.csv and the lineId in
trafic.json must be route_ids of the feed's GTFS. To check (and fix unambiguous mismatches):
python .github/scripts/check_transitous_routes.py --network fr-star --suggest
python .github/scripts/check_transitous_routes.py --network fr-star --fix
-
Fork the repository and clone your fork locally.
-
Create a branch for your contribution:
git checkout -b your-branch-name -
Add or modify the necessary files, following the structure:
- Place new logos in the correct subfolder (
logo/<network>/<mode>/). - Update
lines_picto.csvortrafic.jsonif needed.
- Place new logos in the correct subfolder (
-
Respect the file formats
-
Add a clear description to your Pull Request:
- Explain the purpose of the contribution.
- List the files/folders modified or added.
- Mention any important points (e.g., format, copyright, etc.).
-
Ensure your contribution does not delete existing files (unless intentional and justified).
-
Submit the Pull Request to the
mainbranch of the original repository.
### Add logos for Rennes Metro Line 5
- Added SVG files in `logo/fr-star/metro/`
- Updated `lines_picto.csv` to include line 5
- No existing files deleted
Thank you for contributing to HexaTransit assets!