checkCreateSchemaAndInsert(poly);
}
public void testCreateSchemaAndInsertPolyRectangleWithHole() throws Exception {
LiteCoordinateSequenceFactory csf = new LiteCoordinateSequenceFactory();
GeometryFactory gf = new GeometryFactory(csf);
LinearRing shell = gf.createLinearRing(csf.create(new double[] { 0, 0, 99, 10, 0, 33, 10,
10, 66, 0, 10, 66, 0, 0, 99 }, 3));
LinearRing hole = gf.createLinearRing(csf.create(new double[] { 2, 2, 99, 3, 2, 44, 3, 3,
99, 2, 3, 99, 2, 2, 99 }, 3));
Polygon poly = gf.createPolygon(shell, new LinearRing[] { hole });
checkCreateSchemaAndInsert(poly);
}