Package org.gbif.api.util
Class LengthUtils
- java.lang.Object
- 
- org.gbif.api.util.LengthUtils
 
- 
 public class LengthUtils extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description static intLAT_DEGREE_IN_METER
 - 
Constructor SummaryConstructors Constructor Description LengthUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static doublelatDegreeToMeters(double latDegrees)Latitude degrees are roughly linear to meters on the earth spheroid.static doublemetersToLatDegree(double meter)Latitude degrees are roughly linear to meters on the earth spheroid.
 
- 
- 
- 
Field Detail- 
LAT_DEGREE_IN_METERpublic static final int LAT_DEGREE_IN_METER - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
LengthUtilspublic LengthUtils() 
 
- 
 - 
Method Detail- 
metersToLatDegreepublic 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
 
 - 
latDegreeToMeterspublic 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
 
 
- 
 
-