Class ST_AsWKT

  • All Implemented Interfaces:
    org.h2gis.api.Function, org.h2gis.api.ScalarFunction
    Direct Known Subclasses:
    ST_AsText

    public class ST_AsWKT
    extends org.h2gis.api.DeterministicScalarFunction
    Convert a Geometry value into a Well Known Text value.
    Author:
    Nicolas Fortin
    • Constructor Detail

      • ST_AsWKT

        public ST_AsWKT()
        Default constructor
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • asWKT

        public static String asWKT​(org.locationtech.jts.geom.Geometry geometry)
        Convert a Geometry value into a Well Known Text value.
        Parameters:
        geometry - Geometry instance
        Returns:
        The String representation