views:

718

answers:

6

Hi,

I'm struggling to understand what you would get from the Royal Mail if you bought their PAF file dataset of UK addresses.

I was expecting that PAF was some form of database which you would host yourself, and the Royal Mail provide APIs into that database.

However, after reading this, I'm presuming that all you get is a series of files containing the data. I can't find any obvious information regarding an API.

  • Are there any libraries available to help you handle these files, especially from Java?
  • Do you have to parse the file yourself and stick it in your own database, so you can do quick lookups from an application?
  • If all this is true, why would you ever bother buying this off the Royal Mail? Aren't all the third party providers, with their web based APIs, just far simpler to use - in terms of both programming and data maintenance?

Apologies if I've missed the obvious on this one, but I find the Royal Mail site lacking in information. I'm beginning to think that I've misunderstood their PAF file offering.

Thanks.

+1  A: 

It's all in wikipedia

http://en.wikipedia.org/wiki/Postcode_Address_File

skaffman
+1  A: 

The postcode address file (PAF) is a set of data-files provided by Royal Mail that contain all address in the UK. My understanding is that it's normally updated every three months.

I'm aware of two companies that have products that supply APIs into the PAF data: QAS and Capscan. With these you're able to search addresses to find missing postcodes or vice versa. APIs include both web-based solutions and native calls.

Why you'd buy direct from Royal Mail? Because you'd want to write your own query tools rather rely on third party products or you want to do data-mining that other products can't provide.

Could you import into a SQL database? Yes, but only after you'd written your own PAF file parser.

Why use these over web-based tools? Because you're sitting behind an intranet, have limited internet access from servers, restrictive licensing from any web-based solution, etc.

Chris J
Thanks - I guess I should have outlined my use case in the question... just doing a simple address lookup from a postcode in a web application.
A_M
A: 

I've subsequently found this page where you can order a sample data set. It states:

Please be aware that Raw Data contains no software and the data must be processed for use in IT applications. If you do not wish to program PAF or Postzon then we can supply it to you in a pre-written application known as UK Addresses on CD

The UK Addresses on CD page goes on about something called "UK Addresses Utilities", and it states:

The UK Addresses CD also contains a set of dynamic link libraries and provides the ability to interrogate the address datasets programmatically through a .NET 2.0(+) DLL.

A_M
+1  A: 

Check out www.PostcodeAnywhere.co.uk a web-service based lookup site. Also desktop lookup app available. Decision likley to be based on lookup volume, ease of use, costs, etc. But for low-medium volumes, simple implementation in a few minutes and 'automatic' maintenance built-in.

andora
A: 

I have developed application to import PAF into SQL database. Please contact me at [email protected] if you are interested.

Peter Worhol
A: 

www.postcoder.com

We sell PAF (raw data), APIs, Web Services, Data Cleansing etc.

Email me at [email protected] for details. Free trials, technical support and competative costs.

Lee