Class: Exif::Tag::GPS::GPSAltitudeRef

Inherits:
Base
  • Object
show all
Defined in:
lib/exifparser/tag.rb

Overview

0x0005 - GPSAltitudeRef

Instance Attribute Summary

Attributes inherited from Base

#IFD, #count, #data, #dataPos, #pos, #tagID

Instance Method Summary collapse

Methods inherited from Base

#formatExposureTime, #formatFNumber, #formatFocalLength, #formatLatLon, #initialize, #inspect, #name, #processData, #value

Constructor Details

This class inherits a constructor from Exif::Tag::Base

Instance Method Details

#to_sObject



1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
# File 'lib/exifparser/tag.rb', line 1768

def to_s
  case @formatted[0]
  when 0
    'Sea level'
  when 1
    'Sea level(negative value)'
  else
    'Unknown'
  end
end