The Polygon input is not valid because the ring does not have enough distinct points. Each ring of a polygon must contain ...