[Imports] Bulk Import of Hotels

andrzej zaborowski balrogg at gmail.com
Thu Jan 28 14:03:24 GMT 2010


On 28 January 2010 14:51, Pieren <pieren3 at gmail.com> wrote:
> But what happens if someone replaces your imported node with a new one or
> the node is deleted or someone just changes your primary key for fun ?
> I think it would be better to keep the node_id or way_id (building) in your
> own database and check regularly if your element is still at the right
> location (with some tolerance) with the right tags (with some tolerance) .
> Then if the POI has been removed, check if the same one has not been
> recreated around.

This seems hopelessly complicated, the way I've imagined importing
this kind of data (haven't done it myself) and keeping it up to date
is as you say, keeping the node Id / way Id in a local table together
with the version.  If the version has changed the next time you want
to update, you leave this hotel out and never touch it again with your
automated scripts.  The changed version means that the community has
picked up the maintenance of this place and you don't need to bother
anymore.

Cheers




More information about the Imports mailing list