Has anyone converted IATI geocoded data from 1.04 XML to GeoJSON? Are there any simple parsers that anyone has written?

Comments (2)

Jake Garcia
Jake Garcia

Hi John –

At the Foundation Center, we’re working on this now, we should have an IATI-to-GeoJSON prototype up by early November.

Also, we’re working on the auto-geocoding web service/API that we discussed at the last TAG meeting, where users input plain text (project description, etc.), then the autogeocoder will parse out the geographic text and predict the best possible Geonames ID values for those geographic entities mentioned. There will be more features (the ability to submit corroborating evidence of important related geographies to help influence the results, like recipient headquarter city, etc. - which is good if the plain text contains common geographic names like “Springfield”.)

Dev Gateways is also working on something similar, we hope our two web services can eventually join forces to help give the best possible prediction.
Jake

David Megginson
David Megginson

It’s pretty straight-forward if there’s lat/lon data in the IATI (perhaps 1-4 hours’ coding). We just added HXL-to-GeoJSON support into the Python HXL library; for IATI, there’s just the slightly greater effort of parsing an hierarchical XML document rather than a simple tabular dataset.

Image removed. GitHub Image removed. HXLStandard/libhxl-python

Python support library for the Humanitarian Exchange Language (HXL) data standard. - HXLStandard/libhxl-python

Cheers, David


Please log in or sign up to comment.