1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Source: libgeo-postcode-perl
Section: perl
Priority: optional
Build-Depends: debhelper (>= 7)
Build-Depends-Indep: perl (>= 5.8.0-7), libdbi-perl
Maintainer: Dominic Hargreaves <dom@earth.li>
Standards-Version: 3.9.1
Homepage: http://search.cpan.org/dist/Geo-Postcode/
Package: libgeo-postcode-perl
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}, libdbi-perl
Description: UK Postcode validation and location
Geo::Postcode will accept full or partial UK postcodes, validate them against
the official spec, separate them into their significant parts, translate them
into map references or co-ordinates and calculate distances between them.
.
The last two features require a postcode database to be supplied separately.
.
It does not check whether the supplied postcode exists: only whether it is
well-formed according to British Standard 7666, which you can find here:
.
http://www.govtalk.gov.uk/gdsc/html/frames/PostCode.htm
.
Geo::Postcode will also work with partial codes, ie areas, districts and
sectors. They won't validate, but you can test them for legitimacy with a
call to valid_fragment, and you can still turn them into grid references.
.
To work with US zipcodes, you need Geo::Postalcode instead.
|