Package org.hisp.dhis.util
Class GeoUtils
java.lang.Object
org.hisp.dhis.util.GeoUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.locationtech.jts.geom.PointtoPoint(double longitude, double latitude) Creates aPointbased on the given longitude (x) and latitude (y).
-
Constructor Details
-
GeoUtils
public GeoUtils()
-
-
Method Details
-
toPoint
public static org.locationtech.jts.geom.Point toPoint(double longitude, double latitude) Creates aPointbased on the given longitude (x) and latitude (y).- Parameters:
longitude- the longitude (x value).latitude- the latitude (y value).- Returns:
- a
Point
-