[OSM-talk] RFC: Import of OpenGeoDB to OSM
Sven Anders
sven at anders-hamburg.de
Sun Jan 13 12:52:32 GMT 2008
Am Sonntag, 13. Januar 2008 11:01 schrieb Martijn van Oosterhout:
> On Jan 13, 2008 8:31 AM, Martin Trautmann <traut at gmx.de> wrote:
> > When you import everything, you will have lots of duplicate places.
>
> What would be instructive is:
>
> - Convert the source to OSM and
> - Use osmxapi to extract what's already there
>
> Load both into JOSM and see exactly how much is duplicated... Done
> right you can even remove the duplication *before* it enters the DB,
> which a Good Thing (tm).
The Script is already looking if there is a place which is:
* near by and
* have the same name
If it found such a node it merge the OSM and the OpenGeoDB Node.
To do this, the bot use osmxapi with [place=*].
If you look to "Example Data" on
http://svenanders.openstreetmap.de/opengeodb/
you would see nodes with postive IDs (that are nodes used by OSM) and nodes
with negativ IDs (that are new nodes).
Best Regards
Sven
More information about the talk
mailing list