Select to view content in your preferred language

Creating merging lane

793
1
Jump to solution
08-08-2023 12:23 AM
AdamChełstowski
Emerging Contributor

I encountered a problem while creating roads based on a OSM file - one segment of the highway is described as 3 lane, while two adjacent are 2 lane. The result is this weird joint between them:

MergeLanesTextured.pngMergeLanesUnTextured.png

Is there any way to force CityEngine to bend this joint shape left or right, in order to create two uninterrupted lanes and the third one merging like this?:

ExampleMerge.pngRealWorldExample.png

I am currently using CityEngine 2021.0.7316. I also attached ExampleOSM with the road in question.

 

0 Kudos
1 Solution

Accepted Solutions
AdamChełstowski
Emerging Contributor

Well - the answer is using the "streetOffset" parameter and increasing the minArcRadius on the "Joint" shape, giving the results as on the screenshot. Lines are incorrect, but I imagine it will be a simple fix in the rules file.

AdamChestowski_0-1691658698973.png

I encountered also a similar problem on freeway exits, but it was sufficient to change the nodes "Smart" option into "Junction" or "Freeway" and work from there.

View solution in original post

1 Reply
AdamChełstowski
Emerging Contributor

Well - the answer is using the "streetOffset" parameter and increasing the minArcRadius on the "Joint" shape, giving the results as on the screenshot. Lines are incorrect, but I imagine it will be a simple fix in the rules file.

AdamChestowski_0-1691658698973.png

I encountered also a similar problem on freeway exits, but it was sufficient to change the nodes "Smart" option into "Junction" or "Freeway" and work from there.