-
-
26 Nov 2017 23:21:25 UTC
- Distribution: Map-Tube-Athens
- Module version: 0.01
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (1)
- Testers (395 / 2 / 0)
- Kwalitee
Bus factor: 0- 100.00% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (17.2KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Map::Tube::Athens - Map::Tube interface to the Athens Metro
SYNOPSIS
my $tube = Map::Tube::Athens->new; my $name = $tube->name; open(my $MAP_IMAGE, ">$name.png"); binmode($MAP_IMAGE); print $MAP_IMAGE decode_base64($tube->as_image); close($MAP_IMAGE); my $line = $tube->get_line_by_name('M1'); print $tube->to_string($line), "\n\n"; my $route = $tube->get_shortest_route('Piraeus', 'Syntagma'); print $tube->to_string($route);
AUTHOR
Errietta Kostala <errietta@errietta.me>
DESCRIPTION
It currently provides functionality to find the shortest route between the two given nodes. It covers the following metro lines:
INFORMATION
What I found out was that it's surprisingly difficult to find an up-to-date, accurate map of the Athens Metro. It seemed that the best source was actually a volunteer-made map from Wikipedia: https://upload.wikimedia.org/wikipedia/commons/d/da/Athens_Metro_Map_%28December_2013%2C_English%29.svg.
If you can read Greek, there's also http://www.ypodomes.com/media/k2/items/cache/12a344790c511a0cdcacaded32f8a413_XL.jpg.
SEE ALSO
Module Install Instructions
To install Map::Tube::Athens, copy and paste the appropriate command in to your terminal.
cpanm Map::Tube::Athens
perl -MCPAN -e shell install Map::Tube::Athens
For more information on module installation, please visit the detailed CPAN module installation guide.