On Fri, 2009-08-21 at 08:54 -0500, Travis Rayhons wrote:
> 3. Does anyone know where I can find the source code to the validator
> plugin for JOSM? I was thinking I could take that code and replicate
> the procedure into my script.
The code is in SVN:
http://svn.openstreetmap.org/applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicateNode.java
One thing I would encourage you to do is to ensure that nodes are
compatible before merging them. I went to some trouble in the original
TIGER import to create duplicate nodes for some situations.
They're also OK in a number of cases, like where there's an interstate
overpass. We may have a single point for the intersection, but we need
two nodes since the roads don't actually touch.
So, please don't merge *all* duplicate nodes. Check to see, for
instance, if they're in different counties. Or, make sure that you're
not merging a motorway to a residential street.
Sounds like a fun project!
-- Dave
___
Talk-us mailing list
Talk-us@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-us