com.groupdocs.metadata

Interfaces

Classes

Exceptions

com.groupdocs.metadata

Class GpsInfo

    • Constructor Detail

      • GpsInfo

        public GpsInfo()

        Initializes a new instance of the GpsInfo class.

    • Method Detail

      • getAltitude

        public final Rational getAltitude()

        Gets the altitude based on the reference in AltitudeRef. The reference unit is meters.

        Returns:
        The altitude based on the reference in AltitudeRef.
      • setAltitude

        public final void setAltitude(Rational value)

        Sets the altitude based on the reference in AltitudeRef. The reference unit is meters.

        Parameters:
        value - The altitude based on the reference in AltitudeRef.
      • getAltitudeRef

        public final int getAltitudeRef()

        Gets or set the altitude used as the reference altitude. If the reference is sea level and the altitude is above sea level, 0 is given. If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value in the Altitude tag.

        Returns:
        The altitude used as the reference altitude
      • setAltitudeRef

        public final void setAltitudeRef(int value)

        Gets or set the altitude used as the reference altitude. If the reference is sea level and the altitude is above sea level, 0 is given. If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value in the Altitude tag.

      • getAreaInformation

        public final byte[] getAreaInformation()

        Gets the character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area.

        Returns:
        The character string recording the name of the GPS area.
      • setAreaInformation

        public final void setAreaInformation(byte[] value)

        Sets the character string recording the name of the GPS area. The first byte indicates the character code used, and this is followed by the name of the GPS area.

        Parameters:
        value - The character string recording the name of the GPS area.
      • getDateStamp

        public final String getDateStamp()

        Gets the character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD.

        Returns:
        The character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD.
      • setDateStamp

        public final void setDateStamp(String value)

        Sets the character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD.

        Parameters:
        value - The character string recording date and time information relative to UTC (Coordinated Universal Time). The format is YYYY:MM:DD.
      • getDestBearing

        public final Rational getDestBearing()

        Gets the GPS bearing to the destination point. The range of values is from 0.00 to 359.99.

        Returns:
        The bearing to the destination point.
      • setDestBearing

        public final void setDestBearing(Rational value)

        Sets the GPS bearing to the destination point. The range of values is from 0.00 to 359.99.

        Parameters:
        value - The bearing to the destination point.
      • getDestBearingRef

        public final String getDestBearingRef()

        Gets the GPS reference used for giving the bearing to the destination point. 'T' denotes true direction and 'M' is magnetic direction.

        Returns:
        The GPS reference used for giving the bearing to the destination point.
      • setDestBearingRef

        public final void setDestBearingRef(String value)

        Sets the GPS reference used for giving the bearing to the destination point. 'T' denotes true direction and 'M' is magnetic direction.

        Parameters:
        value - The GPS reference used for giving the bearing to the destination point.
      • getDestDistance

        public final Rational getDestDistance()

        Gets the GPS distance to the destination point.

        Returns:
        The distance to the destination point.
      • setDestDistance

        public final void setDestDistance(Rational value)

        Sets the GPS distance to the destination point.

        Parameters:
        value - The distance to the destination point.
      • getDestDistanceRef

        public final String getDestDistanceRef()

        Gets the GPS unit used to express the distance to the destination point. 'K', 'M' and 'N' represent kilometers, miles and knots.

        Returns:
        The GPS unit used to express the distance to the destination point.
      • setDestDistanceRef

        public final void setDestDistanceRef(String value)

        Sets the GPS unit used to express the distance to the destination point. 'K', 'M' and 'N' represent kilometers, miles and knots.

        Parameters:
        value - The GPS unit used to express the distance to the destination point.
      • getDestLatitude

        public final Rational[] getDestLatitude()

        Gets the GPS latitude of the destination point.

        Returns:
        The latitude of the destination point.
      • setDestLatitude

        public final void setDestLatitude(Rational[] value)

        Sets the GPS latitude of the destination point.

        Parameters:
        value - The latitude of the destination point.
      • getDestLatitudeRef

        public final String getDestLatitudeRef()

        Gets the GPS value which indicates whether the latitude of the destination point is north or south latitude. The ASCII value 'N' indicates north latitude, and 'S' is south latitude.

        Returns:
        The GPS value which indicates whether the latitude of the destination point is north or south latitude.
      • setDestLatitudeRef

        public final void setDestLatitudeRef(String value)

        Sets the GPS value which indicates whether the latitude of the destination point is north or south latitude. The ASCII value 'N' indicates north latitude, and 'S' is south latitude.

        Parameters:
        value - The GPS value which indicates whether the latitude of the destination point is north or south latitude.
      • getDestLongitude

        public final Rational[] getDestLongitude()

        Gets the GPS longitude of the destination point.

        Returns:
        The GPS longitude of the destination point.
      • setDestLongitude

        public final void setDestLongitude(Rational[] value)

        Sets the GPS longitude of the destination point.

        Parameters:
        value - The GPS longitude of the destination point.
      • getDestLongitudeRef

        public final String getDestLongitudeRef()

        Gets the GPS value which indicates whether the longitude of the destination point is east or west longitude. ASCII 'E' indicates east longitude, and 'W' is west longitude.

        Returns:
        The GPS value which indicates whether the longitude of the destination point is east or west longitude.
      • setDestLongitudeRef

        public final void setDestLongitudeRef(String value)

        Sets the GPS value which indicates whether the longitude of the destination point is east or west longitude. ASCII 'E' indicates east longitude, and 'W' is west longitude.

        Parameters:
        value - The GPS value which indicates whether the longitude of the destination point is east or west longitude.
      • getDifferential

        public final int getDifferential()

        Gets a GPS value which indicates whether differential correction is applied to the GPS receiver.

        Returns:
        A GPS value which indicates whether differential correction is applied to the GPS receiver.
      • setDifferential

        public final void setDifferential(int value)

        Sets a GPS value which indicates whether differential correction is applied to the GPS receiver.

        Parameters:
        value - A GPS value which indicates whether differential correction is applied to the GPS receiver.
      • getDataDegreeOfPrecision

        public final Rational getDataDegreeOfPrecision()

        Gets the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement.

        Returns:
        The data degree of precision.
      • setDataDegreeOfPrecision

        public final void setDataDegreeOfPrecision(Rational value)

        Sets the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement.

        Parameters:
        value - The data degree of precision.
      • getImgDirection

        public final Rational getImgDirection()

        Gets the GPS direction of the image when it was captured. The range of values is from 0.00 to 359.99.

        Returns:
        The GPS direction of the image when it was captured.
      • setImgDirection

        public final void setImgDirection(Rational value)

        Sets the GPS direction of the image when it was captured. The range of values is from 0.00 to 359.99.

        Parameters:
        value - The GPS direction of the image when it was captured.
      • getImgDirectionRef

        public final String getImgDirectionRef()

        Gets the GPS reference for giving the direction of the image when it is captured. 'T' denotes true direction and 'M' is magnetic direction.

        Returns:
        The GPS reference for giving the direction of the image when it is captured.
      • setImgDirectionRef

        public final void setImgDirectionRef(String value)

        Sets the GPS reference for giving the direction of the image when it is captured. 'T' denotes true direction and 'M' is magnetic direction.

        Parameters:
        value - The GPS reference for giving the direction of the image when it is captured.
      • getLatitude

        public final Rational[] getLatitude()

        Gets the GPS latitude.

        Returns:
        The latitude.
      • setLatitude

        public final void setLatitude(Rational[] value)

        Sets the GPS latitude.

        Parameters:
        value - The latitude.
      • getLatitudeRef

        public final String getLatitudeRef()

        Gets a GPS value indicating whether the latitude is north or south latitude.

        Returns:
        A GPS value indicating whether the latitude is north or south latitude.
      • setLatitudeRef

        public final void setLatitudeRef(String value)

        Sets a GPS value indicating whether the latitude is north or south latitude.

        Parameters:
        value - A GPS value indicating whether the latitude is north or south latitude.
      • getLongitude

        public final Rational[] getLongitude()

        Gets the GPS longitude.

        Returns:
        The longitude.
      • setLongitude

        public final void setLongitude(Rational[] value)

        Sets the GPS longitude.

        Parameters:
        value - The longitude.
      • getLongitudeRef

        public final String getLongitudeRef()

        Gets a GPS value indicating whether the longitude is east or west longitude.

        Returns:
        A GPS value indicating whether the longitude is east or west longitude.
      • setLongitudeRef

        public final void setLongitudeRef(String value)

        Sets a GPS value indicating whether the longitude is east or west longitude.

        Parameters:
        value - A GPS value indicating whether the longitude is east or west longitude.
      • getMapDatum

        public final String getMapDatum()

        Gets the geodetic survey data used by the GPS receiver.

        Returns:
        The geodetic survey data used by the GPS receiver.
      • setMapDatum

        public final void setMapDatum(String value)

        Sets the geodetic survey data used by the GPS receiver.

        Parameters:
        value - The geodetic survey data used by the GPS receiver.
      • getMeasureMode

        public final String getMeasureMode()

        Gets the GPS measurement mode.

        Returns:
        The measure mode.
      • setMeasureMode

        public final void setMeasureMode(String value)

        Sets the GPS measurement mode.

        Parameters:
        value - The measure mode.
      • getProcessingMethod

        public final byte[] getProcessingMethod()

        Gets a character string recording the name of the method used for location finding. The first byte indicates the character code used, and this is followed by the name of the method.

        Returns:
        A character string recording the name of the method used for location finding.
      • setProcessingMethod

        public final void setProcessingMethod(byte[] value)

        Sets a character string recording the name of the method used for location finding. The first byte indicates the character code used, and this is followed by the name of the method.

        Parameters:
        value - A character string recording the name of the method used for location finding.
      • getSatellites

        public final String getSatellites()

        Gets the GPS satellites used for measurements. This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and other information in ASCII notation. The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag shall be set to NULL.

        Returns:
        The GPS satellites used for measurements.
      • setSatellites

        public final void setSatellites(String value)

        Sets the GPS satellites used for measurements. This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and other information in ASCII notation. The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag shall be set to NULL.

        Parameters:
        value - The GPS satellites used for measurements.
      • getSpeed

        public final Rational getSpeed()

        Gets the speed of GPS receiver movement.

        Returns:
        The speed of GPS receiver movement.
      • setSpeed

        public final void setSpeed(Rational value)

        Sets the speed of GPS receiver movement.

        Parameters:
        value - The speed of GPS receiver movement.
      • getSpeedRef

        public final String getSpeedRef()

        Gets the unit used to express the GPS receiver speed of movement. 'K' 'M' and 'N' represents kilometers per hour, miles per hour, and knots.

        Returns:
        The unit used to express the GPS receiver speed of movement.
      • setSpeedRef

        public final void setSpeedRef(String value)

        Sets the unit used to express the GPS receiver speed of movement. 'K' 'M' and 'N' represents kilometers per hour, miles per hour, and knots.

        Parameters:
        value - The unit used to express the GPS receiver speed of movement.
      • getStatus

        public final String getStatus()

        Gets the status of the GPS receiver when the image is recorded.

        Returns:
        The status of the GPS receiver when the image is recorded.
      • setStatus

        public final void setStatus(String value)

        Sets the status of the GPS receiver when the image is recorded.

        Parameters:
        value - The status of the GPS receiver when the image is recorded.
      • getTimestamp

        public final Rational[] getTimestamp()

        Gets the time as UTC (Coordinated Universal Time). TimeStamp is expressed as three RATIONAL values giving the hour, minute, and second.

        Returns:
        The time as UTC (Coordinated Universal Time).
      • setTimestamp

        public final void setTimestamp(Rational[] value)

        Sets the time as UTC (Coordinated Universal Time). TimeStamp is expressed as three RATIONAL values giving the hour, minute, and second.

        Parameters:
        value - The time as UTC (Coordinated Universal Time).
      • getTrack_GpsInfo_New

        public final String getTrack_GpsInfo_New()

        Gets the direction of GPS receiver movement.

        Returns:
        The direction of GPS receiver movement.
      • setTrack_GpsInfo_New

        public final void setTrack_GpsInfo_New(String value)

        Sets the direction of GPS receiver movement.

        Parameters:
        value - The direction of GPS receiver movement.
      • getTrackRef

        public final String getTrackRef()

        Gets the reference for giving the direction of GPS receiver movement. 'T' denotes true direction and 'M' is magnetic direction.

        Returns:
        The reference for giving the direction of GPS receiver movement.
      • setTrackRef

        public final void setTrackRef(String value)

        Sets the reference for giving the direction of GPS receiver movement. 'T' denotes true direction and 'M' is magnetic direction.

        Parameters:
        value - The reference for giving the direction of GPS receiver movement.
      • getVersionID

        public final byte[] getVersionID()

        Gets the version of GPS IFD.

        Returns:
        The version of GPS IFD
      • setVersionID

        public final void setVersionID(byte[] value)

        Sets the version of GPS IFD.

        Parameters:
        value - The version of GPS IFD