Class GeoUtils

java.lang.Object
org.hisp.dhis.util.GeoUtils

public class GeoUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.locationtech.jts.geom.Point
    toPoint(double longitude, double latitude)
    Creates a Point based on the given longitude (x) and latitude (y).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GeoUtils

      public GeoUtils()
  • Method Details

    • toPoint

      public static org.locationtech.jts.geom.Point toPoint(double longitude, double latitude)
      Creates a Point based on the given longitude (x) and latitude (y).
      Parameters:
      longitude - the longitude (x value).
      latitude - the latitude (y value).
      Returns:
      a Point