[OSM-talk-be] CRAB Import Tool

Glenn Plas glenn at byte-consult.be
Mon Oct 21 19:26:22 UTC 2013


On 2013-10-21 20:57, Kurt Roeckx wrote:
> On Mon, Oct 21, 2013 at 08:05:50PM +0200, Ben Abelshausen wrote:
>>> I'm also wondering if we want to add some kind of reference to
>>> the ID from CRAB.
>> I'm not in favour of keeping external id's in OSM, the address itself
>> should be the id and you cannot rely on it staying on the map because
>> anyone can remove it.
> I was just thinking about how to keep in sync with their database,
> and to try and find out which points are mapped and which are not.
>
> I'm also considering trying to do a full import and merging
> existing nodes / houses with their data and things like that.  I
> would actually like to mostly automate importing updates comming
> from them.  I think that at some point we will at least need a way
> to see see the difference between the 2, and having a direct
> relation betweem them could make things easier.

Yup, you'll need a foreign key if you want to manage that 
automatically.  I aggree.  If not you could endup merging the same stuff 
all over again.  Or worse, delete old nodes and create new ones, 
enlarging the changesets.

But I would caution for doing an automagical full import and merge 
unless you're doing only for the referenced stuff, but new data and 
merged I would stll want to review it.   I've hardly ever had this sort 
of database migration work at the first attempt....

Now lets hope someone at CRAB isn't planning on doing the same but in 
the other direction ;-) , I keep wondering what kind of feedback loop 
that would create....

Glenn





More information about the Talk-be mailing list