XifGps2Txt : Différence entre versions

De MicMac
Aller à : navigation, rechercher
(Example)
(Fix typo and errors)
 
Ligne 1 : Ligne 1 :
 
[[Image:picto-liste.png|25px]] [[Command|List of commands]]
 
[[Image:picto-liste.png|25px]] [[Command|List of commands]]
 
==Description==
 
==Description==
Often the Gps information is not in separate files but directly embeded in the exif metadat. The tools
+
Often the GPS information is not in separate files but directly embedded in the EXIF metadata. The tools
[[XifGps2Xml]] and [[XifGps2Txt]] allow to do extract this information and convert it to texte or xml file.
+
[[XifGps2Xml]] and [[XifGps2Txt]] allow to do extract this information and convert it to text or XML file.
  
 
===Syntax===
 
===Syntax===
The global syntax for OriExport is :
+
The global syntax for XifGps2Txt is :
 
<pre>mm3d XifGps2Txt FullName NamedArgs</pre>
 
<pre>mm3d XifGps2Txt FullName NamedArgs</pre>
  
Ligne 12 : Ligne 12 :
 
<pre>mm3d XifGps2Txt -help</pre>
 
<pre>mm3d XifGps2Txt -help</pre>
  
====Mandatory unnamed args :====
+
====Mandatory unnamed args====
 
* string :: {Full Name}
 
* string :: {Full Name}
====Named args :====
+
====Named args====
 
* [Name=OutTxtFile] string :: {Def file created : ’GpsCoordinatesFromExif.txt’ }
 
* [Name=OutTxtFile] string :: {Def file created : ’GpsCoordinatesFromExif.txt’ }
 
* [Name=Sys] string :: {System to express output coordinates : WGS84_deg/WGS84_rad/GeoC ; Def=WGS84_deg}
 
* [Name=Sys] string :: {System to express output coordinates : WGS84_deg/WGS84_rad/GeoC ; Def=WGS84_deg}
 
* [Name=DefZ] REAL
 
* [Name=DefZ] REAL
====Options :====
+
 
* <b>OutTxtFile</b> : Transform the coordinate in RTL.
+
If there is no GPS data into EXIF metadata, the output file will be created as an empty file.
* <b>DefZ</b> : Will allow to specify the altitude value, not implemanted for now.
+
* <b>SysCo</b> : System to express output coordinates, default is WGS84.
+
  
 
===Example===
 
===Example===
 
For example, with :
 
For example, with :
<pre>mm3d XifGps2Txt .*jpg Test</pre>
+
<pre>mm3d XifGps2Txt .*jpg</pre>
<pre>
+
It returns the GpsCoordinatesFromExif.txt file:
cat GpsCoordinatesFromExif.txt
+
<pre>2016-04-02_12-22-07.jpg 1.908783 47.902767 161.000000
2016-04-02_12-22-07.jpg 1.908783 47.902767 161.000000
+
 
2016-04-02_12-22-18.jpg 1.908758 47.902861 161.000000
 
2016-04-02_12-22-18.jpg 1.908758 47.902861 161.000000
 
2016-04-02_12-22-29.jpg 1.908717 47.902964 159.000000
 
2016-04-02_12-22-29.jpg 1.908717 47.902964 159.000000

Version actuelle en date du 24 novembre 2016 à 10:39

Picto-liste.png List of commands

Description

Often the GPS information is not in separate files but directly embedded in the EXIF metadata. The tools XifGps2Xml and XifGps2Txt allow to do extract this information and convert it to text or XML file.

Syntax

The global syntax for XifGps2Txt is :

mm3d XifGps2Txt FullName NamedArgs

Help

You can access to the help by typing :

mm3d XifGps2Txt -help

Mandatory unnamed args

  • string :: {Full Name}

Named args

  • [Name=OutTxtFile] string :: {Def file created : ’GpsCoordinatesFromExif.txt’ }
  • [Name=Sys] string :: {System to express output coordinates : WGS84_deg/WGS84_rad/GeoC ; Def=WGS84_deg}
  • [Name=DefZ] REAL

If there is no GPS data into EXIF metadata, the output file will be created as an empty file.

Example

For example, with :

mm3d XifGps2Txt .*jpg

It returns the GpsCoordinatesFromExif.txt file:

2016-04-02_12-22-07.jpg 1.908783 47.902767 161.000000
2016-04-02_12-22-18.jpg 1.908758 47.902861 161.000000
2016-04-02_12-22-29.jpg 1.908717 47.902964 159.000000
2016-04-02_12-22-56.jpg 1.908556 47.902828 154.000000
2016-04-02_12-23-07.jpg 1.908506 47.902789 157.000000
2016-04-02_12-23-12.jpg 1.908511 47.902722 157.000000
...