Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years 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 by Don-vip, 7 years ago

Keywords: direction viewpoint added

comment:2 by Klumbumbus, 7 years ago

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 by Klumbumbus, 7 years ago

Component: Internal presetCore validator
Milestone: 17.07

comment:4 by anonymous, 7 years ago

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 by Klumbumbus, 7 years ago

Resolution: fixed
Status: newclosed

In 12493/josm:

fix #14989 - allow ranges in direction key

in reply to:  4 ; comment:6 by Klumbumbus, 7 years ago

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

in reply to:  6 comment:7 by bastiK, 7 years ago

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 by Klumbumbus, 7 years ago

In 13163/josm:

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

comment:9 by Klumbumbus, 7 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.