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