【图像处理】GPS Tags
来源:互联网 发布:ps制作淘宝宝贝主图 编辑:程序博客网 时间:2024/05/16 08:12
GPS Tags
These GPS tags are part of the EXIF standard, and are stored in a separate IFD within the EXIF information.
ExifTool is very flexible about the input format when writing lat/long coordinates, and will accept from 1 to 3 floating point numbers (for decimal degrees, degrees and minutes, or degrees, minutes and seconds) separated by just about anything, and will format them properly according to the EXIF specification.
Some GPS tags have values which are fixed-length strings. For these, the indicated string lengths include a null terminator which is added automatically by ExifTool. Remember that the descriptive values are used when writing (eg. 'Above Sea Level', not '0') unless the print conversion is disabled (with '-n' on the command line or the PrintConv option in the API, or by suffixing the tag name with a #
character).
When adding GPS information to an image, it is important to set all of the following tags: GPSLatitude, GPSLatitudeRef, GPSLongitude, GPSLongitudeRef, and GPSAltitude and GPSAltitudeRef if the altitude is known. ExifTool will write the required GPSVersionID tag automatically if new a GPS IFD is added to an image.
Tag ID Tag Name Writable Values / Notes 0x0000GPSVersionIDint8u[4]: 0x0001GPSLatitudeRefstring[2](tags 0x0001-0x0006 used for camera location according to MWG 2.0. ExifTool will also accept a number when writing GPSLatitude -- positive for north latitudes, or negative for south)
'N' = North
'S' = South0x0002GPSLatituderational64u[3] 0x0003GPSLongitudeRefstring[2](ExifTool will also accept a number when writing this tag -- positive for east longitudes or negative for west)
'E' = East
'W' = West0x0004GPSLongituderational64u[3] 0x0005GPSAltitudeRefint8u(ExifTool will also accept a signed number when writing this tag, beginning with "+" for above sea level, or "-" for below)
0 = Above Sea Level
1 = Below Sea Level0x0006GPSAltituderational64u 0x0007GPSTimeStamprational64u[3](UTC time of GPS fix. When writing, date is stripped off if present, and time is adjusted to UTC if it includes a timezone)0x0008GPSSatellitesstring 0x0009GPSStatusstring[2]'A' = Measurement Active
'V' = Measurement Void0x000aGPSMeasureModestring[2]2 = 2-Dimensional Measurement
3 = 3-Dimensional Measurement0x000bGPSDOPrational64u 0x000cGPSSpeedRefstring[2]'K' = km/h
'M' = mph
'N' = knots0x000dGPSSpeedrational64u 0x000eGPSTrackRefstring[2]'M' = Magnetic North
'T' = True North0x000fGPSTrackrational64u 0x0010GPSImgDirectionRefstring[2]'M' = Magnetic North
'T' = True North0x0011GPSImgDirectionrational64u 0x0012GPSMapDatumstring 0x0013GPSDestLatitudeRefstring[2](tags 0x0013-0x001a used for subject location according to MWG 2.0)
'N' = North
'S' = South0x0014GPSDestLatituderational64u[3] 0x0015GPSDestLongitudeRefstring[2]'E' = East
'W' = West0x0016GPSDestLongituderational64u[3] 0x0017GPSDestBearingRefstring[2]'M' = Magnetic North
'T' = True North0x0018GPSDestBearingrational64u 0x0019GPSDestDistanceRefstring[2]'K' = Kilometers
'M' = Miles
'N' = Nautical Miles0x001aGPSDestDistancerational64u 0x001bGPSProcessingMethodundef(values of "GPS", "CELLID", "WLAN" or "MANUAL" by the EXIF spec.)0x001cGPSAreaInformationundef 0x001dGPSDateStampstring[11](when writing, time is stripped off if present, after adjusting date/time to UTC if time includes a timezone. Format is YYYY:mm:dd)0x001eGPSDifferentialint16u0 = No Correction
1 = Differential Corrected0x001fGPSHPositioningErrorrational64u
(This document generated automatically by Image::ExifTool::BuildTagLookup)
Last revised May 4, 2016
<-- ExifTool Tag Names
- 【图像处理】GPS Tags
- 【图像处理】JPEG Tags
- 【图像处理】EXIF Tags
- 【图像处理】IPTC Tags
- 【图像处理】XMP Tags
- 【图像处理】GeoTiff Tags
- 【图像处理】ICC_Profile Tags
- 【图像处理】PrintIM Tags
- 【图像处理】Photoshop Tags
- 【图像处理】Apple Tags
- 【图像处理】Canon Tags
- 【图像处理】CanonVRD Tags
- 【图像处理】Casio Tags
- 【图像处理】FLIR Tags
- 【图像处理】FujiFilm Tags
- 【图像处理】DJI Tags
- 【图像处理】GE Tags
- 【图像处理】PLUS XMP Tags
- 银行小系统测试
- Unity5 雾化效果(一)
- Handle league tree
- nodeJs和JavaScript的异同
- Linux学习(14)--数据流重定向
- 【图像处理】GPS Tags
- Xtreme8.0
- leetcode
- leetcode
- nrm -- NPM registry 管理工具
- Unity WorldToScreenPoint坐标变换
- 使用Java语言开发微信公众平台(三)——被关注回复与关键词回复
- 【图像处理】GeoTiff Tags
- hibernate配置文件hibernate.cfg.xml和.hbm.xml的详细解释