Skip to content
Advertisement

Delete polygons that have one or more side parts in common

I am trying to solve a particular case of comparison of polygons to others. I have five polygons distributed as in the figure below. The black polygon is the one with the largest area. There may be other similar cases, the main rule is to remove the smallest polygons among all those that have one or more side portions in

How to rename columns by position?

I know that I can rename columns like the above. But sometimes, I just what to rename columns by position so that I don’t have to specify the old names. I tried the above. But none of them work. Could anybody show me a concise way to rename without specifying original names? I looking for a way with minimal code.

Advertisement