Skip to main content
Solved

Coercing polylines to polygon not working

  • April 6, 2021
  • 2 replies
  • 23 views

chrbalm
Contributor
Forum|alt.badge.img+8

I have a DWG that I am trying to create a polygon from to represent the extents of the data.

The polyline data doesn't seem to be able to be coerced to form a polygon and I am unsure why.

I have tried to aggregate the polylines into a single feature, but no luck.

Best answer by nielsgerrits

Coercing a polyline to a polygon only works when the polyline is in one piece and the endpoints are snapped to each other.

What you probably need is an AreaBuilder. You probably need to clean up a little using the Snapper and the Intersector.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2938 replies
  • Best Answer
  • April 6, 2021

Coercing a polyline to a polygon only works when the polyline is in one piece and the endpoints are snapped to each other.

What you probably need is an AreaBuilder. You probably need to clean up a little using the Snapper and the Intersector.


chrbalm
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • 15 replies
  • April 6, 2021

Coercing a polyline to a polygon only works when the polyline is in one piece and the endpoints are snapped to each other.

What you probably need is an AreaBuilder. You probably need to clean up a little using the Snapper and the Intersector.

Awesome. Exactly what I needed. Most appreciated.