use of org.apache.calcite.linq4j.function.SemiStrict in project calcite by apache.
the class GeoFunctions method ST_Union.
/**
* Computes the union of the geometries in {@code geomCollection}.
*/
@SemiStrict
public static Geom ST_Union(Geom geomCollection) {
SpatialReference sr = geomCollection.sr();
final Geometry g = GeometryEngine.union(new Geometry[] { geomCollection.g() }, sr);
return bind(g, sr);
}
Aggregations