Class ST_SRID

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

    public class ST_SRID
    extends org.h2gis.api.DeterministicScalarFunction
    Retrieve the SRID from an EWKB encoded geometry.
    Author:
    Nicolas Fortin
    • Constructor Detail

      • ST_SRID

        public ST_SRID()
        Default constructor
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • getSRID

        public static Integer getSRID​(org.locationtech.jts.geom.Geometry geometry)
                               throws IOException
        Parameters:
        geometry - Geometry instance or null
        Returns:
        SRID value or 0 if input geometry does not have one.
        Throws:
        IOException