[Talk-us] Proposed automated motorway_link mass edit

2009-07-16 Thread Frederik Ramm
Hi,

I'm new on this list but I assume that the problem I'm talking about 
has been widely discussed. Someone from the US alerted me to the fact 
that TIGER only has one type of road link which was imported as 
motorway_link, and therefore you have little bits of motorway_link 
sprinkled liberally across the US.

I propose to run a script that downgrades every motorway_link to the 
highest road type to which it is connected. A motorway_link that 
connects to a motorway remains unchanged; a motorway_link that connects 
a primary and a secondary road will become primary_link, one that 
connects two tracks (yes, these do exist) will become a track also, and 
everything in between.

(This will sometimes cause whole sets of interconnected motorway_links 
to be downgraded, like this: 
http://www.openstreetmap.org/?lat=25.7839&lon=-80.28898&zoom=17&layers=0B00FTFT)

Preliminary analysis shows that there would be roughly 28k changes 
across the whole US. I have prepared a full list of all proposed 
changes, arranged by state and county, here:

http://www.remote.org/frederik/tmp/us-motorway-link-downgrade/

I invite you to make some random checks (way IDs are linked to the 
openstreetmap.org browse page where you get to see the map context) to 
see whether my script does the right thing.

I would then run the script after the weekend if nobody has any 
objections. (Anything that is changed by hand between now and then will 
not be touched by the script.)

Let me know what you think.

Bye
Frederik

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

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


Re: [Talk-us] Proposed automated motorway_link mass edit

2009-07-16 Thread Jeffrey Ollie
On Thu, Jul 16, 2009 at 8:41 PM, Frederik Ramm wrote:
>
> Let me know what you think.

I looked at a few of the ways near me and the changes looked good to me...

-- 
Jeff Ollie

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


Re: [Talk-us] Proposed automated motorway_link mass edit

2009-07-16 Thread Alan Mintz
At 2009-07-16 18:41, you wrote:
>I propose to run a script that downgrades every motorway_link to the
>highest road type to which it is connected.

...

>Preliminary analysis shows that there would be roughly 28k changes
>across the whole US. I have prepared a full list of all proposed
>changes, arranged by state and county, here:
>
>http://www.remote.org/frederik/tmp/us-motorway-link-downgrade/


In San Bernardino County, CA, all but two of these were cases where the 
motorway_link was a ramp that had not been connected to the motorway (which 
I fixed). I'd encourage others to review and connect the ramps in their 
area of interest that are not connected, and for the bulk change to be run 
after that.

Alternatively, maybe a script could be written to automatically link these 
unconnected roadways if their unconnected endpoint falls within a small 
distance (feet) of a motorway and then re-evaluate what is left.


--
Alan Mintz 


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


Re: [Talk-us] Proposed automated motorway_link mass edit

2009-07-16 Thread Dave Hansen
On Fri, 2009-07-17 at 03:41 +0200, Frederik Ramm wrote:
> Preliminary analysis shows that there would be roughly 28k changes 
> across the whole US. I have prepared a full list of all proposed 
> changes, arranged by state and county, here:
> 
> http://www.remote.org/frederik/tmp/us-motorway-link-downgrade/

Frederik, that's exceedingly cool stuff.  I have a validator plugin test
to do this which I was testing last weekend, but yours is on a
completely different scale.  Notice the lack of edits in Washington,
county, OR :).  Yours is very nice work.

Can you share some of the scripts and methods you used for this?  I do
think that some automated fix-bots would be nice to have run
periodically for cleanups like this that are pretty easy to verify.  I'd
also like to look into some gluing back together of the TIGER counties
and I wonder how suitable this would be.

Again, very, very cool stuff.

-- Dave


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


Re: [Talk-us] Proposed automated motorway_link mass edit

2009-07-16 Thread Apollinaris Schoell
very nice check. it finds a lot of problems.
but the solution to fix it is wrong. checked 4 ways and on 3 it will  
break things even more.
did the fixes in josm but did not upload yet. can send the osm file if  
you like to check.
the tiger import has lot's of places where this is the correct fix.  
but it's wrong when the motorway_link is correct but just not  
connected to the motorway.
  after this change connection is still missing AND highway tag will  
be wrong.

I think you need to break it into 2 categories.
1) links which are connected at least to 2 other highways and none of  
the connections is in the same category
- can be fixed in most cases without breaking anything.
2) connected only to one other way. must be fixed manually. If you  
create the same report just for this category it will be great. and if  
you add a link for the josm remote plugin  it will be amazing.

thanks



On 16 Jul 2009, at 18:41 , Frederik Ramm wrote:

> Hi,
>
>I'm new on this list but I assume that the problem I'm talking  
> about
> has been widely discussed. Someone from the US alerted me to the fact
> that TIGER only has one type of road link which was imported as
> motorway_link, and therefore you have little bits of motorway_link
> sprinkled liberally across the US.
>
> I propose to run a script that downgrades every motorway_link to the
> highest road type to which it is connected. A motorway_link that
> connects to a motorway remains unchanged; a motorway_link that  
> connects
> a primary and a secondary road will become primary_link, one that
> connects two tracks (yes, these do exist) will become a track also,  
> and
> everything in between.
>
> (This will sometimes cause whole sets of interconnected motorway_links
> to be downgraded, like this:
> http://www.openstreetmap.org/?lat=25.7839&lon=-80.28898&zoom=17&layers=0B00FTFT)
>
> Preliminary analysis shows that there would be roughly 28k changes
> across the whole US. I have prepared a full list of all proposed
> changes, arranged by state and county, here:
>
> http://www.remote.org/frederik/tmp/us-motorway-link-downgrade/
>
> I invite you to make some random checks (way IDs are linked to the
> openstreetmap.org browse page where you get to see the map context) to
> see whether my script does the right thing.
>
> I would then run the script after the weekend if nobody has any
> objections. (Anything that is changed by hand between now and then  
> will
> not be touched by the script.)
>
> Let me know what you think.
>
> Bye
> Frederik
>
> -- 
> Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09"  
> E008°23'33"
>
> ___
> Talk-us mailing list
> Talk-us@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-us


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