XifGps2Txt : Différence entre versions

De MicMac
Aller à : navigation, rechercher
(Example)
(Example)
Ligne 26 : Ligne 26 :
 
For example, with :
 
For example, with :
 
<pre>mm3d XifGps2Txt .*jpg Test</pre>
 
<pre>mm3d XifGps2Txt .*jpg Test</pre>
* For each image, containing gps data in exif, a file is created containing the gps information in xml micmac format.
+
<pre>
* For example for <b>Image100.jpg</b>, <b>Ori-Test/Orientation-Image100.jpg.xml</b> is created, in xml micmac format.
+
cat GpsCoordinatesFromExif.txt
* The coordinate system is a local tangent sytem, with origin at centre of images.
+
2016-04-02_12-22-07.jpg 1.908783 47.902767 161.000000
* The file RTLFromExif.xml contains the definition of this system in MicMac format.
+
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
 +
...
 +
</pre>

Version du 23 novembre 2016 à 11:34

Picto-liste.png List of commands

Description

Often the Gps information is not in separate files but directly embeded in the exif metadat. The tools XifGps2Xml and XifGps2Txt allow to do extract this information and convert it to texte or xml file.

Syntax

The global syntax for OriExport 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

Options :

  • OutTxtFile : Transform the coordinate in RTL.
  • DefZ : Will allow to specify the altitude value, not implemanted for now.
  • SysCo : System to express output coordinates, default is WGS84.

Example

For example, with :

mm3d XifGps2Txt .*jpg Test
cat GpsCoordinatesFromExif.txt
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
...