Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.1.4

Bug #15454 Postcode list is out of date
Submitted: 2008-12-30 10:24 UTC
From: skwashd Assigned: doconnor
Status: Closed Package: Validate_AU (version CVS)
PHP Version: 5.2.6 OS: Linux
Roadmaps: (Not assigned)    

 [2008-12-30 10:24 UTC] skwashd (Dave Hall)
Description: ------------ The post code list file (Validate/data/AU_postcodes.txt) is out of date. The official Australia Post postcode list can be downloaded from which contains a csv file with the list. To make it easier to generate a new list I put together a little script - sorry no docs except for the usage message. If you think it is useful I can document it properly. Expected result: ---------------- The postcode list would be updated regularly (and easily) Actual result: -------------- The postcode list is over 3 years old and there doesn't seem to be an easy way to update it.


 [2008-12-30 10:39 UTC] doconnor (Daniel O'Connor)
Ah yeah, this is a problem I've got at work too. Haven't figured out a way programmatically that is quicker than: Download -> Unzip -> Openoffice -> Editplus / Gedit -> Sort, Remove duplicates -> Paste
 [2008-12-30 10:51 UTC] skwashd (Dave Hall)
Download -> Unzip -> Run Script -> Checkin is in improvement. It would probably be possible to use streams to handle the first 2 steps in the script, but I didn't get that far with it.
 [2008-12-30 11:09 UTC] doconnor (Daniel O'Connor)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Spun off file process majigger to Request #15457