[ddj] [School-of-data] Geocoding tutorials on the School of Data Blog

Friedrich Lindenberg friedrich.lindenberg at okfn.org
Tue Feb 19 23:09:16 UTC 2013


Hey Peter,

On Tue, Feb 19, 2013 at 9:27 PM, Peter Murray-Rust <pm286 at cam.ac.uk> wrote:

> This is great.
>
> Could you do one of how to call this from languages like Java or Python?
>

I just wrote this nominatim call in Python:
https://github.com/pudo/dpkg-eu-fts/blob/master/geo.py#L17

The stuff around it is perhaps also interesting, it does Point-in-Polygon
matching (L44) to figure out if one of the geocoded addresses lies within
an EU statistical region so that we can then aggregate by those regions.

Cheers,

 - Friedrich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/data-driven-journalism/attachments/20130220/c907f8fa/attachment-0001.html>


More information about the data-driven-journalism mailing list