Geographic Information Systems Asked by Tigerwoulds on January 18, 2021
Using ArcPy, I’m trying to figure out how to draw perpendicular lines along my Streams feature class. I have a set of points, that are snapped to my stream centerline.
I’ve seen the "Generate Transects Along Line" tool and I think that will get me close, but I’m not sure how to define that I want the lines are drawn at the point locations, rather than a set interval. Here is an example of what I’m trying to accomplish:
Here is a link to a Github repository for an ArcGIS 10.x toolbox tool (and Python script) that will create perpendicular lines at user defined distances. Lines can be created at the midpoint, start node, end node, and either or both sides. If you want to create lines at midpoints the tool will look at the start and end node of that line and create the perpendicular line perpendicular to that imaginary line. Your lines will need to be using a projected coordinate reference system like UTM or State plane. All units of measure would be in the units of the CRS.
https://github.com/ShuksanGeomatics/Create_Perpendicular_Lines_ArcGIS
Correct answer by GBG on January 18, 2021
Although @GBG 's toolbox did work, I ended up using the Generate Transects Along Line tool since I wasn't concerned with which endpoint I wanted to create features. I split my lines at the points using the Split Line at Point tool then ran the Generate Transects Along Line tool using the 'END_POINTS' parameter. Leaving the other answer as accepted because it did solve my problem. But I wanted to provide another workflow in case anyone else is trying to accomplish this.
Answered by Tigerwoulds on January 18, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP