[Imports] Bulk Import of Hotels

McGuire, Matthew Matt.McGuire at metc.state.mn.us
Thu Jan 28 14:31:34 GMT 2010


Is there a way to get an RSS feed of changes by tag in addition to bounding box, so that you can just watch [amenity=hotel] within a bounding box?


From: imports-bounces at openstreetmap.org [mailto:imports-bounces at openstreetmap.org] On Behalf Of Emilie Laffray
Sent: Thursday, January 28, 2010 8:05 AM
To: andrzej zaborowski
Cc: imports
Subject: Re: [Imports] Bulk Import of Hotels


On 28 January 2010 14:03, andrzej zaborowski <balrogg at gmail.com<mailto:balrogg at gmail.com>> wrote:
On 28 January 2010 14:51, Pieren <pieren3 at gmail.com<mailto: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/0e51a8dd/attachment.html>


More information about the Imports mailing list