polygonField implementation