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:
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?:
I am currently using CityEngine 2021.0.7316. I also attached ExampleOSM with the road in question.
Solved! Go to Solution.
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.
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.
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.
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.