combine contiguous polygons

23 views
Skip to first unread message

Anne Carey

unread,
Jul 21, 2024, 8:34:27 AM (6 days ago) Jul 21
to MapInfo-L
Morning all,
I have a vegetation layer with 34000+ separate polygons based on remotely sensed vegetation types in a partially cleared landscape. I am only interested in the area of each vegetation patch not the type of vegetation so want to combine any polygons that share a boundary. I can't see an obvious solution - any assistance would be appreciated.
TIA
Anne

Ross Nixon

unread,
Jul 21, 2024, 6:12:34 PM (6 days ago) Jul 21
to MapInfo-L
Combine every object in the table. Then disaggregate. As long as two polygons shared at least one node, or had a slight overlap, they will end up as one polygon.

sam.s.j...@gmail.com

unread,
Jul 22, 2024, 2:23:08 AM (5 days ago) Jul 22
to MapInfo-L
Here is a raster-based solution for you.
On your PC, open the Microsoft Store and search for the "ProRaster Scientific" application.
You can install the app from the Store as a 7-day free trial. After 7 days it stops working unless you go back to the Store and purchase it.

Run the app and drop down the "Processing" menu button.
Select the "Classify (Polygons)" operation.
This will convert a MapInfo table containing polygons into a raster.
As a minimum, browse to the MapInfo table file and specify the output raster file and cell size.
Here is a video you can watch for some help - https://youtu.be/YCma1fr8C_4

After processing, the raster will be displayed.
Now, open the "Raster Source Editor" (there is a button on the app) and select the raster.
You can now display information about the raster including statistics. 
Select the raster, drop down the "Info" button, and select "Detailed + Statistics".
Then, hit the Info button and it will display all the information.

In the report, look for "Spatial statistics for field 0 band 0".
Under this is the "Valid sample count:".
This is the number of populated cells that are inside the polygons.
Multiply the valid sample count by the area of a cell, and you have your answer.

We are "pixellating" the polygons, so the area will be slightly different to the true mathematical area. 
You will want your original polygon table to be in a suitable projection.

Reply all
Reply to author
Forward
0 new messages