| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
1
|
|
|
1
|
|
3768176
|
use 5.12.0; |
|
|
1
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Map::Metro::Plugin::Map::London; |
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
our $VERSION = '0.001'; |
|
6
|
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
5
|
use Moose; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
9
|
|
|
8
|
|
|
|
|
|
|
with 'Map::Metro::Plugin::Map'; |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has '+mapfile' => ( |
|
11
|
|
|
|
|
|
|
default => 'map-london.metro', |
|
12
|
|
|
|
|
|
|
); |
|
13
|
|
|
|
|
|
|
sub map_version { |
|
14
|
0
|
|
|
0
|
0
|
0
|
return $VERSION; |
|
15
|
|
|
|
|
|
|
} |
|
16
|
|
|
|
|
|
|
sub map_package { |
|
17
|
1
|
|
|
1
|
0
|
2
|
return __PACKAGE__; |
|
18
|
|
|
|
|
|
|
} |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=encoding utf-8 |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Map::Metro::Plugin::Map::London - Map::Metro map for London |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
use Map::Metro; |
|
33
|
|
|
|
|
|
|
my $graph = Map::Metro->new('London')->parse; |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Or: |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
$ map-metro.pl route London 'Baker Street' Bank |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
See L<Map::Metro> for usage information. |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
See F<examples/graph-make> for code that converts the supplied data |
|
44
|
|
|
|
|
|
|
into data for both this and L<Map::Tube::London>, filtering lines on |
|
45
|
|
|
|
|
|
|
whether they appear in F<examples/line-colours.csv>. |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 SOURCES |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
The ur-dataset, albeit from 2014: |
|
50
|
|
|
|
|
|
|
L<https://github.com/nicola/tubemaps/tree/master/datasets> |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
A Neo4j-orientated roundup updated in 2022: |
|
53
|
|
|
|
|
|
|
L<https://github.com/yirensum/tube-ingestor> |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
From L<https://www.doogal.co.uk/london_stations>: |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=over |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=item L<https://www.doogal.co.uk/LondonTubeLinesCSV/> |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=item L<https://www.doogal.co.uk/LondonStationsCSV/> |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=back |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head1 AUTHOR |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Ed J |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
1; |