Search in sources :

Example 1 with SemiStrict

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);
}
Also used : Geometry(com.esri.core.geometry.Geometry) MapGeometry(com.esri.core.geometry.MapGeometry) SpatialReference(com.esri.core.geometry.SpatialReference) SemiStrict(org.apache.calcite.linq4j.function.SemiStrict)

Aggregations

Geometry (com.esri.core.geometry.Geometry)1 MapGeometry (com.esri.core.geometry.MapGeometry)1 SpatialReference (com.esri.core.geometry.SpatialReference)1 SemiStrict (org.apache.calcite.linq4j.function.SemiStrict)1