Polyline Export Options
Posted: Sat May 25, 2024 6:19 pm
Hello,
I am trying to export polylines and their vertices into a friendly format that may be used for further processing. I've looked at all export options and the .poly format is good becasue it is a single file that contains all vertex data for each polyline. However, only (x, y, z) are exported for each polyline, without the associated ID(name) from the DB tree. Having the ID associated with each vertex would make further processing much easier to connect the data together.
Is there another format that provdes the polyline data, with associated (x,y,z) coordinates and the ID information that is as easy to use and manipulate as the .poly file type?
I could write functions to filter unnecessary text from some of the other ASCII files, if needed, just wanted to ask on here before I do that. Alternatively, I'm happy to create an issue on Github for this if others might find this useful.
Any help or guidance is very much appreciated.
Cheers,
srswarley
I am trying to export polylines and their vertices into a friendly format that may be used for further processing. I've looked at all export options and the .poly format is good becasue it is a single file that contains all vertex data for each polyline. However, only (x, y, z) are exported for each polyline, without the associated ID(name) from the DB tree. Having the ID associated with each vertex would make further processing much easier to connect the data together.
Code: Select all
E.g.
ID, X, Y, Z
feature_0, 1.41, 2.18, 1.20
feature_1, 2.52, 4.18, 1.52
feature_2, 5.41, 5.18, 2.75
feature_3, 8.41, 7.18, 3.10
I could write functions to filter unnecessary text from some of the other ASCII files, if needed, just wanted to ask on here before I do that. Alternatively, I'm happy to create an issue on Github for this if others might find this useful.
Any help or guidance is very much appreciated.
Cheers,
srswarley