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

2009-08-21 Thread Travis Rayhons
In the past few weeks that I've been working with OSM, I've noticed that
routing is broken in my area due to duplicate nodes in ways around
administrative borders.  I have been using the Validator plugin in JOSM to
assist with identifying and correcting the duplicate nodes.  I have verified
that routing is working after removing the duplicate nodes and joining the
ways.  Now, I would like to create a script that would assist with
identifying and correcting the issue.  Here's some of the issues that I see
with accomplishing this task.

1.  I know that there is currently a project that is removing TIGER tags
from all nodes in the US.  I'm curious to know if possibly this project's
scope includes removing duplicate nodes?  If so, I would like to know how I
can help.

2.  I saw a project for removing duplicate nodes in the Massachusetts area.
Possibly, I could piggy-back with the folks on that project.  If you work on
this project and would like to discuss this further, please contact me.

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.

4.  I'm curious to know if anyone has any concerns/objections to going
through with this task?  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.

Thanks for your help!
-- 
Travis Rayhons
___
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


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