private static Polygon ToPolygon(BoundingBox box) { return new Polygon { ExteriorRing = new LinearRing(new[] { box.BottomLeft, box.TopLeft, box.TopRight, box.BottomRight, box.BottomLeft }) }; }