[GEOT-4950]: FootprintExtractionProcess based on MarchingSquare

GEOT-4950: Adding test for write
Merge pull request #617 from dromagnoli/GEOT-4950-12.x

[GEOT-4950]: FootprintExtractionProcess based on MarchingSquare- bkp to 12.x