OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2012-07-03 20:45:26

Pedja
Senior Member
From: Užice, Serbia
Registered: 2012-03-22
Posts: 210
Website

Zabrana skretanja u levo kamionima

Imam situaciju da je na raskrsnici iz jedne ulice zabranjeno skretanje u levo ali samo za kamione. Kako se to obeležava?

Znam kako se obeležava zabrana skretana ulevo za sve.

Offline

#2 2012-07-03 21:04:08

SunCobalt
OSM Addict
From: Eislingen
Registered: 2010-01-09
Posts: 3,040

Re: Zabrana skretanja u levo kamionima

like a normal turn restriction but with type=restriction:hgv

Add way A and B plus node n into a relation. Add
type=restriction:hgv
restriction:hgv=no_left_turn
and in the lower left window apply
"via" to n
"from" to A
"to" to B

No_left_restriction.png

or the way you need it. If all is fine, you should see a street sign in JOSM.

Edit: You will not see a street sign, just tried it. You only see it if it is a general turn restriction (i.e. without ":hgv")

Last edited by SunCobalt (2012-07-03 21:18:11)


Thomas

Offline

#3 2012-07-03 21:32:36

Pedja
Senior Member
From: Užice, Serbia
Registered: 2012-03-22
Posts: 210
Website

Re: Zabrana skretanja u levo kamionima

hgv is short for what?

I noticed when I set no_left_turn restriction JOSM actualy renders sign that means right and straight allowed. That has no sense when there is nowhere to turn right. Isitok to use straightonly in such situations?

As I can see, restrictions are actualy not rendered on map?

Offline

#4 2012-07-03 22:11:28

SunCobalt
OSM Addict
From: Eislingen
Registered: 2010-01-09
Posts: 3,040

Re: Zabrana skretanja u levo kamionima

hgv stand for heavy good vehicle = truck. It is not rendered on the map but used by routing engines, similar to maxspeed and other tags. It doesn not matter if you use only_straight_on or no_left_turn if there is not right turn availability. If you use only_straight_on you should use the straight-on way as "to"-role in the relation.


Thomas

Offline

#5 2012-07-04 10:23:10

Pedja
Senior Member
From: Užice, Serbia
Registered: 2012-03-22
Posts: 210
Website

Re: Zabrana skretanja u levo kamionima

I would newer guess what hgv means, I think I am going to edit Wiki to clear that smile

JOSM reports that restriction:hgv is unknown, but I guess it just does not support it: http://www.openstreetmap.org/browse/relation/2263368

Last edited by Pedja (2012-07-04 10:25:16)

Offline

#6 2012-07-04 18:09:43

Re: Zabrana skretanja u levo kamionima

Trebalo bi da dodeliš i 'from', 'via', i 'to' uloge, inače se ne zna odakle nije dozvoljeno.

Offline

#7 2012-07-04 22:04:31

Pedja
Senior Member
From: Užice, Serbia
Registered: 2012-03-22
Posts: 210
Website

Re: Zabrana skretanja u levo kamionima

To sam napravio, nego samo nisam mogao da nadjem kako da zabrana važi samo za kamione.

Offline

#8 2012-07-05 01:18:41

Re: Zabrana skretanja u levo kamionima

Pa na ovom linku koji si ostavio i dalje nema tih uloga u relaciji... Da, imaš tri člana relacije, ali se ne zna koji ima koju ulogu, moraš ih izričito upisati.

Offline

#9 2012-07-05 10:46:22

Pedja
Senior Member
From: Užice, Serbia
Registered: 2012-03-22
Posts: 210
Website

Re: Zabrana skretanja u levo kamionima

Kao bre nema? Ček da pogledam.

Stvarno nema. Upisao sam.

Last edited by Pedja (2012-07-05 10:57:21)

Offline

#10 2012-07-05 14:16:45

SunCobalt
OSM Addict
From: Eislingen
Registered: 2010-01-09
Posts: 3,040

Re: Zabrana skretanja u levo kamionima

restriction = only_right_turn should be changed to restriction:hgv = only_right_turn  according to the wiki
http://wiki.openstreetmap.org/wiki/Turn_restrictions

There is a plugin that can help with turn restriction
http://wiki.openstreetmap.org/wiki/JOSM … strictions


Thomas

Offline

Board footer

Powered by FluxBB 1.4.8
Hosting sponsored by Oxilion