I am trying to build procedure for finding gaps and convert the procedure steps in to code, but i am finding some difficulty, i wonder if someone can help me with it.
the steps i planned in seek of finding the gaps between polygons(which i have tried it using the toolbox and it works) are structured as the following:
- To find the gaps first i will merge all polygons in one polygon, but the resultant polygon still contain the gaps in it.
- i will build new polygon from the merged polygon by using only the outer perimeter points,since there is gaps, they will make an inner perimeter.
- i will subtract the new polygon from the merged polygon and the remaining will be only the gaps in forms of polygons, this can be done by using the erase tool
hope someone can provide me with the code syntax especially for step 2 and 3 in VBA (this is the internment required for this application)