Hello,
From my DEM, I created the flow direction and flow accumulation raster using ArcHydro Tools
From those 2 rasters, I use the stream definition tool (for a threshold area of 500 pixels for example), then performed the stream segmentation, and finally, I use the Drainage line processing tools to create the vector shapefile of my stream.
My question: Is there any method to locate the external points of the stream? (I named those points by E in this image)
Any ideas?
(Note: I want to write a script on python for this method, and if the proposed solution demand the use of select by location tools, I will not be able to perform it with a python script)
(I am using ArcGis Desctop 10.8.0.12790)
Solved! Go to Solution.
Could you choose "Dangle" for the Point Location parameter, and run the tool?
Can You add an image with better resolution?
Check if Feature Vertices To Points (Data Management) works for you. Choose "Both Ends" for Point Location parameter.
By the way, you can do a Select by Location in ArcPy, if required. Just need to create an intermediate layer file (*.lyr). Check the example in the Tool help page.
The features vertices to point is a good idea, but by using it, I will also get the endpoint of all the lines (but I only need the external line)
I tried an idea but it poses me some inaccurate results. My idea was:
Thank you for your response. But it will not work.
Could you choose "Dangle" for the Point Location parameter, and run the tool?
Oops, this is it. And very easy. Thanks a lot.