[OSM-dev] [Imports] addressmerge 0.1 release

Jeff Meyer jeff at gwhat.org
Sun Dec 9 20:44:21 GMT 2012


Paul -
Thanks for this - we'll take a look at it / test it with the Seattle Import
data & report back with lessons learned!
Thanks, Jeff



On Sun, Dec 9, 2012 at 1:36 AM, Paul Norman <penorman at mac.com> wrote:

> For the last couple of weeks I've been working on addressmerge, a tool to
> post-process address data by comparing it with existing OSM data. I have
> pushed release 0.1 to https://github.com/pnorman/addressmerge
>
> Currently it will take a file in importable .osm format, compare it with
> existing OSM data in an imposm database and create a resulting importable
> .osm file with address nodes that duplicate existing data removed.
>
> It will correctly handle addresses on building ways, multipolygons and
> anything else in the OSM data. It does not currently handle addresses on
> objects other than nodes in the import data.
>
> Requirements:
>
> An imposm database
> imposm.parser
> python-lxml
> psycopg2
>
> Limitations:
> It relies on imposm.parser which breaks on some XML files. To fix this try
> running xmllint --format original.osm > reformatted.osm
>
> It omits any ways or relations in the input file, relevant or not.
>
> The documentation is currently very minimal.
>
> I intend to make it handle other common address formats aside from
> addresses
> is a decent amount more complicated.
>
>
> _______________________________________________
> Imports mailing list
> Imports at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/imports
>



-- 
Jeff Meyer
Global World History Atlas
www.gwhat.org
jeff at gwhat.org
206-676-2347
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20121209/24746a50/attachment.html>


More information about the dev mailing list