final version of the module for inundated areas polygons