Modify

Opened 6 months ago

Closed 5 months ago

Last modified 2 weeks ago

#14989 closed enhancement (fixed)

support direction for viewpoints

Reported by: stefan@… Owned by: team
Priority: normal Milestone: 17.07
Component: Core validator Version:
Keywords: direction viewpoint Cc:

Description

Viewpoints normally have a preferred direction (but are tagged very rarely). According to the OSM wiki, there are several ways how to tag a viewpoint direction:

tourism=viewpoint
direction=200-270 (for a view to south-west)
direction=70-110;250-290 (for limited view to east and west)
direction=west (main direction to west)

Right now, JOSM throws the warning "unusual value for direction". It would be great, if the viewpoint preset guides the user how to map a proper direction.

By the way: OpenTopoMap renders viewpoint directions.

Attachments (0)

Change History (9)

comment:1 Changed 6 months ago by Don-vip

Keywords: direction viewpoint added

comment:2 Changed 6 months ago by Klumbumbus

direction values with a range (x-y) are very rare, see https://taginfo.openstreetmap.org/keys/?key=direction#values all other valid direction values shouldn't raise a warning. (See r11338)

comment:3 Changed 5 months ago by Klumbumbus

Component: Internal presetCore validator
Milestone: 17.07

comment:4 Changed 5 months ago by anonymous

There is a new map showing viewpoint directions: https://osmtools.github.io/direction/
The code can be found here: https://github.com/osmtools/direction
Perhaps JOSM could render directions, too. So the user can check his direction on-the-fly.

comment:5 Changed 5 months ago by Klumbumbus

Resolution: fixed
Status: newclosed

In 12493/josm:

fix #14989 - allow ranges in direction key

comment:6 in reply to:  4 ; Changed 5 months ago by Klumbumbus

Replying to anonym:

Perhaps JOSM could render directions, too. So the user can check his direction on-the-fly.

Thats somethig for an external mappaint style. wiki:Styles

comment:7 in reply to:  6 Changed 5 months ago by bastiK

Replying to Klumbumbus:

Replying to anonym:

Perhaps JOSM could render directions, too. So the user can check his direction on-the-fly.

Thats somethig for an external mappaint style. wiki:Styles

Viewpoint with a certain direction is a common feature of a topo-maps and tourism maps in general. I wouldn't mind having it in the standard style.

In any case, it would be fairly complicated (and inefficient) to make a visualization with the current mappaint features. Some custom code and a new Element type could be added for direction rendering of viewpoints.

comment:8 Changed 3 weeks ago by Klumbumbus

In 13163/josm:

see #14989 - add direction combo box to viewpoint preset (no i18n impact)

comment:9 Changed 2 weeks ago by Klumbumbus

In 13183/josm:

fix #15613, see #14989 - add direction help image to viewpoint preset (icon from https://wiki.openstreetmap.org/wiki/File:Angles.svg, PD licensed)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.