Class LengthUtils

    • Method Detail

      • metersToLatDegree

        public static double metersToLatDegree​(double meter)
        Latitude degrees are roughly linear to meters on the earth spheroid. Just the longitudinal degree changes considerably with distance to the equator See https://en.wikipedia.org/wiki/Geographic_coordinate_system#Expressing_latitude_and_longitude_as_linear_units
        Returns:
        the decimal latitudinal degree equivalent to the given length in meters
      • latDegreeToMeters

        public static double latDegreeToMeters​(double latDegrees)
        Latitude degrees are roughly linear to meters on the earth spheroid. Just the longitudinal degree changes considerably with distance to the equator See https://en.wikipedia.org/wiki/Geographic_coordinate_system#Expressing_latitude_and_longitude_as_linear_units
        Returns:
        the length in meters equivalent to the given decimal latitudinal degree