Skip to main content
Question

DonutBuilder error

  • June 23, 2020
  • 5 replies
  • 22 views

lifalin2016
Supporter
Forum|alt.badge.img+38

Hi.

I have a dataset of polygons, which I don't trust entirely. It has a lot of smaller polygons (wind mills?) on top of property polygons.

Most small polygons have been cut out of the property polygons, but not all. So I run the data thru the DonutBuilder, just in case.

But I've found an error in the output, where a small polygon inside a larger polygon with a cut-out matching the smaller polygon, replaces the former small polygon with a new with the values from the surrounding polygon.

I.e., the smaller polygon is inside the outer boundary of the larger polygon, but has already been cut-out of it. In this case a replacement wasn't warranted, but something happened anyway, resulting in the described error.

Does DonutBuilder only use "entirely within" the outer boundary for its matching, or ?

Cheers.

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.

5 replies

david_r
Celebrity
  • 8392 replies
  • June 23, 2020

Would it be possible to post a small ffs file with a workspace to reproduce? That would make it easier.


lifalin2016
Supporter
Forum|alt.badge.img+38
  • Author
  • Supporter
  • 592 replies
  • June 30, 2020

Would it be possible to post a small ffs file with a workspace to reproduce? That would make it easier.

I'll do that asap, but it might take a little while.


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • June 30, 2020

I'm not sure if this is quite the same issue but the donut builder does not correctly output incoming polygons if one happens to match exactly with the hole of a donut input.

donuts.fmw


lifalin2016
Supporter
Forum|alt.badge.img+38
  • Author
  • Supporter
  • 592 replies
  • June 30, 2020

I'll do that asap, but it might take a little while.

TEST DonutBuilder.fmwt


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • June 30, 2020

It's not quite the same issue, as in your cases the polygons aren't exact matches (but very close) and are being output but minus their attributes. You can see that the donut polygons that surround the erroneous polygons have slightly changed geometry and a list added, however if you change drop holes to no, no holes are output for these polygons. There's definitely something not quite right going on.

You can probably work round it by using a DonutHoleExtractor to get all the outershells, followed by a DonutBuilder to rebuild the donuts, and output the holes