Package mil.nga.geopackage.dgiwg
Class UTMZone
- java.lang.Object
-
- mil.nga.geopackage.dgiwg.UTMZone
-
public class UTMZone extends Object
UTM Zone utilities- Since:
- 6.6.0
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description UTMZone()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
getCentralMeridian(long zone)
Get the central meridianstatic long
getFalseNorthing(long epsg)
Get the UTM Zone False Northingstatic String
getLatDirection(long epsg)
Get the UTM Zone Latitude Directionstatic long
getZone(long epsg)
Get the UTM Zonestatic boolean
isNorth(long epsg)
Is the EPSG a UTM North Zonestatic boolean
isSouth(long epsg)
Is the EPSG a UTM South Zonestatic boolean
isZone(long epsg)
Is the EPSG a UTM Zone
-
-
-
Field Detail
-
NORTH_MIN
public static final long NORTH_MIN
North min EPSG code- See Also:
- Constant Field Values
-
NORTH_MAX
public static final long NORTH_MAX
North max EPSG code- See Also:
- Constant Field Values
-
SOUTH_MIN
public static final long SOUTH_MIN
South min EPSG code- See Also:
- Constant Field Values
-
SOUTH_MAX
public static final long SOUTH_MAX
South max EPSG code- See Also:
- Constant Field Values
-
-
Method Detail
-
getZone
public static long getZone(long epsg)
Get the UTM Zone
-
getLatDirection
public static String getLatDirection(long epsg)
Get the UTM Zone Latitude Direction
-
getCentralMeridian
public static long getCentralMeridian(long zone)
Get the central meridian- Parameters:
zone
- UTM zone- Returns:
- central meridian
-
getFalseNorthing
public static long getFalseNorthing(long epsg)
Get the UTM Zone False Northing
-
isZone
public static boolean isZone(long epsg)
Is the EPSG a UTM Zone- Parameters:
epsg
- EPSG- Returns:
- true if UTM zone
-
isNorth
public static boolean isNorth(long epsg)
Is the EPSG a UTM North Zone- Parameters:
epsg
- EPSG- Returns:
- true if UTM north zone
-
isSouth
public static boolean isSouth(long epsg)
Is the EPSG a UTM South Zone- Parameters:
epsg
- EPSG- Returns:
- true if UTM south zone
-
-