Quick way to fill in multiple (i.e. thousands of) 'holes' in a polygon feature?

1,346 views
Skip to first unread message

Marty Rocks

unread,
Feb 4, 2015, 8:40:58 PM2/4/15
to mapi...@googlegroups.com
Hi everyone. So I've a polygon of Australia, which includes all the lakes and ponds in the country which number in the thousands. All I want to do is 'fill them in' leaving em with a solid polygon that has one single outline and no holes. Is there a quick (or at least efficient) way to do this in Mapinfo? To my eternal shame, I've been toying around with ESRI's donut hole filler tool but to no avail and was hoping for a similar tool in Mapinfo...?

Cheers everyone!

Timothy Mashford

unread,
Feb 4, 2015, 8:47:25 PM2/4/15
to mapi...@googlegroups.com
Select the polygon and go Objects -> Disaggregate, select All Objects and un-tick 'Retain Holes in Regions'

This should turn all the holes into separate polygons which you can then remove etc

Tim

On Thu, Feb 5, 2015 at 12:40 PM, Marty Rocks <martyr...@gmail.com> wrote:
Hi everyone. So I've a polygon of Australia, which includes all the lakes and ponds in the country which number in the thousands. All I want to do is 'fill them in' leaving em with a solid polygon that has one single outline and no holes. Is there a quick (or at least efficient) way to do this in Mapinfo? To my eternal shame, I've been toying around with ESRI's donut hole filler tool but to no avail and was hoping for a similar tool in Mapinfo...?

Cheers everyone!

--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Marty Rocks

unread,
Feb 4, 2015, 11:13:40 PM2/4/15
to mapi...@googlegroups.com
Bloody brilliant. Cheers Tim!!

Uffe Kousgaard

unread,
Feb 5, 2015, 2:47:06 AM2/5/15
to mapi...@googlegroups.com
Looong time before MapInfo had it as a built-in feature, I added it to the RouteWare ToolBox:
http://www.routeware.dk/toolbox.php

You can even get the source from the download page.

Regards
Uffe Kousgaard

Marty Rocks wrote:
Hi everyone. So I've a polygon of Australia, which includes all the lakes and ponds in the country which number in the thousands. All I want to do is 'fill them in' leaving em with a solid polygon that has one single outline and no holes. Is there a quick (or at least efficient) way to do this in Mapinfo? To my eternal shame, I've been toying around with ESRI's donut hole filler tool but to no avail and was hoping for a similar tool in Mapinfo...?

Cheers everyone!

Marty Rocks

unread,
Feb 5, 2015, 8:49:02 PM2/5/15
to mapi...@googlegroups.com
Thanks Uffe. Tim's method works but some of the datasets are enormous, causing my computer to crash. I'll give your tool a try and let you know how I get on!

Eric Blasenheim

unread,
Mar 2, 2015, 9:55:32 PM3/2/15
to mapi...@googlegroups.com
Another method but less data intensive.

1) zoom into somewhere on the outer border so that you can see individual nodes.
2) with layer editable, go into node mode (CTRL-R) and click on a node.
3) Holding CTRL key, click on the same node. You have now selected every node in that outer polygon.
4) Ctrl-C (copy).
5) Make sure the layer you want is editable and paste.
6) The new object is a polyline. You can convert it to region via the objects menu.

Eric

Marty Rocks

unread,
Mar 12, 2015, 3:58:29 AM3/12/15
to mapi...@googlegroups.com
I missed this somehow Eric, thanks for that, that worked perfectly!
Reply all
Reply to author
Forward
0 new messages