else
return new OGCConcreteGeometryCollection(geoms, sr);
}
public static OGCGeometry fromText(String text) {
OperatorImportFromWkt op = (OperatorImportFromWkt) OperatorFactoryLocal
.getInstance().getOperator(Operator.Type.ImportFromWkt);
OGCStructure ogcStructure = op.executeOGC(0, text, null);
return OGCGeometry.createFromOGCStructure(ogcStructure,
SpatialReference.create(4326));
}