get the last feature for polygons