[Talk-us] talk-us-ma: Duplicate nodes in mass

Frederik Ramm frederik at remote.org
Thu Aug 20 02:50:19 BST 2009


Greg,

Greg Troxel wrote:
> But I think we
> need some sort of "find duplicate nodes, and if they match properties,
> or just have different massgis import dates, merge them" bot.  This is
> beyond my clue level presently.

There are roughly 7.1 million nodes in Massachussetts, and 270k of them 
share the same location as another node. This is just an analysis based 
on location, not on tags, but it can be assumed that most of those 270k 
nodes are not intentionally duplicate. It is possible that there are 
duplicate ways as well. But it is not a big problem, it is something 
that could be fixed in a day.

I could help with this but I would need very clear instructions what to 
look for, and what to do. Merging nodes may lead to duplicate ways that 
share exactly the same nodes (these can probably be removed 
automatically), but there might also be situations where you have one 
way that uses the nodes A, B1, C1 and one way that uses B2, C2, D (with 
B1 being at the same location as B2, and C1 at the same location as C2), 
so after merging nodes you'd then end up with the non-identical ways 
A,B,C and B,C,D... all this should be considered beforehand.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"




More information about the Talk-us mailing list