Highway classification

I have updated the wiki pages of Israel to the new accepted standard.
http://wiki.openstreetmap.org/wiki/WikiProject_Israel#Conventions

So the next step would be to start migrating the roads to the new standard.
Can somebody automate this?

  1. primary=>trunk
  2. primary_link=>trunk_link
  3. secondary=>primary
  4. secondary_link => primary_link
  5. Then we will manually search for all primary roads that have no ref and check what status this road should get.

I’m currently running through my own list making sure that all primary roads are having a ref key.
I have already completed this job on motorways. ALL motorways in Israel have a “ref” key.

How can this may be done automatically? the assumption was to change road types accordingly to the road ref sign colors. Or I’m wrong?

correct.

Todays primary (red sign) and secondary (green sign) road classification is fully the same as in the future standard.
The only difference is that we move them one class higher.
From primary => trunk. From secondary => primary.
This is the only thing we can somehow automate.

There will be no automate to find the 4 digits roads and define them as secondary.
There will also be no automate to find the differences between a highway (blue sign) and a trunk (red sign).

We have currently around 1.000 primary road parts (bridge and roundabout included).
And around 1.100 secondary road parts (bridge and roundabout included).
I hope you don’t want to go through all of them and change them manually?

ah, ok, I understand.
but making automated changes may be little problematic, as any bbox will contain also our neighbours.
I can create query which will return all highways by type. Possible, I can try to use smaller bbox’es, such as only roads near borders will be unchanged.

Any other ideas?

Would be interesting how you are importing it back to OSM.
I just learned how to fetch data and filter it from OSM. No clue how to write back.

It’s easier than you think :slight_smile:
Just export to osm file, open it in josm, check/edit/validate and upload using same josm.

Before we start our bulk change, we must be sure nobody do such changes manually.
I think on near weekend I can handle this.

Ohh… I just wanted to do that but the first step is already finished as it looks.
Seems like all primary roads are now trunk. From zoom level 13 all major roads are green :slight_smile:

Yesterday I made sure that all “old” primary roads are defined correctly and have a ref tag.

So I would wait for tomorrow for a new Geofabrik extract to check if really everything is changed and nothing was left.
And I would like to migrate all secondary to primary tomorrow. My first bulk change.

Fine :slight_smile:

I checked for primary road leftovers and found several and fixed them.
At the moment there is no primary road in Israel.

Next task:

Bulk change all secondary roads with a ref=* tag to primary roads.
I will run this upload in the next hour if there is no technical problem :slight_smile:

This way we will have all secondary roads left that need a manual check if they will be kept as secondary or is the ref tag was missing.
There should be never a primary road without a ref tag in Israel. Same goes for trunk and motorway.

OK. You probably saw more street colors in Israel. Blue, Green, Red, Orange and Yellow roads are now standard on every view in Mapnik.

It was not that simple but I managed to upload the data through JOSM.
Now it’s time for manual work.

We need to check for all secondary roads and see why they are defined like that.
In most cases they have no ref tag as they are simply defined this way because its a big street with the function of connecting important places.
So it should stay as secondary. If the secondary is surrounded by a primary road we need to change it to primary too and add the ref tag.

Next task:
Tomorrow I will check for any kind of missings and go through all secondary leftovers.
If there is no problems I will upgrade all 4 digit tertiary- roads to secondary.

Happy to announce that all leftovers are taken care of.
We have currently only secondary (-link) roads left that have no digits at are declared as very important.
All Primary, Trunk, Motorway and their -link roads are defined and finished. There is nothing that I need to their anymore.

Here some (if not all) exceptional secondary roads that Eric asked for and that where defined like before the new road classification:
[If you have time it would be great to over them and check if this definition makes really sense]

http://www.openstreetmap.org/?lat=31.84632&lon=35.17282&zoom=15&layers=M [Maybe a extension of 437?]
http://www.openstreetmap.org/?lat=32.70324&lon=35.30526&zoom=15&layers=M [Is not a exception as it has the ref 3001]
http://www.openstreetmap.org/?lat=32.5077&lon=35.49606&zoom=16&layers=M [Does this really make sense? I would define it as TERTIARY]
http://www.openstreetmap.org/?lat=32.5052&lon=34.9101&zoom=14&layers=M [Does this really make sense? I would define it as TERTIARY]
http://www.openstreetmap.org/?lat=32.44418&lon=34.92091&zoom=15&layers=M
http://www.openstreetmap.org/?lat=32.1016&lon=34.854&zoom=14&layers=M [Will probably get a new classification and number when finished.]
http://www.openstreetmap.org/?lat=31.90105&lon=34.82374&zoom=15&layers=M
http://www.openstreetmap.org/?lat=31.2714&lon=34.793&zoom=14&layers=M
http://www.openstreetmap.org/?lat=31.78905&lon=35.24872&zoom=15&layers=M [Really no ref number for this road?]
http://www.openstreetmap.org/?lat=32.785&lon=35.0035&zoom=14&layers=M

As a very strict rule:
All motorways, trunk and primary roads have to have a “ref” tag. This means also roundabouts.
This way we could identify a issue in the road system very fast and fix it.

There is currently only one exception that needs discussion as its defined as trunk but has no ref key. According to our new rule it would need to be changed to secondary:
HaTeufa in the Airport Ben Gurion http://www.openstreetmap.org/?lat=31.99109&lon=34.88345&zoom=16&layers=M

Next task:
Bulk update all TERTIARY with 4 digits to Secondary roads. (More than 500 street parts in Israel)
This will be done tomorrow.

(UPDATE: The links in my post don’t work, I’m quoting from the previous post, use the links there instead)

http://www.openstreetmap.org/?lat=31.84 … 5&layers=M [Maybe a extension of 437?]

This road is only used by Palestinians, I don’t know if it’s even part of the Israel OSM project.

http://www.openstreetmap.org/?lat=32.70 … 5&layers=M [Is not a exception as it has the ref 3001]

This, and many other roads in Israeli Arab communities, have road numbers instead of names. These are not Israeli reference numbers, they are local name-numbers! So they should not be categorized according to the number. We have to be careful about this. However, this particular road is important enough that I think it should be “secondary” anyway.

http://www.openstreetmap.org/?lat=32.50 … 6&layers=M [Does this really make sense? I would define it as TERTIARY]

This is effectively an intercity road, so a higher classification would make sense to me, but “tertiary” would also be OK.

http://www.openstreetmap.org/?lat=32.50 … 4&layers=M [Does this really make sense? I would define it as TERTIARY]

Definitely “tertiary”

http://www.openstreetmap.org/?lat=32.44 … 5&layers=M

OK

http://www.openstreetmap.org/?lat=32.10 … 4&layers=M [Will probably get a new classification and number when finished.]

OK

http://www.openstreetmap.org/?lat=31.90 … 5&layers=M
http://www.openstreetmap.org/?lat=31.27 … 4&layers=M
http://www.openstreetmap.org/?lat=31.78 … 5&layers=M [Really no ref number for this road?]
http://www.openstreetmap.org/?lat=32.78 … 4&layers=M

OK,OK,OK,OK.
BTW, I think there are some more roads in the Tel Aviv and Jerusalem areas that deserve “secondary”, but we can do that later.

FINISHED!

Thats it… I have bulk uploaded today all TERTIARY with 4 digits as Secondary roads. (More than 700 street parts)
The rest needs to be done manually and I really hope that everybody will look around his area and fix the TERTIARY_links to secondary_links.

What I already see is a great picture of the country with all its major connection roads.
@eric: you are welcome to add your secondary roads in Jerusalem and TelAviv now. No reason to wait :slight_smile:

I downgraded the road to TERTIARY. Makes a lot more sense. Complains can go to me :slight_smile:

I have handled the Palestinian road system as it was in Israel.
If there is any demand of change they are welcome to do it now.

I have now also checked and upgraded all residential roads with ref tag with a 4 digits number to secondary.
Fully forgot that this could exist.

Beside that I manually fixed a lot junctions where the TERTIARY_link was upgraded to secondary_link.

I’m happy to see a lot of new urban secondary roads in Israel.
It is now also easier to define a road as TERTIARY as it doesn’t mean it has to be a big and mandatory street.
I’m very sure that routing will be a lot better in Israel from now on as the new street classification will also help to use the linking roads in most cases as shortcut.
Waiting for map updates of all gps navigation softwares on my Android to test it in the future :slight_smile:

At some point road 2 becomes highway. I noticed signs from Herzliya north - are red, so whole Namir road + part northern to Herzliya - is trunk, but I don’t know until when.

Can somebody check where exactly road 2 switches from trunk to motorway?

Update: confirmed until Netaniya - all signs have red background, so I changing this road part to trunk
Update2: checked until Atlet junction - all way only red signs, and signs about 2 north red too.

In Israel the people does not separating beween trunk roads primety roads. I suggest that all the that the road in israel will mark:

Motorway marked with A in the start. exp: 20 → A20, 6 → A6, 22 → A22, 4 (Some parts)-> A4.
True Trunk roads(without traffic lights & junctions) marked with T. exp: 2 → T2, 4 (Some parts)-> T4, 77 (Some parts)-> T77
(“fake” trunk roads will become primety roads).
Primety roads remain only with number. exp: 705 → 705, 75 (Some parts)-> 75, 89 → 89, 4 (Some parts)-> 4.
Secondary roads marked with L(Local) in the start instead of there last digit. exp: 7513 → L715, 4111 → L411

Why exactly to do this? That’s why we have different colors in renderers for different road types!

First, In Israel the people does not separating beween trunk roads primety roads. You can see not small number of exceptions (at least in the future).

Second , In alot of countries the roads marked will one letter before the number to help people to separate.

Son Grove, I understand the problem, and so I asking you, why color coding isn’t enough? On each map you see legend which describes you what exactly each color mean.