Class: Exif::Tag::GPS::GPSLatitudeRef

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

Overview

0x0001 - GPSLatitudeRef

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



1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
# File 'lib/exifparser/tag.rb', line 1696

def to_s
  case @formatted
  when 'N'
    'North latitude'
  when 'S'
    'South latitude'
  else
    'Unknown'
  end
end