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 classEXIFGPSTagSet.GPSAltitude(package private) static classEXIFGPSTagSet.GPSAltitudeRef(package private) static classEXIFGPSTagSet.GPSAreaInformation(package private) static classEXIFGPSTagSet.GPSDateStamp(package private) static classEXIFGPSTagSet.GPSDestBearing(package private) static classEXIFGPSTagSet.GPSDestBearingRef(package private) static classEXIFGPSTagSet.GPSDestDistance(package private) static classEXIFGPSTagSet.GPSDestDistanceRef(package private) static classEXIFGPSTagSet.GPSDestLatitude(package private) static classEXIFGPSTagSet.GPSDestLatitudeRef(package private) static classEXIFGPSTagSet.GPSDestLongitude(package private) static classEXIFGPSTagSet.GPSDestLongitudeRef(package private) static classEXIFGPSTagSet.GPSDifferential(package private) static classEXIFGPSTagSet.GPSDOP(package private) static classEXIFGPSTagSet.GPSImgDirection(package private) static classEXIFGPSTagSet.GPSImgDirectionRef(package private) static classEXIFGPSTagSet.GPSLatitude(package private) static classEXIFGPSTagSet.GPSLatitudeRef(package private) static classEXIFGPSTagSet.GPSLongitude(package private) static classEXIFGPSTagSet.GPSLongitudeRef(package private) static classEXIFGPSTagSet.GPSMapDatum(package private) static classEXIFGPSTagSet.GPSMeasureMode(package private) static classEXIFGPSTagSet.GPSProcessingMethod(package private) static classEXIFGPSTagSet.GPSSatellites(package private) static classEXIFGPSTagSet.GPSSpeed(package private) static classEXIFGPSTagSet.GPSSpeedRef(package private) static classEXIFGPSTagSet.GPSStatus(package private) static classEXIFGPSTagSet.GPSTimeStamp(package private) static classEXIFGPSTagSet.GPSTrack(package private) static classEXIFGPSTagSet.GPSTrackRef(package private) static classEXIFGPSTagSet.GPSVersionID
-
Field Summary
Fields Modifier and Type Field Description static intALTITUDE_REF_SEA_LEVELA value to be used with the "GPSAltitudeRef" tag.static intALTITUDE_REF_SEA_LEVEL_REFERENCEA value to be used with the "GPSAltitudeRef" tag.static java.lang.StringDEST_DISTANCE_REF_KILOMETERSA value to be used with the "GPSDestDistanceRef" tag.static java.lang.StringDEST_DISTANCE_REF_KNOTSA value to be used with the "GPSDestDistanceRef" tag.static java.lang.StringDEST_DISTANCE_REF_MILESA value to be used with the "GPSDestDistanceRef" tag.static intDIFFERENTIAL_CORRECTION_APPLIEDA value to be used with the "GPSDifferential" tag.static intDIFFERENTIAL_CORRECTION_NONEA value to be used with the "GPSDifferential" tag.static java.lang.StringDIRECTION_REF_MAGNETICA value to be used with the "GPSTrackRef", "GPSImgDirectionRef", and "GPSDestBearingRef" tags.static java.lang.StringDIRECTION_REF_TRUEA value to be used with the "GPSTrackRef", "GPSImgDirectionRef", and "GPSDestBearingRef" tags.static byte[]GPS_VERSION_2_2An 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.StringLATITUDE_REF_NORTHA value to be used with the "GPSLatitudeRef" and "GPSDestLatitudeRef" tags.static java.lang.StringLATITUDE_REF_SOUTHA value to be used with the "GPSLatitudeRef" and "GPSDestLatitudeRef" tags.static java.lang.StringLONGITUDE_REF_EASTA value to be used with the "GPSLongitudeRef" and "GPSDestLongitudeRef" tags.static java.lang.StringLONGITUDE_REF_WESTA value to be used with the "GPSLongitudeRef" and "GPSDestLongitudeRef" tags.static java.lang.StringMEASURE_MODE_2DA value to be used with the "GPSMeasureMode" tag.static java.lang.StringMEASURE_MODE_3DA value to be used with the "GPSMeasureMode" tag.static java.lang.StringSPEED_REF_KILOMETERS_PER_HOURA value to be used with the "GPSSpeedRef" tag.static java.lang.StringSPEED_REF_KNOTSA value to be used with the "GPSSpeedRef" tag.static java.lang.StringSPEED_REF_MILES_PER_HOURA value to be used with the "GPSSpeedRef" tag.static java.lang.StringSTATUS_MEASUREMENT_IN_PROGRESSA value to be used with the "GPSStatus" tag.static java.lang.StringSTATUS_MEASUREMENT_INTEROPERABILITYA value to be used with the "GPSStatus" tag.static intTAG_GPS_ALTITUDEA tag indicating the Altitude (type RATIONAL, count = 1).static intTAG_GPS_ALTITUDE_REFA tag indicating the Altitude reference (type BYTE, count = 1);static intTAG_GPS_AREA_INFORMATIONA tag indicating the Name of GPS area (type UNDEFINED).static intTAG_GPS_DATE_STAMPA tag indicating the GPS date (type ASCII, count 11).static intTAG_GPS_DEST_BEARINGA tag indicating the Bearing of destination (type RATIONAL, count = 1).static intTAG_GPS_DEST_BEARING_REFA tag indicating the Reference for bearing of destination (type ASCII, count = 2).static intTAG_GPS_DEST_DISTANCEA tag indicating the Distance to destination (type RATIONAL, count = 1).static intTAG_GPS_DEST_DISTANCE_REFA tag indicating the Reference for distance to destination (type ASCII, count = 2).static intTAG_GPS_DEST_LATITUDEA tag indicating the Latitude of destination (type RATIONAL, count = 3).static intTAG_GPS_DEST_LATITUDE_REFA tag indicating the Reference for latitude of destination (type ASCII, count = 2).static intTAG_GPS_DEST_LONGITUDEA tag indicating the Longitude of destination (type RATIONAL, count = 3).static intTAG_GPS_DEST_LONGITUDE_REFA tag indicating the Reference for longitude of destination (type ASCII, count = 2).static intTAG_GPS_DIFFERENTIALA tag indicating the GPS differential correction (type SHORT, count = 1).static intTAG_GPS_DOPA tag indicating the Measurement precision (type RATIONAL, count = 1).static intTAG_GPS_IMG_DIRECTIONA tag indicating the Direction of image (type RATIONAL, count = 1).static intTAG_GPS_IMG_DIRECTION_REFA tag indicating the Reference for direction of image (type ASCII, count = 2).static intTAG_GPS_LATITUDEA tag indicating the Latitude (type RATIONAL, count = 3).static intTAG_GPS_LATITUDE_REFA tag indicating the North or South latitude (type ASCII, count = 2).static intTAG_GPS_LONGITUDEA tag indicating the Longitude (type RATIONAL, count = 3).static intTAG_GPS_LONGITUDE_REFA tag indicating the East or West Longitude (type ASCII, count = 2).static intTAG_GPS_MAP_DATUMA tag indicating the Geodetic survey data used (type ASCII).static intTAG_GPS_MEASURE_MODEA tag indicating the GPS measurement mode (type ASCII, count = 2).static intTAG_GPS_PROCESSING_METHODA tag indicating the Name of GPS processing method (type UNDEFINED).static intTAG_GPS_SATELLITESA tag indicating the GPS satellites used for measurement (type ASCII).static intTAG_GPS_SPEEDA tag indicating the Speed of GPS receiver (type RATIONAL, count = 1).static intTAG_GPS_SPEED_REFA tag indicating the Speed unit (type ASCII, count = 2).static intTAG_GPS_STATUSA tag indicating the GPS receiver status (type ASCII, count = 2).static intTAG_GPS_TIME_STAMPA tag indicating the GPS time (atomic clock) (type RATIONAL, count = 3).static intTAG_GPS_TRACKA tag indicating the Direction of movement (type RATIONAL, count = 1).static intTAG_GPS_TRACK_REFA tag indicating the Reference for direction of movement (type ASCII, count = 2).static intTAG_GPS_VERSION_IDA tag indicating the GPS tag version (type BYTE, count = 4).private static EXIFGPSTagSettheInstance
-
Constructor Summary
Constructors Modifier Constructor Description privateEXIFGPSTagSet()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EXIFGPSTagSetgetInstance()Returns a shared instance of anEXIFGPSTagSet.private static java.util.ListinitTags()-
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
EXIFGPSTagSetinstance.
-
-