MATLAB Answers

Is it possible to create a road at once in shp file data?

4 views (last 30 days)
Sudip Laudari
Sudip Laudari on 26 Jul 2021
Edited: Sudip Laudari on 26 Jul 2021
Hello,
I am trying to create a road by using lidar data. I have shp files. Which includes lane, link, node.
I was able to upload data in roadrunner but I didn't find an option to generate road at once by following link.
I can create road and link one by one but it takes time. So My question : Can we generate road at once like we can do scan road in opendrive data?

Answers (1)

KSSV
KSSV on 26 Jul 2021
S = shaperead(filename) ;
P = [[S(:).X]' [S(:).Y]'] ;
plot(P(:,1),P(:,2))
  1 Comment
Sudip Laudari
Sudip Laudari on 26 Jul 2021
@KSSV How do I use this answer? I am using roadrunner in windows. Where do I update this lines to make road in shp files links?
Could you please provide more explanation?
Thank you

Sign in to comment.

Tags

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!