AnsweredAssumed Answered

Create points along 3D stream at inflection points

Question asked by tigerwoulds on Oct 5, 2020

My goal is to generate points along my stream centerline at any positive inflection points (0.5 feet in elevation or greater). I used a Water Surface Grid (Raster) to convert my stream centerlines to 3D using the Interpolate Shape tool.

Looking at my stream in profile view, here are some examples of where I'd like to create points: enter image description here

My idea is to store the starting value then look at the next vertex, if less than 0.5, skip and move onto the next vertex. Continue this till I hit a vertex that is 0.5 or greater from the starting point. Then create a point at this vertex. Then, move to the next vertex and compare with the last created point.

Does someone have any ideas on how to script this out using arcpy & python 3?

Thank you!