Why not ask your question on the new OpenStreetMap Community Forum?

Hi I've got a road with six nodes. let's start a drawing

---+A -------->+B-----------------------+C<------+D-------
with + should represent crossroads.
AB is oneway from A to B
BC is with no restriction CD is oneway from D to C
As the road is the same with continuous numerotation, same name ... How should I render it for best ?

Thanks for your answer.

asked 01 Sep '10, 18:20

Ebeer's gravatar image

accept rate: 0%

edited 01 Sep '10, 18:45

Gnonthgol's gravatar image

Gnonthgol ♦

You say "How should I render it". Are you trying to build or configure a rendering system, and encountering this problem in the data? ...or perhaps you just mean "How should I map it"? (how to arrange the ways and tag it within the editor)

(04 Sep '10, 12:22) Harry Wood

You should split the way at the nodes and then apply the oneway=yes tag only to those ways where it applies, reversing the way where needed. All the tags present in the current way should be the same to the new ways thus specifying that this is the same road.

The resulting 5 ways should look something like this:

  • ?A: ref=1, name=Main Street, highway=primary
  • AB: oneway=yes, ref=1, name=Main Street, highway=primary
  • BC: ref=1, name=Main Street, highway=primary
  • DC: oneway=yes, ref=1, name=Main Street, highway=primary
  • D?: ref=1, name=Main Street, highway=primary
permanent link

answered 01 Sep '10, 18:42

Gnonthgol's gravatar image

Gnonthgol ♦
accept rate: 16%

edited 01 Sep '10, 18:58

Andy%20Allan's gravatar image

Andy Allan

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 01 Sep '10, 18:20

question was seen: 6,107 times

last updated: 04 Sep '10, 12:22

powered by OSQA