p.startPath(100.0, 0.0);
p.lineTo(101.0, 0.0);
p.lineTo(101.0, 1.0);
p.lineTo(100.0, 1.0);
OGCLineString ogcLineString = new OGCLineString(p, 0, null);
String result = ogcLineString.asGeoJson();
assertEquals("{\"type\":\"LineString\",\"coordinates\":[[100.0,0.0],[101.0,0.0],[101.0,1.0],[100.0,1.0]]}", result);
}
@Test
public void testPolygon() {