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

I would like to split the ways in my OSM data that contain turn lane information. For example, if a way has 3 lanes, but 4 turn lanes, I want to split the way into 2, with a 4-lane section at the end of the road (perhaps using the last 2 geometry points)

I wonder if anyone has any suggestions on how this might be done programmatically?

I am using the OSM data as an input to build a network in traffic simulator SUMO

asked 13 Apr '23, 09:36

gladegan's gravatar image

gladegan
11112
accept rate: 0%

I may be hopelessly naive here (not familiar with SUMO), but it seems to me like the correct place to do this programmatically would be in the converter from OSM format to SUMO format as described in this issue on their GitHub? From this later issue and some of the docs, it looks like it might have been implemented?

(13 Apr '23, 15:12) InsertUser

Hi, thanks for replying. As far as I understand, SUMO reads turn lane information and applies them to the indicated number of lanes. If the number of lanes is 1 and the number of turn lanes is 2, the turn lanes are not applied.

An example here: https://www.openstreetmap.org/way/1121159178

I would like to split such a way into 2 parts, where the turning part has the right number of turning lanes.

(21 Apr '23, 15:37) gladegan

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:

×167
×34
×16
×5

question asked: 13 Apr '23, 09:36

question was seen: 1,369 times

last updated: 21 Apr '23, 15:37

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