**4. Conclusions**

The proposed land exchange algorithm, not only in the process of consolidation works, should be propagated among farmers as it provides a possibility of bringing the land closer to the owner's dwelling and designing larger surface areas of the registered plots. The algorithm was tested in the area of the Puchaczów commune in 15 villages. Detailed studies have shown that both the area of individual lands and the area of the entire commune will not change significantly. The area of individual land in the commune, after the exchange of land between individual villages, will increase by 172.09 ha, which is 2.5% for the area of individual lands and 1.9% for the area of the commune. On the other hand, differentiation occurs in individual villages. To sum up, the external plot patchwork, as demonstrated by the surveys concerning its spatial distribution, may be eliminated by the exchange, lease, and sale of land.

Until now, similar algorithms have not been used for the exchange of land. It is advisable to conduct further research, which will take into account such aspects as soil class, slope, road access, or land value. The designed algorithm can be used in other areas, which was confirmed by the analyses. However, research should be expanded. Surveys can be carried out to see if farmers are interested in the exchange of land. Additionally, it is advisable to check in which areas the land exchange should be carried out in the first place. Due to its complexity, this procedure cannot be performed in the entire area at the same time.

**Author Contributions:** Conceptualization, Z.S.; methodology, ˙ Z.S. and M.M.; software, P.P.; valida- ˙ tion, P.L. and J.W.-L., formal analysis, Z.S. and P.P.; investigation, P.L. and L.D.; resources, J.W.-L.; ˙ data curation, Z.S.; writing—original draft preparation, ˙ Z.S., M.M., and P.L.; writing—review and ˙ editing, Z.S., M.M., and P.L.; visualization, P.P.; supervision, M.M.; project administration, L.D. All ˙ authors have read and agreed to the published version of the manuscript.

**Funding:** This research received no external funding.

**Institutional Review Board Statement:** Not applicable.

**Informed Consent Statement:** Not applicable.

**Data Availability Statement:** The data presented in this study are available on request from the corresponding author.

**Conflicts of Interest:** The authors declare no conflict of interest.
