Hi!
I'm working on a complex viewshed analysis project. As part of this, I'm trying to estimate the location of windows on a polygon that represents a building. So, I'm wondering if there is a way to get a set of points from the polygon that represent the midpoint of each side of a polygon? I'm not averse to doing a polygon to polyline conversion or anything like that. Just trying to think through a workflow that can be applied to 100,000+ polygons!
Thank you!
Solved! Go to Solution.
You can use the following steps:
1. Run Split Line At Vertices to break polygon boundary into lines.
2. (Optional step) Run Select Layer By Attribute to select Shape_Length > x, if you think window side should be longer than x in length.
3. Run Feature Vertices To Points with MID (midpoint) option on the lines. The output should be what you need.
You can use the following steps:
1. Run Split Line At Vertices to break polygon boundary into lines.
2. (Optional step) Run Select Layer By Attribute to select Shape_Length > x, if you think window side should be longer than x in length.
3. Run Feature Vertices To Points with MID (midpoint) option on the lines. The output should be what you need.