Tuesday, May 25, 2010

Hot to get an address csv file ?

Use the REST services to extract data from the OpenAddresses database.

If you want, for example, all the addresses of a city, make a simple URL like:

http://www.openaddresses.org/addresses.csv?city=Bottens&attrs=street,city,postcode,housenumber

It's also possible to create a zip file to reduce data transfer amount:

http://www.openaddresses.org/addresses.zip?city=Bottens&attrs=street,city,postcode,housenumber


As query parameter, you can use all the string and number attributes mentionned here.

So, don't hesitate to create new addresses, it's then easy to extract and use them ;-)

No comments:

Post a Comment