Re: [Talk-us] Removing duplicates nodes in Iowa/US

2009-08-21 Thread Dave Hansen
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


Re: [Talk-us] Removing duplicates nodes in Iowa/US

2009-08-21 Thread Mike N.
>  If there is some other project going on that is working towards this 
> goal, I would appreciate talking with you and seeing what I can do to 
> assist with a common goal.


  There is http://funmap.co.uk/cityrouting/dupenodes.html , which detects 
924 duplicate nodes in routed highways.   I imagine that including all roads 
which are not on this map would result in many more nodes however.



___
Talk-us mailing list
Talk-us@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-us