I realised API 0.6 allows relations to contain duplicate ways (ways with exactly the same ID). This does not make any sense to me. Is there a particular reason for this state? If there isn't, will it be denied (maybe in next version of API)?

asked 04 Oct '11, 21:07

Kozuch's gravatar image

Kozuch
1.6k567282
accept rate: 8%

edited 05 Oct '11, 01:27

SomeoneElse's gravatar image

SomeoneElse ♦
32.3k63336756


It might not make sense to you but then you don't know what others might want to do with it. For example, it is conceivable that a bus uses a bit of road (say, at a complex intersection) more than once on its journey. With relations being ordered, one would then expect the relation to contain the same bit of road twice at different points in the sequence.

Generally, relations are a flexible tool that people can and will use to model all kinds of things, and some of these might well require the same object being a member more than once. It is unlikely that this flexibility will be dropped.

permanent link

answered 04 Oct '11, 21:17

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
71.3k846451113
accept rate: 24%

Your answer
toggle preview

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:

×240
×190
×14

question asked: 04 Oct '11, 21:07

question was seen: 3,417 times

last updated: 05 Oct '11, 01:27

powered by OSQA