Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Add more points to your road shapefile polylines to ensure better visual accuracy to how roads appear in game.
- Requires QGIS with the following plugins: QChainage, PointsToPaths
- 1. Export your roads.shp from TB and import it into QGIS.
- 2. Make sure the necessary plugins are installed. Select the roads layer and click on the "QChainage" icon.
- 3. Input whatever distance between points you want, I use 50 meters.
- 4. In the "Labeling" tab, check the box that says "Automatically Label the Layer", and in "Decimal places", type 10.
- 5. Once the new layer with points is generated, click on the "PointsToPaths" icon.
- 6. For input point layer, choose the newly generated points layer (Usually named "chain_roads".)
- 7. Leave "Point group field" alone, but change "Point order field" to "c_Meters".
- 8. Create the output shape file, obviously don't overwrite roads until you're sure it works the way you want.
- 9. Once processed, if you hide all other layers aside from the one you just created with "PointsToPath", you should see polylines with vertices every 50 meters (or whatever you chose)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement