NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I'm doing some work to produce some piste maps of ski resorts and I have a situation which probably doesn't arise much when mapping roads and so on. Its to do with ski lifts (aerialways).

Lets take the simplest lift possible as an example - a single way connecting two nodes. The way contains the name of the lift as a standard property tag name="Signal" . So far so good.

When looking at a piste map it is very helpful to know where the entrance to a lift is, i.e. which end you are allowed to get on. I've created maps in the past from my own data (not OSM data), and found it very useful to have the name of the lift next to the base station as well as along the lift itself, like below:

Map snapshot - This is NOT OSM data!!

Now I want to achieve this using OSM data. But, if the name is a property of the way, I can't see any possibility to associate it with one of the nodes other than by duplicating the name property in the node as well.

My question is therefore, is this a BAD thing to do? My gut feeling from a couple of decades working in IT is that when it is necessary to duplicate data it usually means something isn't designed correctly.

I've considered relations, but it seems that the name would need to be duplicated in the relation as well so that doesn't really help.

Any insights would be welcome.

asked 21 Jan '12, 13:44

Skicat's gravatar image

Skicat
16113
accept rate: 0%


I can't see any reason why it would be a problem. You have the aerialway=<whatever> tag on the way along with the name of the lift, and aerialway=station on the station nodes along with the name of the station. In your example they look different anyway, if I'm looking in the correct place ("Teleski Ouilette" vs just "Ouilette") for example.

permanent link

answered 21 Jan '12, 14:07

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

edited 21 Jan '12, 14:08

Yes, the reason the node-names are different to the way-names is that I have the renderer insert "telesiege", "teleski" or whatever according to the type of the way. I don't do that with nodes.

(21 Jan '12, 14:20) Skicat

I tried visiting http://www.openpistemap.org to see how the lifts rendered there, but there seem to be some technical issues at present. Anyway, the lift and the station are still separate objects. If they have the same name, I don't see an issue with tagging them both with the name.

(21 Jan '12, 15:45) EdLoach ♦

I think I agree. I suppose I was looking for some facility that could apply a name to a node based on the way that the node belongs to, but there is no such direct relationship. Or if there is, it isn't apparent how that relationship can be used from the mkgmap renderer.

(21 Jan '12, 16:56) Skicat
1

I've marked this as the accepted answer as it most closely addresses the "Is duplicate data bad?" question. Thanks Ed.

(24 Jan '12, 14:11) Skicat

When looking at a piste map it is very helpful to know where the entrance to a lift is.

That is why you have the way go from the entrance to the exit. Then you can render an arrow or something in the direction of the lift. The information is not duplicated and you still allow the entrance, the exit and the lift to have different names.

permanent link

answered 21 Jan '12, 17:18

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198
accept rate: 16%

Yep, if you look at the map above you'll see it does indeed have "arrow flights" in the direction of the lift. I still think the map is improved by displaying the name of the lifts at their base stations though.

(24 Jan '12, 14:09) Skicat

You could use the entrance tag on a node at the entrance to the lift. See http://wiki.openstreetmap.org/wiki/Proposed_features/entrance

permanent link

answered 21 Jan '12, 16:38

ChrisH's gravatar image

ChrisH
4.1k134262
accept rate: 15%

I have considered that tag. It has some odd usage values such as [yes|exit|both], however it could be used to identify the entrance to an aerialway. It doesn't solve the problem of having to duplicate the name though.

(21 Jan '12, 16:52) Skicat

You can then justifiably use the name tag next to the entrance tag - you are naming the entrance.

(21 Jan '12, 16:58) ChrisH

I had effectively already done something like this, but used a "aerialway:access" tag with values [entry|exit|both]. I'm in two minds whether to change these to use the "entrance" tag or not. I've only done a few but there's an argument that says don't create a new tag when a suitable one already exists. Then again, "entrance" does seem to be more about buildings, and ski lifts don't always have buildings. I'm trying to encapsulate whether one can "board", "alight" or both from each end of the lift. "entrance" is close but not quite 100%. Plus I still think the tag values are incongruous.

(24 Jan '12, 14:18) Skicat

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×54
×5
×3

question asked: 21 Jan '12, 13:44

question was seen: 5,453 times

last updated: 24 Jan '12, 14:18

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum