Up to date AusPost postcode file?

Everything else that doesn't fall into one of the other PB categories.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4801
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Up to date AusPost postcode file?

Post by Fangbeast »

Does anyone happen to have an up-to-date Australia Post postcode file?

Used to be free once but they've taken to releasing it on useless PDF format or you have to pay big money for the useable csv file now.

Greedy mongrels.

Not only that, their postage has gone up and unless you pay for a premium delivery, your mail is now 2 days slower (Not that they ever delivered on time before)
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Up to date AusPost postcode file?

Post by IdeasVacuum »

Hey Fangbeast, perhaps a little PB app could extract the postcodes from the PDF?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: Up to date AusPost postcode file?

Post by Dude »

This converts it to plain text just fine:

http://convertonlinefree.com/PDFToTXTEN.aspx

Then, just write a quick app to parse it, remembering that it's against the Terms to decompile or reverse-engineer the PDF. ;)
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4801
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Up to date AusPost postcode file?

Post by Fangbeast »

IdeasVacuum wrote:Hey Fangbeast, perhaps a little PB app could extract the postcodes from the PDF?
IdeasVacuum, I don't know of any off the top of my head. There is too much crap on each page to easily parse it as well. Some items go over 3 lines, some don't, some pages have extra rubbish, some don't. It would be a nightmare to clean up.
It's all over the place in some respects.

If auspost paid me the thousands of dollars they owe me for fanatical non delivery of paid for items, I'd buy the csv!

The last time they offered a free CSV was in 2012 so I guess I'm stuck with that one for now.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: Up to date AusPost postcode file?

Post by Dude »

Fangbeast wrote:It would be a nightmare to clean up.
The converted plain text version from the website I linked makes it fairly clean.

Tell you what: I'll convert it for you into CSV format, if you tell me exactly how the CSV should be formatted. :) Or give me a link to the 2012 version so I can see for myself.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4801
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Up to date AusPost postcode file?

Post by Fangbeast »

Dude wrote:
Fangbeast wrote:It would be a nightmare to clean up.
The converted plain text version from the website I linked makes it fairly clean.

Tell you what: I'll convert it for you into CSV format, if you tell me exactly how the CSV should be formatted. :) Or give me a link to the 2012 version so I can see for myself.
Thanks for the offer but I'll be right mate. Got some help for the old feeble brain already:):) Too much to do, so little brain!

Am rewriting a 10 year old Addressbook program for the family and friends (Remind me why I do this to myself?? (Feature creep anyone??)) and already up to 16,000 lines. (I know, I know, it's small compared to everyone else's but it's big for me!)
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
TI-994A
Addict
Addict
Posts: 2791
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: Up to date AusPost postcode file?

Post by TI-994A »

Fangbeast wrote:...rewriting a 10 year old Addressbook program ... and already up to 16,000 lines. (I know, I know, it's small compared to everyone else's but it's big for me!)
Hi Fangbeast. In all honesty, 16,000 lines of code for an address book application is pretty big. :shock:

What does it do? :lol:
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4801
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Up to date AusPost postcode file?

Post by Fangbeast »

TI-994A wrote:
Fangbeast wrote:...rewriting a 10 year old Addressbook program ... and already up to 16,000 lines. (I know, I know, it's small compared to everyone else's but it's big for me!)
Hi Fangbeast. In all honesty, 16,000 lines of code for an address book application is pretty big. :shock:

What does it do? :lol:
Manage addresses:):0 (Cue evil laughter: HEHEHEHEHEEHEH)

I think half of that is formatting and spaces though:):) When I have finished up to the data management part, I'll send it to you and you can tell me what you think. You will have to download and install the Dymo SDK as it can print Dymo address labels. Or not, if you don't need that feature.

Just have to finish up the user replaceable keyboard shortcuts before it can go out.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Post Reply