Package uk.m0nom.adifproc.coords
Class LatLongUtils
java.lang.Object
uk.m0nom.adifproc.coords.LatLongUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancheckLatitudeRange(double latitude) static booleancheckLongitudeRange(double longitude) static doublefloorWithNegativeHandling(double val) static doublegetDegreesLat(org.gavaghan.geodesy.GlobalCoordinates coords) static doublegetDegreesLong(org.gavaghan.geodesy.GlobalCoordinates coords) static StringgetEastWest(org.gavaghan.geodesy.GlobalCoordinates coords) static doublegetMinutesLat(org.gavaghan.geodesy.GlobalCoordinates coords) static doublegetMinutesLong(org.gavaghan.geodesy.GlobalCoordinates coords) static StringgetNorthSouth(org.gavaghan.geodesy.GlobalCoordinates coords) static doublegetSecondsLat(org.gavaghan.geodesy.GlobalCoordinates coords) static doublegetSecondsLong(org.gavaghan.geodesy.GlobalCoordinates coords) static doublegetWholeMinutesLat(org.gavaghan.geodesy.GlobalCoordinates coords) static doublegetWholeMinutesLong(org.gavaghan.geodesy.GlobalCoordinates coords) static booleanisCoordinateValid(org.gavaghan.geodesy.GlobalCoordinates coords) static DoubleparseDecimalLatitude(String latString) static DoubleparseDecimalLatitude(String latString, String latNorthSouth) static DoubleparseDecimalLatitudeWithNs(String latString, String latNorthSouth) static DoubleparseDecimalLongitude(String longString) static DoubleparseDecimalLongitude(String longString, String longEastWest) static DoubleparseDecimalLongitudeWithEw(String longString, String longEastWest) static DoubleparseDegDecimalMinLatitude(String latDegrees, String latMinutes, String latNorthSouth) static DoubleparseDegDecimalMinLongitude(String longDegrees, String longMinutes, String longEastWest) static DoubleparseDegMinSecLatitude(String latDegrees, String latMinutes, String latSeconds, String latNorthSouth) static DoubleparseDegMinSecLongitude(String longDegrees, String longMinutes, String longSeconds, String longEastWest) static DoubleparseDegreesMinutes(String degrees, String minutes, boolean negative) static DoubleparseDegreesMinutesSeconds(String degrees, String minutes, String seconds, boolean negative)
-
Constructor Details
-
LatLongUtils
public LatLongUtils()
-
-
Method Details
-
parseDecimalLatitude
-
parseDecimalLatitude
-
parseDecimalLongitude
-
parseDecimalLongitude
-
parseDecimalLatitudeWithNs
-
parseDecimalLongitudeWithEw
-
parseDegMinSecLatitude
-
parseDegMinSecLongitude
-
parseDegreesMinutes
-
parseDegreesMinutesSeconds
-
parseDegDecimalMinLatitude
-
parseDegDecimalMinLongitude
-
isCoordinateValid
public static boolean isCoordinateValid(org.gavaghan.geodesy.GlobalCoordinates coords) -
checkLatitudeRange
public static boolean checkLatitudeRange(double latitude) -
checkLongitudeRange
public static boolean checkLongitudeRange(double longitude) -
getNorthSouth
-
getEastWest
-
getDegreesLat
public static double getDegreesLat(org.gavaghan.geodesy.GlobalCoordinates coords) -
getMinutesLat
public static double getMinutesLat(org.gavaghan.geodesy.GlobalCoordinates coords) -
getSecondsLat
public static double getSecondsLat(org.gavaghan.geodesy.GlobalCoordinates coords) -
getDegreesLong
public static double getDegreesLong(org.gavaghan.geodesy.GlobalCoordinates coords) -
getMinutesLong
public static double getMinutesLong(org.gavaghan.geodesy.GlobalCoordinates coords) -
getSecondsLong
public static double getSecondsLong(org.gavaghan.geodesy.GlobalCoordinates coords) -
floorWithNegativeHandling
public static double floorWithNegativeHandling(double val) -
getWholeMinutesLat
public static double getWholeMinutesLat(org.gavaghan.geodesy.GlobalCoordinates coords) -
getWholeMinutesLong
public static double getWholeMinutesLong(org.gavaghan.geodesy.GlobalCoordinates coords)
-