checkautopista2 icon indicating copy to clipboard operation
checkautopista2 copied to clipboard

Make checkautopista "checkcarretera"

Open yopaseopor opened this issue 8 years ago • 7 comments

First of all, what a great tool. Second I want to make a suggestion: Transform checkautopista to checkcarretera (checkroad) allowing other ways than motorways, also roads without relations. And also , as your software make the destination traffic sign, what about other traffic signs (with codes extracted from OSM data)? You can find it in https://taginfo.openstreetmap.org/projects/traffic_signs#tags You can take pics and codes from https://github.com/yopaseopor/beta_style_josm/tree/master/traffic_signs

yopaseopor avatar Sep 26 '16 21:09 yopaseopor

What is your idea behind allowing roads other than motorways? The main thing about checkautopista is that you can see all the exits of a motorway at once, see how they are mapped, and see what information they are missing. Other roads don't have exits, they have intersections.

I will think about allowing motorways without relation and I will take a look at those traffic signs.

Thank you for the suggestions!

k1wiosm avatar Sep 28 '16 07:09 k1wiosm

The highway=motorway_junction is also being used on other road categories. If you look at https://wiki.openstreetmap.org/wiki/Tag:highway%3Dmotorway_junction it even spells out: This is usually found along a highway=motorway, but is also applicable to other roads with numbered or named junctions including some highway=trunk and highway=primary roads.

e.g. if you think of Estonia which doesn't have a single kilometer of highway=motorway but trunk roads where checkautopista works fine: http://k1wiosm.github.io/checkautopista2/?id=1751143&lat=58.6655&lon=23.4393&z=8

I think broadening the filter to include at least trunk roads, possibly even primaries is worth investigating.

claudiush avatar Jan 18 '17 17:01 claudiush

I first want to say that you have a great tool here!

I also think that it would be useful for this tool to also work for roads other than motorways as well as all links rather than only "motorway_junctions".

For both navigation purposes and completeness of the map, a link should have at least on of the following: "destination=", "destination:ref=", "destination:street=", "destination:ref:to=", and a few others. Amongst other criteria that I'm sure you know, for example: a "motorway_junction" should be connected to a" _link" (and the link's "junction:ref=" should have the same reference as the junction's ref) and also that a "_link" that leads into a road with a reference should have a "destination:ref=" tag with the road's ref.

I think allowing the filters to show for all links would be extremely useful. If this is something you would be interested in implementing (or maybe need help with), I have some ideas as to how to properly check for these sorts of things.

zlavergne avatar Aug 03 '17 19:08 zlavergne

Thank you for your comments!

@zlavergne, can you show me an example of a link you would like to be shown in checkautopista?

k1wiosm avatar Aug 09 '17 15:08 k1wiosm

Here's an example of a link in Iceland that is incorrect and incomplete: https://www.openstreetmap.org/way/5188855

screen shot 2017-08-09 at 2 35 02 pm

I think your tool could flag the link for the following reasons (in order of decreasing importance):

  • the link has no destination tags (destination=*, destination:ref=*, destination:street=*, destination:ref:to=*, destination:int_ref=*, or destination:country=*)
  • the link leads to a road with a ref=* but the link doesn't have a destination:ref=* tag (if a link takes you to a road with a ref tag, the link needs the destination:ref=* tag
  • the link has a ref=* tag (links can have a junction:ref=* tag if the motorway_junction has a reference)
  • the link has a name=* tag (links very rarely have names - this could me a minor flag as there is a chance it is correct)

I also think this check could be completed with the flags you already have:

  • a motorway_junction with a ref=* should be connected to a link with junction:ref=* with the same value

zlavergne avatar Aug 09 '17 20:08 zlavergne

This tool is fantastic and I would love to see it extended to other highway types, at least primary. Even if they are not motorways, it is still useful to check things like lanes and maxspeed.

Perhaps a quick enhancement to allow for directly typing in the relation id for non-motorway highways?

kevinp2 avatar Oct 12 '22 17:10 kevinp2

@kevinp2 You can already drop relation IDs for non-motorway routes in the "Get by relation ID" field in the UI: Checkautopista_relationID

claudiush avatar Dec 08 '22 17:12 claudiush