expanse function

Area of polygons or length of lines