GeoUtils { public static Point createPoint(Double latitude, Double longitude) { return GEOM_FACTORY.createPoint(new Coordinate(longitude, latitude)); }  static Point createPoint(Double latitude, Double longitude); static double getHarvesineDistance(double lat1, double lon1, double lat2, double lon2); static String getHarvesineSQL(DBType dbType);  }
@Test public void testWKT() { Point positon = GeoUtils.createPoint(new Double("20.7118088"), new Double("77.0256938")); System.out.println("position WKT: " + positon.toText()); System.out.println("position geometry type: " + positon.getGeometryType()); }