Commits

P_W999 committed 9d3666a

remove DMS with deg, min, sec format

  • Participants
  • Parent commits 76ed197

Comments (0)

Files changed (1)

 }}}
 
 === Write GPS info ===
-Writing GPS info is fairly easy as long as you know what GPS is and does ;) . Following example will write to location 50.84791165546716N 4.350469368264016E at an altitude of 50m above sea level to the file gps.jpg.
+Writing GPS info is fairly easy as long as you know what GPS is and does ;) . Following example will write to location 50.84791165546716N 4.350469368264016E at an altitude of 50m above sea level to the file gps.jpg. 
+The location is given in decimal format and the last parameter "0" indicates that the provided altitude is above sea level.
 
 {{{
 #!java
 tool.stop();
 }}}
 
-However, you could also have writting it as:
+J-ExifTool also supports DMS format:
+
 {{{
 #!java
 JExifTool tool = new JExifTool();
 tool.stop();
 }}}
 
-Exiftool even allows you to write it as
-{{{
-#!java
-JExifTool tool = new JExifTool();
-JExifInfo gpsInfo = tool.getInfo(new File("GPS.JPG"));
-gpsInfo.setGPSInfo("50 deg 50 min 52.4832 sec", "N", "4 deg 21 min 1.6884 sec", "E", "50", "0");
-tool.stop();
-}}}
 
 More info about GPS + Exiftool can be found [[http://www.sno.phy.queensu.ca/~phil/exiftool/faq.html#Q14|here]] and the complete list of supported GPS tags (including the values they support can be found [[http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/GPS.html|here]]