}
LineString lineString = fac.createLineString(new Coordinate[] { new Coordinate(0, 0), new Coordinate(0, 1) });
if (type == LineString.class) {
return lineString;
}
LinearRing linearRing = fac.createLinearRing(new Coordinate[] { new Coordinate(0, 0), new Coordinate(0, 1),
new Coordinate(1, 1), new Coordinate(1, 0), new Coordinate(0, 0)});
if (type == LinearRing.class) {
return linearRing;
}
if (type == MultiLineString.class) {