Class Constructors

java.lang.Object
org.apache.sedona.common.geography.Constructors

public class Constructors extends Object
  • Constructor Details

    • Constructors

      public Constructors()
  • Method Details

    • geogFromWKB

      public static Geography geogFromWKB(byte[] wkb) throws org.locationtech.jts.io.ParseException
      Throws:
      org.locationtech.jts.io.ParseException
    • geogFromWKB

      public static Geography geogFromWKB(byte[] wkb, int SRID) throws org.locationtech.jts.io.ParseException
      Throws:
      org.locationtech.jts.io.ParseException
    • geogFromWKT

      public static Geography geogFromWKT(String wkt, int srid) throws org.locationtech.jts.io.ParseException
      Throws:
      org.locationtech.jts.io.ParseException
    • geogFromEWKT

      public static Geography geogFromEWKT(String ewkt) throws org.locationtech.jts.io.ParseException
      Throws:
      org.locationtech.jts.io.ParseException
    • geogCollFromText

      public static Geography geogCollFromText(String wkt, int srid) throws org.locationtech.jts.io.ParseException
      Throws:
      org.locationtech.jts.io.ParseException
    • geogFromGeoHash

      public static Geography geogFromGeoHash(String geoHash, Integer precision)
    • geogToGeometry

      public static org.locationtech.jts.geom.Geometry geogToGeometry(Geography geography)
    • geogToGeometry

      public static org.locationtech.jts.geom.Geometry geogToGeometry(Geography geography, org.locationtech.jts.geom.GeometryFactory geometryFactory)
    • geomToGeography

      public static Geography geomToGeography(org.locationtech.jts.geom.Geometry geom)