Class ST_CoordDim

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

    public class ST_CoordDim
    extends org.h2gis.api.DeterministicScalarFunction
    ST_CoordDim returns the dimension of the coordinates of the given geometry. Implements the SQL/MM Part 3: Spatial 5.1.3
    Author:
    Adam Gouge
    • Constructor Detail

      • ST_CoordDim

        public ST_CoordDim()
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • getCoordinateDimension

        public static Integer getCoordinateDimension​(org.locationtech.jts.geom.Geometry geom)
                                              throws IOException
        Returns the dimension of the coordinates of the given geometry.
        Parameters:
        geom - Geometry
        Returns:
        The dimension of the coordinates of the given geometry
        Throws:
        IOException