mapbox / mapping

OpenStreetMap contributions from the data team at Mapbox
https://wiki.openstreetmap.org/wiki/Mapbox#Mapbox_Data_Team
244 stars 51 forks source link

Mapping missing Exit numbers in USA #165

Closed pratikyadav closed 8 years ago

pratikyadav commented 8 years ago

Task objective

Mapping missing exit numbers on motorways in USA by adding ref tags on motorway_junctions

screen shot 2016-04-01 at 3 44 31 pm Imagery source- crosscountryroads.com

Background

There are over 52,000 highway=motorway_junction in USA with almost 9000 of them missing ref tag representing the corresponding exit number.

Map of highway=motorway_junction without ref tag [as on 30 march 2016]

Focus area

For now following 9 states based on mapillary coverage have been selected as priority areas.

Locate highway=motorway_junction nodes missing exit numbers (represented by blue dots in TMS layer) and add ref=* for corresponding exit number using combination of Department of Transportation(DoT) exit number documents, mapillary images and other sources.

Gist for detailed workflow with examples Last updated 6th April

Changeset comment and source

Comment-> Adding missing exit numbers https://github.com/mapbox/mapping/issues/165 Source-> Bing;Mapillary;Wikipedia

Team

@mapbox/team-data

Duration

Current estimate is 2 weeks

Resources

tms[22]:https://api.mapbox.com/v4/pratikyadav.3b94b1a9/{zoom}/{x}/{y}.png?access_token=pk.eyJ1IjoicHJhdGlreWFkYXYiLCJhIjoiMTA2YWUxNjRkNmFmZGQ4YzAxZWFiNDk0NDM1YjE1YjAifQ.4P6N5dNmA_WQXd3BsJvu5w

gyllen commented 8 years ago

There is a more updated version of mapillary coverage in our vectortiles. You can find more information here http://blog.mapillary.com/update/2015/05/27/vectortiles.html

The endpoint is https://d2munx5tg0hw47.cloudfront.net/tiles/{z}/{x}/{y}.mapbox

talllguy commented 8 years ago

@pratikyadav exciting workflow here! It looks like your link above for State DOT exit numbers is only for California. For Maryland, there isn't a public point based feature representing exit points that I know of. However, you can query on the state's open data portal to look for route segments where the station_description (segment description) include the word "Exit" to find any segments with their exit number in the attributes.

Here is a Gist I made from that query.

talllguy commented 8 years ago

Following up from my comment above. Based on the data in the Gist, you can analyze the segments and determine the Exit Number for all Maryland State maintained roads.

exit-dateset-example

talllguy commented 8 years ago

One other useful thing, you can check your work with the CheckAutopista2 tool. Here's an example with Interstate 83. Red dots indicate no exit numbers are present.

pratikyadav commented 8 years ago

@gyllen This is great!! Mapillary coverage is going to be an important source in this mapping project. 🚀

@talllguy The gist for Marryland looks great. Nice work 👏 🚀

We took CheckAutopista2 for a small trial before coming to this final workflow. Indeed, the tool is great, easy to use and can speed up the productivity. The only issue is its dependency on overpass-turbo api. We faced some problem when multiple people were sending request from the same IP address. We are looking for ways to overcome this issue and include CheckAutopista2 asap in our workflow.

planemad commented 8 years ago

Observations

ramyaragupathy commented 8 years ago

While working on California highway CA 24, came across this ref tag. As per the tag information there should be two exits, one to the left and the other to the right. But I see only one road branching out from this point. Could someone please help understand how this works?

https://www.openstreetmap.org/node/1215636490/history screenshot 2016-04-05 14 59 37

cc @planemad @pratikyadav

planemad commented 8 years ago

@ramyaragupathy just checked it out. This is basically the end of CA-24 and both the roads at the fork are each considered an exit, one heading southbound on I-680 and one northbound on I-680.

This is exactly what is mentioned in the caltrans list.

screenshot 2016-04-05 15 29 10

cc @1ec5

planemad commented 8 years ago

What would be the best way to add multiple refs to an exit?

Example: Exit 434A, 434B in SF on US-101

screenshot 2016-04-05 15 36 20

Various options ares:

cc @1ec5 @ajashton

planemad commented 8 years ago

Is it common to have multiple physical exits with the same ref? Should the missing ones for the weigh station exit be added?

http://k1wiosm.github.io/checkautopista2/?id=69364&lat=38.7015&lon=-121.3173&z=15

screenshot 2016-04-05 16 08 43
jinalfoflia commented 8 years ago

I have posted the diary with the above contents.

/cc @planemad @pratikyadav

1ec5 commented 8 years ago

What would be the best way to add multiple refs to an exit?

ref:left and ref:right would be reasonable, I think. The wiki recommends a different approach using a semicolon, but both schemes could be used concurrently.

Is it common to have multiple physical exits with the same ref?

It’s common for opposing directions of a divided highway to have separate physical exits with the same ref. So both northbound and southbound I-75 might each have an exit 28A and 28B at the same interchange; exit 28A might go eastbound from northbound I-75 but westbound from southbound I-75.

Regarding missing exits in California, be sure to verify the presence of number signage on Mapillary. I just spot-checked U.S. 101 in the San José area, and some exits have refs on OSM despite being unnumbered on signage.

For example, this northbound exit node has a ref. As I discovered driving down this stretch yesterday, this particular exit is numbered going southbound, but not going northbound. I think cases like these, where there’s an official exit number but no signage, should be tagged with unsigned_ref to avoid causing navigation software to use a number that the user can’t find.

talllguy commented 8 years ago

I believe the ref:left and ref:right are the old way, where junction nodes were solely used for routing directions. From what I've seen with the Mapzen routing engine, the router can infer right or left at the fork, based on the tags on the downstream highway link, if they exist. Conversely, if there aren't downstream destination:* tags, I suppose it'd be best to leave the ref:left and ref:right.

For the sign in the wiki: 2016-04-05 13_00_10-openstreetmap

pratikyadav commented 8 years ago

Recapping our work from last week (04/03 - 04/08) -

We added tags on 202 motorway junctions that included: 1. exit numbers i.e ref=* , 2. missing exit numbers noref=yes at the rate of ~16 tags per hour while checking for references on Mapillary Imagery, official DOT documentation, and Wikipedia. Based on this run, and progress, our estimate is to be able to complete adding exit tags in all 9 states in one week. Here is a full breakdown of what we did:

screen shot 2016-04-11 at 3 00 24 pm

planemad commented 8 years ago

Created an Overpass query to get a better sense of the stats:

@pratikyadav mismatch with the stats from osm-query is probably because it used a bbox rather than the USA polygon with the above overpass query. The 5 exits with both ref and noref needs a recheck.

rickmastfan67 commented 8 years ago

You guys might want to fix your 'changeset' comment for this project. You're linking people to Issue #164, instead of here to #165. Had to look around here to get to the correct place after seeing several changesets with the incorrect issue link in them.

pratikyadav commented 8 years ago

@rickmastfan67 Thanks for flagging this. I have changed the comment and notified the team to use 165 instead of 164.

pratikyadav commented 8 years ago

Project Summary

We finished the mapping of exit numbers for these 9 states using Checkautopist2 and here are some observations-

Break-down-

OSM Diary -> https://www.openstreetmap.org/user/jinalfoflia/diary/38501

@mapbox/team-data great work 🚀

Shout-out for @k1wiosm for checkautopista2 and @talllguy for flagging the tool here. 👏 🚀