Package gov.nih.mipav.model.file
Class MetadataExtractor.GpsDescriptor
- java.lang.Object
-
- gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor<MetadataExtractor.GpsDirectory>
-
- gov.nih.mipav.model.file.MetadataExtractor.GpsDescriptor
-
- Enclosing class:
- MetadataExtractor
public class MetadataExtractor.GpsDescriptor extends MetadataExtractor.TagDescriptor<MetadataExtractor.GpsDirectory>
Provides human-readable string representations of tag values stored in aMetadataExtractor.GpsDirectory
.- Author:
- Drew Noakes https://drewnoakes.com
-
-
Field Summary
-
Fields inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
_directory
-
-
Constructor Summary
Constructors Constructor Description GpsDescriptor(MetadataExtractor.GpsDirectory directory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDegreesMinutesSecondsDescription()
java.lang.String
getDescription(int tagType)
Returns a descriptive value of the specified tag for this image.private java.lang.String
getGeoLocationDimension(int tagValue, int tagRef, java.lang.String positiveRef)
java.lang.String
getGpsAltitudeDescription()
java.lang.String
getGpsAltitudeRefDescription()
java.lang.String
getGpsAreaInformationDescription()
java.lang.String
getGpsDestDistanceDescription()
java.lang.String
getGpsDestinationReferenceDescription()
java.lang.String
getGpsDestLatitudeDescription()
java.lang.String
getGpsDestLongitudeDescription()
java.lang.String
getGpsDifferentialDescription()
java.lang.String
getGpsDirectionDescription(int tagType)
java.lang.String
getGpsDirectionReferenceDescription(int tagType)
java.lang.String
getGpsDopDescription()
java.lang.String
getGpsHPositioningErrorDescription()
java.lang.String
getGpsLatitudeDescription()
java.lang.String
getGpsLongitudeDescription()
java.lang.String
getGpsMeasureModeDescription()
java.lang.String
getGpsProcessingMethodDescription()
java.lang.String
getGpsSpeedDescription()
java.lang.String
getGpsSpeedRefDescription()
java.lang.String
getGpsStatusDescription()
java.lang.String
getGpsTimeStampDescription()
private java.lang.String
getGpsVersionIdDescription()
-
Methods inherited from class gov.nih.mipav.model.file.MetadataExtractor.TagDescriptor
convertBytesToVersionString, get7BitStringFromBytes, getBitFlagDescription, getByteLengthDescription, getDecimalRational, getEncodedTextDescription, getEpochTimeDescription, getFocalLengthDescription, getFormattedFloat, getFormattedInt, getFormattedString, getFStopDescription, getIndexedDescription, getIndexedDescription, getLensSpecificationDescription, getOrientationDescription, getRationalOrDoubleString, getShutterSpeedDescription, getSimpleRational, getStringFromBytes, getVersionBytesDescription
-
-
-
-
Constructor Detail
-
GpsDescriptor
public GpsDescriptor(MetadataExtractor.GpsDirectory directory)
-
-
Method Detail
-
getDescription
public java.lang.String getDescription(int tagType)
Description copied from class:MetadataExtractor.TagDescriptor
Returns a descriptive value of the specified tag for this image. Where possible, known values will be substituted here in place of the raw tokens actually kept in the metadata segment. If no substitution is available, the value provided bygetString(tagType)
will be returned.- Overrides:
getDescription
in classMetadataExtractor.TagDescriptor<MetadataExtractor.GpsDirectory>
- Parameters:
tagType
- the tag to find a description for- Returns:
- a description of the image's value for the specified tag, or
null
if the tag hasn't been defined.
-
getGpsVersionIdDescription
private java.lang.String getGpsVersionIdDescription()
-
getGpsLatitudeDescription
public java.lang.String getGpsLatitudeDescription()
-
getGpsLongitudeDescription
public java.lang.String getGpsLongitudeDescription()
-
getGpsTimeStampDescription
public java.lang.String getGpsTimeStampDescription()
-
getGpsDestLatitudeDescription
public java.lang.String getGpsDestLatitudeDescription()
-
getGpsDestLongitudeDescription
public java.lang.String getGpsDestLongitudeDescription()
-
getGeoLocationDimension
private java.lang.String getGeoLocationDimension(int tagValue, int tagRef, java.lang.String positiveRef)
-
getGpsDestinationReferenceDescription
public java.lang.String getGpsDestinationReferenceDescription()
-
getGpsDestDistanceDescription
public java.lang.String getGpsDestDistanceDescription()
-
getGpsDirectionDescription
public java.lang.String getGpsDirectionDescription(int tagType)
-
getGpsDirectionReferenceDescription
public java.lang.String getGpsDirectionReferenceDescription(int tagType)
-
getGpsDopDescription
public java.lang.String getGpsDopDescription()
-
getGpsSpeedRefDescription
public java.lang.String getGpsSpeedRefDescription()
-
getGpsSpeedDescription
public java.lang.String getGpsSpeedDescription()
-
getGpsMeasureModeDescription
public java.lang.String getGpsMeasureModeDescription()
-
getGpsStatusDescription
public java.lang.String getGpsStatusDescription()
-
getGpsAltitudeRefDescription
public java.lang.String getGpsAltitudeRefDescription()
-
getGpsAltitudeDescription
public java.lang.String getGpsAltitudeDescription()
-
getGpsProcessingMethodDescription
public java.lang.String getGpsProcessingMethodDescription()
-
getGpsAreaInformationDescription
public java.lang.String getGpsAreaInformationDescription()
-
getGpsDifferentialDescription
public java.lang.String getGpsDifferentialDescription()
-
getGpsHPositioningErrorDescription
public java.lang.String getGpsHPositioningErrorDescription()
-
getDegreesMinutesSecondsDescription
public java.lang.String getDegreesMinutesSecondsDescription()
-
-