NAME

Map::Tube::Nuremberg - Map::Tube::Nuremberg - interface to the Nuremberg U-Bahn map

VERSION

version 0.08

DESCRIPTION

It currently provides functionality to find the shortest route between the two given stations. The map contains currently only (U-Bahn) subway stations.

Hint: ID in JSON-File is VGN-Kennung as used in https://opendata.vag.de/dataset/haltestellen-id-geodaten. If Station-ID is not unique, the VGN-Kennung for U-Bahn is used.

CONSTRUCTOR

use Map::Tube::Nuremberg;
my $tube = Map::Tube::Nuremberg->new;

METHODS

get_shortest_route(START, END)

This method expects two parameters START and END station name. Station names are case insensitive. The station sequence from START to END is returned.

use Map::Tube::Nuremberg;
my $tube = Map::Tube::Nuremberg->new;
my $route = $tube->get_shortest_route('Rathenauplatz', 'Hauptbahnhof');
print "Route: $route\n";

SEE ALSO

Map::Tube.

AUTHOR

Stefan Limbacher <stelim@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Stefan Limbacher.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)