26 Nov 2017 23:21:25 UTC
- Distribution: Map-Tube-Athens
- Module version: 0.01
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (395 / 2 / 0)
- KwaliteeBus factor: 0
- 100.00% Coverage
- License: unknown
- Activity24 month
- Download (17.2KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Map::Tube::Athens - Map::Tube interface to the Athens Metro
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);
Errietta Kostala <firstname.lastname@example.org>
It currently provides functionality to find the shortest route between the two given nodes. It covers the following metro lines:
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.
Module Install Instructions
To install Map::Tube::Athens, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Map::Tube::Athens
For more information on module installation, please visit the detailed CPAN module installation guide.