-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to complete shapefile to road Shape? #65
Comments
Hi & thanks for your interest in our SDK. Let me ask a few questions to better understand your situation:
Best, |
The algorithm which creates the street shapes (i.e. the input geometry for the procedural rules) from center lines is not part of the CityEngine SDK (PRT), it is part of the CityEngine desktop app itself. To generate road models with CE SDK (PRT) you would need to export the "start" shapes (as you have them in above screenshot) created by CityEngine (including UV coordinates). Then you read this geo in your app, assign the corresponding RPK and generate. |
Apologies for the late reply. As road rules typically make use of texture coordinates and |
Thanks for your reply. I'll try |
Closing this for now - feel free to reopen in case there are problems. |
Hi,
I want to use the sdk to generate a road model. My raw data is a shapefile with the suffix ".shp". I know how to get the data in the shpfile, but I can't convert the lines in the shapefile into the required vertexCoords parameters. How is this process done, in which direction should I inquire, can you provide some cases in this regard, thank you very much!
The text was updated successfully, but these errors were encountered: