}
} else if (geom instanceof LineStringTypeInfo) {
LineStringTypeInfo linestring = (LineStringTypeInfo) geom;
if (linestring.ifCoordList()) {
geometry = factory.createLineString(getCoordinates(linestring.getCoordList()));
} else if (linestring.ifCoordinates()) {
geometry = factory.createLineString(getCoordinates(linestring.getCoordinates()));
}
} else if (geom instanceof PolygonTypeInfo) {
PolygonTypeInfo polygon = (PolygonTypeInfo) geom;
OuterBoundaryIsInfo outer = polygon.getOuterBoundaryIs();