Class ST_Y

  • All Implemented Interfaces:
    org.h2gis.api.Function, org.h2gis.api.ScalarFunction

    public class ST_Y
    extends org.h2gis.api.DeterministicScalarFunction
    Get the first Y coordinate
    Author:
    Nicolas Fortin
    • Constructor Detail

      • ST_Y

        public ST_Y()
        Default constructor
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • getY

        public static Double getY​(org.locationtech.jts.geom.Geometry geometry)
        Parameters:
        geometry - Geometry instance
        Returns:
        A y coordinate or null if null or empty geometry.