Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Direction of road not displayed #1316

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 11 comments
Closed

Direction of road not displayed #1316

openstreetmap-trac opened this issue Jul 23, 2021 · 11 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Nybbler
[Submitted to the original trac issue database at 8.10am, Tuesday, 4th November 2008]

The direction of a road or the orientation of an area is not visible. This way you don't know if a oneway street is pointing in the correct direction or if an area is including or excluding water.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 9.37am, Tuesday, 4th November 2008]

Not true for oneway roads, definitely. There must be something else, please include a screenshot.

AFAIK, the "direction" of an area do not influence the inclusion/exclusion thing.
It's the "inner/outer" role on the relation that does that.

But I can be wrong. Please point me to some info on the wiki if I am.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 12.16pm, Tuesday, 2nd December 2008]

Accepted

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 4.27pm, Tuesday, 2nd December 2008]

(In [12188]) ADD : "View" - "Show directional Arrows" menu. "Never" obviously never shows the arrows, "Always" obviously always shows them, even for non-roads. "Oneway" is the equivalent of the existing and is the default. (closes #1316)

@openstreetmap-trac
Copy link
Author

Author: ColinMarquardt
[Added to the original trac issue at 10.46pm, Tuesday, 2nd December 2008]

I'm not convinced about this preference. I would have expected that setting to be available in the style editor: highway=* would get a setting of "oneway", waterway=* and maybe a ski piste etc. would get "always", and all the other ones "never".

If you still want to let the user display arrows all the time or never, this could be selected in the Preferences dialog, but filling up the limited menu space seems unnecessary.

@openstreetmap-trac
Copy link
Author

Author: ColinMarquardt
[Added to the original trac issue at 10.49pm, Tuesday, 2nd December 2008]

Ok, coastlines should also always get arrows, but my point still stands.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 12.08am, Wednesday, 3rd December 2008]

I don't think this belong to the style editor. As pointed out by this reporter and the other, this is especially (only?) useful for technical reasons (coastlines, river banks).

As such, I put it in the menu because I think this is a settings you would only occasionally set, for short-time, very specific editing. I agree this clutters the menu, however I rather consider the preferences dialog to be for "long-term" preferences.
I'm very open to other UI suggestions you might have.

OTOH, I definitely agree a similar "long-term" setting should appear in the style editor (for roads, ...). While working on this, I noticed there is a setting in the .mas files, not editable thru the editor.

@openstreetmap-trac
Copy link
Author

Author: ColinMarquardt
[Added to the original trac issue at 7.03pm, Wednesday, 10th December 2008]

Replying to [comment:7 koying]:

OTOH, I definitely agree a similar "long-term" setting should appear in the style editor (for roads, ...). While working on this, I noticed there is a setting in the .mas files, not editable thru the editor.

Yes, but it's not possible to set that setting to "always". As a mental note, natural=cliff should also get that "always" setting since it's direction dependent without being a oneway road.

@openstreetmap-trac
Copy link
Author

Author: Nybbler
[Added to the original trac issue at 7.27pm, Wednesday, 10th December 2008]

Just a note: I initially submitted this bug because there is no direction arrow when the road has "highway=road" (which is drawn as a very thin line, which I also find annoying). So when the road is residential/secondary/... the arrows are visible.

@openstreetmap-trac
Copy link
Author

Author: ColinMarquardt
[Added to the original trac issue at 9.35pm, Wednesday, 10th December 2008]

Replying to [comment:9 Nybbler]:

Just a note: I initially submitted this bug because there is no direction arrow when the road has "highway=road" (which is drawn as a very thin line, which I also find annoying). So when the road is residential/secondary/... the arrows are visible.

Ah. So the setting of drawTrafficDirectionMarks should be "yes" by default, i.e. when the style doesn't override it. In your specific case, I assume you are using the classic style? Since that doesn't have a definition for "highway=road", it does show up unstyled. Is switching to Mapnik(Plus) an option? I could also add a highway=road to Classic.mas, but I'd rather it was fixed in the code.

@openstreetmap-trac
Copy link
Author

Author: Nybbler
[Added to the original trac issue at 9.48pm, Wednesday, 10th December 2008]

Replying to [comment:10 ColinMarquardt]:

Replying to [comment:9 Nybbler]:

Just a note: I initially submitted this bug because there is no direction arrow when the road has "highway=road" (which is drawn as a very thin line, which I also find annoying). So when the road is residential/secondary/... the arrows are visible.

Ah. So the setting of drawTrafficDirectionMarks should be "yes" by default, i.e. when the style doesn't override it. In your specific case, I assume you are using the classic style? Since that doesn't have a definition for "highway=road", it does show up unstyled. Is switching to Mapnik(Plus) an option? I could also add a highway=road to Classic.mas, but I'd rather it was fixed in the code.

Ah, I never thought about switching the style. Yes, with MapnikPlus I can see arrows now. Fine for me now.

@openstreetmap-trac
Copy link
Author

Author: Koying
[Added to the original trac issue at 6.19pm, Monday, 24th May 2010]

Original bug solved, I guess

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant