Class EXIFGPSTagSet
- java.lang.Object
-
- com.github.jaiimageio.plugins.tiff.TIFFTagSet
-
- com.github.jaiimageio.plugins.tiff.EXIFGPSTagSet
-
public class EXIFGPSTagSet extends TIFFTagSet
A class representing the tags found in an EXIF GPS Info IFD.The definitions of the data types referenced by the field definitions may be found in the
class.TIFFTag
- See Also:
EXIFTIFFTagSet
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
EXIFGPSTagSet.GPSAltitude
(package private) static class
EXIFGPSTagSet.GPSAltitudeRef
(package private) static class
EXIFGPSTagSet.GPSAreaInformation
(package private) static class
EXIFGPSTagSet.GPSDateStamp
(package private) static class
EXIFGPSTagSet.GPSDestBearing
(package private) static class
EXIFGPSTagSet.GPSDestBearingRef
(package private) static class
EXIFGPSTagSet.GPSDestDistance
(package private) static class
EXIFGPSTagSet.GPSDestDistanceRef
(package private) static class
EXIFGPSTagSet.GPSDestLatitude
(package private) static class
EXIFGPSTagSet.GPSDestLatitudeRef
(package private) static class
EXIFGPSTagSet.GPSDestLongitude
(package private) static class
EXIFGPSTagSet.GPSDestLongitudeRef
(package private) static class
EXIFGPSTagSet.GPSDifferential
(package private) static class
EXIFGPSTagSet.GPSDOP
(package private) static class
EXIFGPSTagSet.GPSImgDirection
(package private) static class
EXIFGPSTagSet.GPSImgDirectionRef
(package private) static class
EXIFGPSTagSet.GPSLatitude
(package private) static class
EXIFGPSTagSet.GPSLatitudeRef
(package private) static class
EXIFGPSTagSet.GPSLongitude
(package private) static class
EXIFGPSTagSet.GPSLongitudeRef
(package private) static class
EXIFGPSTagSet.GPSMapDatum
(package private) static class
EXIFGPSTagSet.GPSMeasureMode
(package private) static class
EXIFGPSTagSet.GPSProcessingMethod
(package private) static class
EXIFGPSTagSet.GPSSatellites
(package private) static class
EXIFGPSTagSet.GPSSpeed
(package private) static class
EXIFGPSTagSet.GPSSpeedRef
(package private) static class
EXIFGPSTagSet.GPSStatus
(package private) static class
EXIFGPSTagSet.GPSTimeStamp
(package private) static class
EXIFGPSTagSet.GPSTrack
(package private) static class
EXIFGPSTagSet.GPSTrackRef
(package private) static class
EXIFGPSTagSet.GPSVersionID
-
Field Summary
Fields Modifier and Type Field Description static int
ALTITUDE_REF_SEA_LEVEL
A value to be used with the "GPSAltitudeRef" tag.static int
ALTITUDE_REF_SEA_LEVEL_REFERENCE
A value to be used with the "GPSAltitudeRef" tag.static java.lang.String
DEST_DISTANCE_REF_KILOMETERS
A value to be used with the "GPSDestDistanceRef" tag.static java.lang.String
DEST_DISTANCE_REF_KNOTS
A value to be used with the "GPSDestDistanceRef" tag.static java.lang.String
DEST_DISTANCE_REF_MILES
A value to be used with the "GPSDestDistanceRef" tag.static int
DIFFERENTIAL_CORRECTION_APPLIED
A value to be used with the "GPSDifferential" tag.static int
DIFFERENTIAL_CORRECTION_NONE
A value to be used with the "GPSDifferential" tag.static java.lang.String
DIRECTION_REF_MAGNETIC
A value to be used with the "GPSTrackRef", "GPSImgDirectionRef", and "GPSDestBearingRef" tags.static java.lang.String
DIRECTION_REF_TRUE
A value to be used with the "GPSTrackRef", "GPSImgDirectionRef", and "GPSDestBearingRef" tags.static byte[]
GPS_VERSION_2_2
An array of bytes containing the values{'2', '2', '0', '0'}
to be used with the "GPSVersionID" tag to indicate GPS version 2.2.static java.lang.String
LATITUDE_REF_NORTH
A value to be used with the "GPSLatitudeRef" and "GPSDestLatitudeRef" tags.static java.lang.String
LATITUDE_REF_SOUTH
A value to be used with the "GPSLatitudeRef" and "GPSDestLatitudeRef" tags.static java.lang.String
LONGITUDE_REF_EAST
A value to be used with the "GPSLongitudeRef" and "GPSDestLongitudeRef" tags.static java.lang.String
LONGITUDE_REF_WEST
A value to be used with the "GPSLongitudeRef" and "GPSDestLongitudeRef" tags.static java.lang.String
MEASURE_MODE_2D
A value to be used with the "GPSMeasureMode" tag.static java.lang.String
MEASURE_MODE_3D
A value to be used with the "GPSMeasureMode" tag.static java.lang.String
SPEED_REF_KILOMETERS_PER_HOUR
A value to be used with the "GPSSpeedRef" tag.static java.lang.String
SPEED_REF_KNOTS
A value to be used with the "GPSSpeedRef" tag.static java.lang.String
SPEED_REF_MILES_PER_HOUR
A value to be used with the "GPSSpeedRef" tag.static java.lang.String
STATUS_MEASUREMENT_IN_PROGRESS
A value to be used with the "GPSStatus" tag.static java.lang.String
STATUS_MEASUREMENT_INTEROPERABILITY
A value to be used with the "GPSStatus" tag.static int
TAG_GPS_ALTITUDE
A tag indicating the Altitude (type RATIONAL, count = 1).static int
TAG_GPS_ALTITUDE_REF
A tag indicating the Altitude reference (type BYTE, count = 1);static int
TAG_GPS_AREA_INFORMATION
A tag indicating the Name of GPS area (type UNDEFINED).static int
TAG_GPS_DATE_STAMP
A tag indicating the GPS date (type ASCII, count 11).static int
TAG_GPS_DEST_BEARING
A tag indicating the Bearing of destination (type RATIONAL, count = 1).static int
TAG_GPS_DEST_BEARING_REF
A tag indicating the Reference for bearing of destination (type ASCII, count = 2).static int
TAG_GPS_DEST_DISTANCE
A tag indicating the Distance to destination (type RATIONAL, count = 1).static int
TAG_GPS_DEST_DISTANCE_REF
A tag indicating the Reference for distance to destination (type ASCII, count = 2).static int
TAG_GPS_DEST_LATITUDE
A tag indicating the Latitude of destination (type RATIONAL, count = 3).static int
TAG_GPS_DEST_LATITUDE_REF
A tag indicating the Reference for latitude of destination (type ASCII, count = 2).static int
TAG_GPS_DEST_LONGITUDE
A tag indicating the Longitude of destination (type RATIONAL, count = 3).static int
TAG_GPS_DEST_LONGITUDE_REF
A tag indicating the Reference for longitude of destination (type ASCII, count = 2).static int
TAG_GPS_DIFFERENTIAL
A tag indicating the GPS differential correction (type SHORT, count = 1).static int
TAG_GPS_DOP
A tag indicating the Measurement precision (type RATIONAL, count = 1).static int
TAG_GPS_IMG_DIRECTION
A tag indicating the Direction of image (type RATIONAL, count = 1).static int
TAG_GPS_IMG_DIRECTION_REF
A tag indicating the Reference for direction of image (type ASCII, count = 2).static int
TAG_GPS_LATITUDE
A tag indicating the Latitude (type RATIONAL, count = 3).static int
TAG_GPS_LATITUDE_REF
A tag indicating the North or South latitude (type ASCII, count = 2).static int
TAG_GPS_LONGITUDE
A tag indicating the Longitude (type RATIONAL, count = 3).static int
TAG_GPS_LONGITUDE_REF
A tag indicating the East or West Longitude (type ASCII, count = 2).static int
TAG_GPS_MAP_DATUM
A tag indicating the Geodetic survey data used (type ASCII).static int
TAG_GPS_MEASURE_MODE
A tag indicating the GPS measurement mode (type ASCII, count = 2).static int
TAG_GPS_PROCESSING_METHOD
A tag indicating the Name of GPS processing method (type UNDEFINED).static int
TAG_GPS_SATELLITES
A tag indicating the GPS satellites used for measurement (type ASCII).static int
TAG_GPS_SPEED
A tag indicating the Speed of GPS receiver (type RATIONAL, count = 1).static int
TAG_GPS_SPEED_REF
A tag indicating the Speed unit (type ASCII, count = 2).static int
TAG_GPS_STATUS
A tag indicating the GPS receiver status (type ASCII, count = 2).static int
TAG_GPS_TIME_STAMP
A tag indicating the GPS time (atomic clock) (type RATIONAL, count = 3).static int
TAG_GPS_TRACK
A tag indicating the Direction of movement (type RATIONAL, count = 1).static int
TAG_GPS_TRACK_REF
A tag indicating the Reference for direction of movement (type ASCII, count = 2).static int
TAG_GPS_VERSION_ID
A tag indicating the GPS tag version (type BYTE, count = 4).private static EXIFGPSTagSet
theInstance
-
Constructor Summary
Constructors Modifier Constructor Description private
EXIFGPSTagSet()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EXIFGPSTagSet
getInstance()
Returns a shared instance of anEXIFGPSTagSet
.private static java.util.List
initTags()
-
Methods inherited from class com.github.jaiimageio.plugins.tiff.TIFFTagSet
getTag, getTag, getTagNames, getTagNumbers
-
-
-
-
Field Detail
-
theInstance
private static EXIFGPSTagSet theInstance
-
TAG_GPS_VERSION_ID
public static final int TAG_GPS_VERSION_ID
A tag indicating the GPS tag version (type BYTE, count = 4).- See Also:
GPS_VERSION_2_2
, Constant Field Values
-
GPS_VERSION_2_2
public static byte[] GPS_VERSION_2_2
An array of bytes containing the values{'2', '2', '0', '0'}
to be used with the "GPSVersionID" tag to indicate GPS version 2.2.- See Also:
TAG_GPS_VERSION_ID
-
TAG_GPS_LATITUDE_REF
public static final int TAG_GPS_LATITUDE_REF
A tag indicating the North or South latitude (type ASCII, count = 2).
-
TAG_GPS_LATITUDE
public static final int TAG_GPS_LATITUDE
A tag indicating the Latitude (type RATIONAL, count = 3).- See Also:
- Constant Field Values
-
TAG_GPS_LONGITUDE_REF
public static final int TAG_GPS_LONGITUDE_REF
A tag indicating the East or West Longitude (type ASCII, count = 2).
-
TAG_GPS_LONGITUDE
public static final int TAG_GPS_LONGITUDE
A tag indicating the Longitude (type RATIONAL, count = 3).- See Also:
- Constant Field Values
-
TAG_GPS_ALTITUDE_REF
public static final int TAG_GPS_ALTITUDE_REF
A tag indicating the Altitude reference (type BYTE, count = 1);
-
TAG_GPS_ALTITUDE
public static final int TAG_GPS_ALTITUDE
A tag indicating the Altitude (type RATIONAL, count = 1).- See Also:
- Constant Field Values
-
TAG_GPS_TIME_STAMP
public static final int TAG_GPS_TIME_STAMP
A tag indicating the GPS time (atomic clock) (type RATIONAL, count = 3).- See Also:
- Constant Field Values
-
TAG_GPS_SATELLITES
public static final int TAG_GPS_SATELLITES
A tag indicating the GPS satellites used for measurement (type ASCII).- See Also:
- Constant Field Values
-
TAG_GPS_STATUS
public static final int TAG_GPS_STATUS
A tag indicating the GPS receiver status (type ASCII, count = 2).
-
TAG_GPS_MEASURE_MODE
public static final int TAG_GPS_MEASURE_MODE
A tag indicating the GPS measurement mode (type ASCII, count = 2).- See Also:
MEASURE_MODE_2D
,MEASURE_MODE_3D
, Constant Field Values
-
TAG_GPS_DOP
public static final int TAG_GPS_DOP
A tag indicating the Measurement precision (type RATIONAL, count = 1).- See Also:
- Constant Field Values
-
TAG_GPS_SPEED_REF
public static final int TAG_GPS_SPEED_REF
A tag indicating the Speed unit (type ASCII, count = 2).
-
TAG_GPS_SPEED
public static final int TAG_GPS_SPEED
A tag indicating the Speed of GPS receiver (type RATIONAL, count = 1).- See Also:
- Constant Field Values
-
TAG_GPS_TRACK_REF
public static final int TAG_GPS_TRACK_REF
A tag indicating the Reference for direction of movement (type ASCII, count = 2).
-
TAG_GPS_TRACK
public static final int TAG_GPS_TRACK
A tag indicating the Direction of movement (type RATIONAL, count = 1).- See Also:
- Constant Field Values
-
TAG_GPS_IMG_DIRECTION_REF
public static final int TAG_GPS_IMG_DIRECTION_REF
A tag indicating the Reference for direction of image (type ASCII, count = 2).
-
TAG_GPS_IMG_DIRECTION
public static final int TAG_GPS_IMG_DIRECTION
A tag indicating the Direction of image (type RATIONAL, count = 1).- See Also:
- Constant Field Values
-
TAG_GPS_MAP_DATUM
public static final int TAG_GPS_MAP_DATUM
A tag indicating the Geodetic survey data used (type ASCII).- See Also:
- Constant Field Values
-
TAG_GPS_DEST_LATITUDE_REF
public static final int TAG_GPS_DEST_LATITUDE_REF
A tag indicating the Reference for latitude of destination (type ASCII, count = 2).
-
TAG_GPS_DEST_LATITUDE
public static final int TAG_GPS_DEST_LATITUDE
A tag indicating the Latitude of destination (type RATIONAL, count = 3).- See Also:
- Constant Field Values
-
TAG_GPS_DEST_LONGITUDE_REF
public static final int TAG_GPS_DEST_LONGITUDE_REF
A tag indicating the Reference for longitude of destination (type ASCII, count = 2).
-
TAG_GPS_DEST_LONGITUDE
public static final int TAG_GPS_DEST_LONGITUDE
A tag indicating the Longitude of destination (type RATIONAL, count = 3).- See Also:
- Constant Field Values
-
TAG_GPS_DEST_BEARING_REF
public static final int TAG_GPS_DEST_BEARING_REF
A tag indicating the Reference for bearing of destination (type ASCII, count = 2).
-
TAG_GPS_DEST_BEARING
public static final int TAG_GPS_DEST_BEARING
A tag indicating the Bearing of destination (type RATIONAL, count = 1).- See Also:
- Constant Field Values
-
TAG_GPS_DEST_DISTANCE_REF
public static final int TAG_GPS_DEST_DISTANCE_REF
A tag indicating the Reference for distance to destination (type ASCII, count = 2).
-
TAG_GPS_DEST_DISTANCE
public static final int TAG_GPS_DEST_DISTANCE
A tag indicating the Distance to destination (type RATIONAL, count = 1).- See Also:
- Constant Field Values
-
TAG_GPS_PROCESSING_METHOD
public static final int TAG_GPS_PROCESSING_METHOD
A tag indicating the Name of GPS processing method (type UNDEFINED).- See Also:
- Constant Field Values
-
TAG_GPS_AREA_INFORMATION
public static final int TAG_GPS_AREA_INFORMATION
A tag indicating the Name of GPS area (type UNDEFINED).- See Also:
- Constant Field Values
-
TAG_GPS_DATE_STAMP
public static final int TAG_GPS_DATE_STAMP
A tag indicating the GPS date (type ASCII, count 11).- See Also:
- Constant Field Values
-
TAG_GPS_DIFFERENTIAL
public static final int TAG_GPS_DIFFERENTIAL
A tag indicating the GPS differential correction (type SHORT, count = 1).
-
LATITUDE_REF_NORTH
public static final java.lang.String LATITUDE_REF_NORTH
A value to be used with the "GPSLatitudeRef" and "GPSDestLatitudeRef" tags.
-
LATITUDE_REF_SOUTH
public static final java.lang.String LATITUDE_REF_SOUTH
A value to be used with the "GPSLatitudeRef" and "GPSDestLatitudeRef" tags.
-
LONGITUDE_REF_EAST
public static final java.lang.String LONGITUDE_REF_EAST
A value to be used with the "GPSLongitudeRef" and "GPSDestLongitudeRef" tags.
-
LONGITUDE_REF_WEST
public static final java.lang.String LONGITUDE_REF_WEST
A value to be used with the "GPSLongitudeRef" and "GPSDestLongitudeRef" tags.
-
ALTITUDE_REF_SEA_LEVEL
public static final int ALTITUDE_REF_SEA_LEVEL
A value to be used with the "GPSAltitudeRef" tag.- See Also:
TAG_GPS_ALTITUDE_REF
, Constant Field Values
-
ALTITUDE_REF_SEA_LEVEL_REFERENCE
public static final int ALTITUDE_REF_SEA_LEVEL_REFERENCE
A value to be used with the "GPSAltitudeRef" tag.- See Also:
TAG_GPS_ALTITUDE_REF
, Constant Field Values
-
STATUS_MEASUREMENT_IN_PROGRESS
public static final java.lang.String STATUS_MEASUREMENT_IN_PROGRESS
A value to be used with the "GPSStatus" tag.- See Also:
TAG_GPS_STATUS
, Constant Field Values
-
STATUS_MEASUREMENT_INTEROPERABILITY
public static final java.lang.String STATUS_MEASUREMENT_INTEROPERABILITY
A value to be used with the "GPSStatus" tag.- See Also:
TAG_GPS_STATUS
, Constant Field Values
-
MEASURE_MODE_2D
public static final java.lang.String MEASURE_MODE_2D
A value to be used with the "GPSMeasureMode" tag.- See Also:
TAG_GPS_MEASURE_MODE
, Constant Field Values
-
MEASURE_MODE_3D
public static final java.lang.String MEASURE_MODE_3D
A value to be used with the "GPSMeasureMode" tag.- See Also:
TAG_GPS_MEASURE_MODE
, Constant Field Values
-
SPEED_REF_KILOMETERS_PER_HOUR
public static final java.lang.String SPEED_REF_KILOMETERS_PER_HOUR
A value to be used with the "GPSSpeedRef" tag.- See Also:
TAG_GPS_SPEED_REF
, Constant Field Values
-
SPEED_REF_MILES_PER_HOUR
public static final java.lang.String SPEED_REF_MILES_PER_HOUR
A value to be used with the "GPSSpeedRef" tag.- See Also:
TAG_GPS_SPEED_REF
, Constant Field Values
-
SPEED_REF_KNOTS
public static final java.lang.String SPEED_REF_KNOTS
A value to be used with the "GPSSpeedRef" tag.- See Also:
TAG_GPS_SPEED_REF
, Constant Field Values
-
DIRECTION_REF_TRUE
public static final java.lang.String DIRECTION_REF_TRUE
A value to be used with the "GPSTrackRef", "GPSImgDirectionRef", and "GPSDestBearingRef" tags.
-
DIRECTION_REF_MAGNETIC
public static final java.lang.String DIRECTION_REF_MAGNETIC
A value to be used with the "GPSTrackRef", "GPSImgDirectionRef", and "GPSDestBearingRef" tags.
-
DEST_DISTANCE_REF_KILOMETERS
public static final java.lang.String DEST_DISTANCE_REF_KILOMETERS
A value to be used with the "GPSDestDistanceRef" tag.- See Also:
TAG_GPS_DEST_DISTANCE_REF
, Constant Field Values
-
DEST_DISTANCE_REF_MILES
public static final java.lang.String DEST_DISTANCE_REF_MILES
A value to be used with the "GPSDestDistanceRef" tag.- See Also:
TAG_GPS_DEST_DISTANCE_REF
, Constant Field Values
-
DEST_DISTANCE_REF_KNOTS
public static final java.lang.String DEST_DISTANCE_REF_KNOTS
A value to be used with the "GPSDestDistanceRef" tag.- See Also:
TAG_GPS_DEST_DISTANCE_REF
, Constant Field Values
-
DIFFERENTIAL_CORRECTION_NONE
public static int DIFFERENTIAL_CORRECTION_NONE
A value to be used with the "GPSDifferential" tag.- See Also:
TAG_GPS_DIFFERENTIAL
-
DIFFERENTIAL_CORRECTION_APPLIED
public static int DIFFERENTIAL_CORRECTION_APPLIED
A value to be used with the "GPSDifferential" tag.- See Also:
TAG_GPS_DIFFERENTIAL
-
-
Method Detail
-
initTags
private static java.util.List initTags()
-
getInstance
public static EXIFGPSTagSet getInstance()
Returns a shared instance of anEXIFGPSTagSet
.- Returns:
- an
EXIFGPSTagSet
instance.
-
-