You are not logged in.

Announcement

*** NOTICE: By 30th of September 2022 the forum.openstreetmap.org will be retired, please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators. We expect the migration of data will be finished by that date, you can follow its progress here.***

#1 2020-06-11 15:58:17

DerGuteMercator
Member
Registered: 2017-07-14
Posts: 5

JOSM throws error on hgv turn restriction

I have added a relation in JOSM with the following properties:

type=restriction
restriction:hgv=only_left_turn

The members are the junction node as "via", and a "from" and "to" way.

When I try to upload the data to the server, JOSM throws an error (not a warning) saying "Unbekannte Abbiegebeschränkung" (german fpr "unknown turn relation".

If I remove the ":hgv", there is no error.

But the restriction applies only to HGVs, and according to the OSM Wiki, I am doing everything right (at least I cannot see anything wrong).

Is this an error in JOSM, or am I doing it wrong?

Offline

#2 2020-06-11 16:40:12

muralito
Member
Registered: 2012-09-04
Posts: 1,918

Re: JOSM throws error on hgv turn restriction

It seems to be that JOSM validator does not support it.
You can report here

Offline

#3 2020-06-12 04:35:15

escada
Moderator
Registered: 2011-08-13
Posts: 1,754

Re: JOSM throws error on hgv turn restriction

As a side note, isn't it better to map this as hgv=no on all the other roads at that junction?  Routers are more likely to support the access restriction than a conditional turn restriction. Or are HGVs allowed to turn into those roads from other directions?

Offline

Board footer

Powered by FluxBB