Drainge segments to shapefile #56
Closed
ascarvarjalu
started this conversation in
Ideas
Replies: 1 comment
-
Hi Alba, thanks a lot for sharing your code. Currently, this is a script and so it may be better suited as an example that people may adapt to their code. We are currently developing a platform (https://github.com/TopoToolbox/gallery) that will enable others to showcase their workflows and you may want to consider to submit your code then. Stay tuned! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good day, dear all,
Regarding this topic: Orientation of stream segments — @wschwanghart
I’d like to share a simple (not-so-sophisticated) workflow I created to export river segments (generated with the
networksegment
function in TopoToolbox) to a shapefile (.shp
) format.You can find the code here:
🔗 https://github.com/ascarvarjalu/segments_to_shp
It involves a MATLAB script to prepare a
.csv
file and a Python script (run in a QGIS environment) to convert it into a shapefile using thepointstopath
tool.I hope you find it useful.
Best regards,
Alba Sofía Carvajal
Beta Was this translation helpful? Give feedback.
All reactions