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
16
16
16
63823
19
195
use strict;
4
16
16
16
22
18
445
use warnings;
5
16
16
16
215
5840
75
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.42

=cut
16
17our $VERSION = '0.43';
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
16
16
16
40305
17
69
use parent -norequire, 'Geo::Coder::Free::DB::MaxMind::admin';
27
16
16
16
629
29
68
use Geo::Coder::Free::DB::MaxMind::admin;
28
291;