File Coverage

File:blib/lib/Geo/Coder/Free/DB/MaxMind/admin2.pm
Coverage:100.0%

linestmtbrancondsubpodtimecode
1package Geo::Coder::Free::DB::MaxMind::admin2;
2
3
17
17
17
103975
15
239
use strict;
4
17
17
17
26
12
328
use warnings;
5
17
17
17
29
8
40
use autodie qw(:all);
6
7 - 15
=head1 NAME

Geo::Coder::Free::DB::MaxMind::admin2 - driver for http://download.geonames.org/export/dump/admin2Codes.txt

=head1 VERSION

Version 0.51

=cut
16
17our $VERSION = '0.51';
18
19# It contains admin areas drilled down from the admin1 database such as US counties
20# Note that GB has counties
21# A typical line is:
22#       GB.ENG.G5       Kent    Kent    3333158
23# So a look up of 'Sittingbourne' with a Region set to 'G5' in the cities database will give:
24#       gb,sittingbourne,Sittingbourne,G5,41148,51.333333,.75
25
26
17
17
17
36580
13
46
use parent -norequire, 'Geo::Coder::Free::DB::MaxMind::admin';
27
17
17
17
584
15
41
use Geo::Coder::Free::DB::MaxMind::admin;
28
291;