I have a folder with 1200 "ArcMap Traverse Files" in .txt format. Example of two small lines:
DT QB |
DU DMS |
SP 2618687.126449457 181820.133039019 |
DD N0-0-0E 0 |
DD N87-0-0E 0 |
DD S87-0-0E 0 |
DD S70-0-0E 0 |
DD S75-0-0E 1 |
DD S78-0-0E 1 |
DD S52-0-0E 1.16227766016838 |
DD S40-0-0E 2.66867423467692 |
DD S32-0-0E 3.38859256244759 |
DT QB |
DU DMS |
SP 2618687.126449457 181820.133039019 |
DD N0-0-0E 0 |
DD N87-0-0E 0 |
DD S87-0-0E 0 |
DD S70-0-0E 0 |
DD S75-0-0E 1 |
DD S78-0-0E 1 |
DD S52-0-0E 1.16227766016838 |
DD S40-0-0E 2.66867423467692 |
DD S32-0-0E 3.38859256244759 |
I can import them individually, and each work great... but doing so manually is/will be a pain. I've tried packing multiple into one file, but despite having a stated Start Point in X Y for each new line, ArcGIS Pro 3.1 acts as if the end of the last segment is the start point. I ended up with a continuous line with only the the first at the correct Start Point location.
Any advise?
There is no Python API to import ArcMap traverse txt files in Pro. But you could always write Python to parse a text file and create features.