NAME
Map::Tube::KoelnBonn - Interface to the Koeln-Bonn U-Bahn map
SYNOPSIS
use Map::Tube::KoelnBonn;
my $tube = Map::Tube::KoelnBonn->new();
my $route = $tube->get_shortest_route('Wurzerstr.', 'Plittersdorf');
print "Route: $route\n";
DESCRIPTION
This module allows to find the shortest route between any two given tube stations in Köln and Bonn. In fact, underground, tramway, and S-Bahn lines are covered for the wider Köln-Bonn area (VRS). All interesting methods are provided by the role Map::Tube.
METHODS
CONSTRUCTOR
use Map::Tube::KoelnBonn;
my $tube = Map::Tube::KoelnBonn->new;
This will read the tube information from the shared file koelnbonn-map.xml, which is part of the distribution.
ERRORS
If something goes wrong, maybe because the map information file was corrupted, the constructor will die.
AUTHOR
Gisbert W. Selke, TapirSoft Selke & Selke GbR.
COPYRIGHT AND LICENCE
The data for the XML file were mainly taken from the appropriate OpenStreetMap maps. They are CC BY-SA 2.0. Some modifications were made based on personal knowledge, in particular in order to disambiguate station names. The module itself is free software; you may redistribute and/or modify it under the same terms as Perl itself.