[Imports] Bulk Import of Hotels

Emilie Laffray emilie.laffray at gmail.com
Thu Jan 28 14:05:20 GMT 2010


On 28 January 2010 14:03, andrzej zaborowski <balrogg at gmail.com> wrote:

> 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.
>

+1
Plus in all likelihood, it won't be very far away and will be probably
limited to only a few changes, so finding it shouldn't be a problem.

Emilie Laffray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/imports/attachments/20100128/c43b11ab/attachment.html>


More information about the Imports mailing list