图片文件的EXIF GPSinfo数据格式


0x0000 0 GPSInfo Exif.GPSInfo.GPSVersionID Byte Indicates the version of <GPSInfoIFD>. The version is given as 2.0.0.0. This tag is mandatory when <GPSInfo> tag is present. (Note: The <GPSVersionID> tag is given in bytes, unlike the <ExifVersion> tag. When the version is 2.0.0.0, the tag value is 02000000.H).
0x0001 1 GPSInfo Exif.GPSInfo.GPSLatitudeRef Ascii Indicates whether the latitude is north or south latitude. The ASCII value 'N' indicates north latitude, and 'S' is south latitude.
0x0002 2 GPSInfo Exif.GPSInfo.GPSLatitude Rational Indicates the latitude. The latitude is expressed as three RATIONAL values giving the degrees, minutes, and seconds, respectively. When degrees, minutes and seconds are expressed, the format is dd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format is dd/1,mmmm/100,0/1.
0x0003 3 GPSInfo Exif.GPSInfo.GPSLongitudeRef Ascii Indicates whether the longitude is east or west longitude. ASCII 'E' indicates east longitude, and 'W' is west longitude.
0x0004 4 GPSInfo Exif.GPSInfo.GPSLongitude Rational Indicates the longitude. The longitude is expressed as three RATIONAL values giving the degrees, minutes, and seconds, respectively. When degrees, minutes and seconds are expressed, the format is ddd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format is ddd/1,mmmm/100,0/1.
0x0005 5 GPSInfo Exif.GPSInfo.GPSAltitudeRef Byte Indicates 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 GSPAltitude tag. The reference unit is meters. Note that this tag is BYTE type, unlike other reference tags.
0x0006 6 GPSInfo Exif.GPSInfo.GPSAltitude Rational Indicates the altitude based on the reference in GPSAltitudeRef. Altitude is expressed as one RATIONAL value. The reference unit is meters.
0x0007 7 GPSInfo Exif.GPSInfo.GPSTimeStamp Rational Indicates the time as UTC (Coordinated Universal Time). <TimeStamp> is expressed as three RATIONAL values giving the hour, minute, and second (atomic clock).
0x0008 8 GPSInfo Exif.GPSInfo.GPSSatellites Ascii Indicates 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 is set to NULL.
0x0009 9 GPSInfo Exif.GPSInfo.GPSStatus Ascii Indicates the status of the GPS receiver when the image is recorded. "A" means measurement is in progress, and "V" means the measurement is Interoperability.
0x000a 10 GPSInfo Exif.GPSInfo.GPSMeasureMode Ascii Indicates the GPS measurement mode. "2" means two-dimensional measurement and "3" means three-dimensional measurement is in progress.
0x000b 11 GPSInfo Exif.GPSInfo.GPSDOP Rational Indicates the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional measurement, and PDOP during three-dimensional measurement.
0x000c 12 GPSInfo Exif.GPSInfo.GPSSpeedRef Ascii Indicates the unit used to express the GPS receiver speed of movement. "K" "M" and "N" represents kilometers per hour, miles per hour, and knots.
0x000d 13 GPSInfo Exif.GPSInfo.GPSSpeed Rational Indicates the speed of GPS receiver movement.
0x000e 14 GPSInfo Exif.GPSInfo.GPSTrackRef Ascii Indicates the reference for giving the direction of GPS receiver movement. "T" denotes true direction and "M" is magnetic direction.
0x000f 15 GPSInfo Exif.GPSInfo.GPSTrack Rational Indicates the direction of GPS receiver movement. The range of values is from 0.00 to 359.99.
0x0010 16 GPSInfo Exif.GPSInfo.GPSImgDirectionRef Ascii Indicates the reference for giving the direction of the image when it is captured. "T" denotes true direction and "M" is magnetic direction.
0x0011 17 GPSInfo Exif.GPSInfo.GPSImgDirection Rational Indicates the direction of the image when it was captured. The range of values is from 0.00 to 359.99.
0x0012 18 GPSInfo Exif.GPSInfo.GPSMapDatum Ascii Indicates the geodetic survey data used by the GPS receiver. If the survey data is restricted to Japan, the value of this tag is "TOKYO" or "WGS-84".
0x0013 19 GPSInfo Exif.GPSInfo.GPSDestLatitudeRef Ascii 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.
0x0014 20 GPSInfo Exif.GPSInfo.GPSDestLatitude Rational Indicates the latitude of the destination point. The latitude is expressed as three RATIONAL values giving the degrees, minutes, and seconds, respectively. If latitude is expressed as degrees, minutes and seconds, a typical format would be dd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format would be dd/1,mmmm/100,0/1.
0x0015 21 GPSInfo Exif.GPSInfo.GPSDestLongitudeRef Ascii Indicates whether the longitude of the destination point is east or west longitude. ASCII "E" indicates east longitude, and "W" is west longitude.
0x0016 22 GPSInfo Exif.GPSInfo.GPSDestLongitude Rational Indicates the longitude of the destination point. The longitude is expressed as three RATIONAL values giving the degrees, minutes, and seconds, respectively. If longitude is expressed as degrees, minutes and seconds, a typical format would be ddd/1,mm/1,ss/1. When degrees and minutes are used and, for example, fractions of minutes are given up to two decimal places, the format would be ddd/1,mmmm/100,0/1.
0x0017 23 GPSInfo Exif.GPSInfo.GPSDestBearingRef Ascii Indicates the reference used for giving the bearing to the destination point. "T" denotes true direction and "M" is magnetic direction.
0x0018 24 GPSInfo Exif.GPSInfo.GPSDestBearing Rational Indicates the bearing to the destination point. The range of values is from 0.00 to 359.99.
0x0019 25 GPSInfo Exif.GPSInfo.GPSDestDistanceRef Ascii Indicates the unit used to express the distance to the destination point. "K", "M" and "N" represent kilometers, miles and knots.
0x001a 26 GPSInfo Exif.GPSInfo.GPSDestDistance Rational Indicates the distance to the destination point.
0x001b 27 GPSInfo Exif.GPSInfo.GPSProcessingMethod Undefined 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.
0x001c 28 GPSInfo Exif.GPSInfo.GPSAreaInformation Undefined A 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.
0x001d 29 GPSInfo Exif.GPSInfo.GPSDateStamp Ascii A character string recording date and time information relative to UTC (Coordinated Universal Time). The format is "YYYY:MM:DD.".
0x001e 30 GPSInfo Exif.GPSInfo.GPSDifferential Short Indicates whether differential correction is applied to the GPS receiver.


如果使用python的PIL模块获取数据的话,可以通过以下两个列表获取第二列的名称

ExifTags.TAGS

ExifTags.GPSTAGS


参考文档

你可能感兴趣的:(图片文件的EXIF GPSinfo数据格式)