p.lineTo(100.8, 0.8);
p.lineTo(100.2, 0.8);
p.closePathWithLine();
OGCPolygon ogcPolygon = new OGCPolygon(p, null);
String result = ogcPolygon.asGeoJson();
assertEquals("{\"type\":\"Polygon\",\"coordinates\":[[[100.0,0.0],[100.0,1.0],[101.0,1.0],[101.0,0.0],[100.0,0.0]],[[100.2,0.2],[100.8,0.2],[100.8,0.8],[100.2,0.8],[100.2,0.2]]]}", result);
}
@Test
public void testEnvelope() {