[nzlug] Post Codes
ronw at paradise.net.nz
ronw at paradise.net.nz
Fri Sep 1 15:55:20 NZST 2006
no they do not release the csv's. They used to but with new codes they want you
to buy them which I could not afford or even want to if I could afford. It is
public information released by a government department and it shoudl be free.
Quoting Simon Green <simon at simongreen.net>:
> On 01/09/06, ronw at paradise.net.nz <ronw at paradise.net.nz> wrote:
> > NZ Post have finally issued the new postcodes in a downloadabel pdf
> format. I
> > would like to be able to scrape the pdf file and get data into a
> database.
> > Anyone have any ideas on how best to rip the data out of the pdf and
> into a
> > file. The pdf is 555 pages long and of course there is other rubbish
> on the page
> > like headers etc.
>
> NZ Post also release the data in CSV format[1]. I would strongly
> recommend that you use that instead of attempting to scrape the pdf
> file. You are only asking for trouble (and way much more work for no
> gain).
>
> -- simon
>
> [1] or at least they did under the old system. Pretty sure things
> won't have changed with the new postcodes.
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>
-
Ron Wilson
More information about the NZLUG
mailing list