XifGps2Xml : Différence entre versions

De MicMac
Aller à : navigation, rechercher
(Output)
m (Fix typo)
 
(9 révisions intermédiaires par un autre utilisateur non affichées)
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.
 
+
For example, with mm3d XifGps2Xml .*jpg Test :
+
— for each image, containing gps data in exif, a file is created containing the gps information in xml micmac
+
format;
+
— for example for Image100.jpg, Ori-Test/Orientation-Image100.jpg.xml is created; in xml micmac for-
+
mat;
+
— the coordinate system is a local tangent sytem, with origin at centre of images;
+
— the file RTLFromExif.xml contains the definition of this system in MicMac format;
+
  
 
===Syntax===
 
===Syntax===
The global syntax for OriExport is :
+
The global syntax for XifGps2Xmlt is :
 
<pre>mm3d XifGps2Xml FullName Orientation NamedArgs</pre>
 
<pre>mm3d XifGps2Xml FullName Orientation NamedArgs</pre>
  
Ligne 20 : Ligne 12 :
 
<pre>mm3d XifGps2Xml -help</pre>
 
<pre>mm3d XifGps2Xml -help</pre>
  
Mandatory unnamed args :
+
====Mandatory unnamed args :====
 
* string :: {Full Name}
 
* string :: {Full Name}
 
* string :: {Orientation}
 
* string :: {Orientation}
Named args :
+
====Named args :====
 
* [Name=DoRTL] bool :: {Do Local Tangent RTL (def=true)}
 
* [Name=DoRTL] bool :: {Do Local Tangent RTL (def=true)}
 
* [Name=RTL] string :: {Name RTL}
 
* [Name=RTL] string :: {Name RTL}
Ligne 29 : Ligne 21 :
 
* [Name=DefZ] REAL
 
* [Name=DefZ] REAL
  
Some options :<br>
+
====Options :====
DefZ will allow to specify the altitude value , not implemanted for now.<br>
+
* <b>DoRTL</b> : Transform the coordinate in RTL.
SysCo allow to change the coordinate system.
+
* <b>RTL</b> : Name of the file which define the RTL.
 +
* <b>DefZ</b> : Will allow to specify the altitude value, not implemanted for now.
 +
* <b>SysCo</b> : Allow to change the coordinate system.
  
 
===Example===
 
===Example===
An example with Cuxha data set :
+
For example, with :
<pre>mm3d OriExport Ori-All-Rel/Orientation-Abbey-IMG_034.*.jpg.xml res.txt</pre>
+
<pre>mm3d XifGps2Xml .*jpg Test</pre>
 
+
* For each image, containing GPS data in EXIF, a file is created containing the GPS information in XML MicMac format.
=Formalism=
+
* For example for <b>Image100.jpg</b>, <b>Ori-Test/Orientation-Image100.jpg.xml</b> is created, in XML MicMac format.
==Output==
+
* The coordinate system is a local tangent sytem, with origin at center of images.
For example, with mm3d XifGps2Xml .*jpg Test :<br>
+
* For each image, containing gps data in exif, a file is created containing the gps information in xml micmac
+
format.<br>
+
* For example for <b>Image100.jpg</b>, <b>Ori-Test/Orientation-Image100.jpg.xml</b> is created, in xml micmac for-
+
mat.<br>
+
* The coordinate system is a local tangent sytem, with origin at centre of images.<br>
+
 
* The file RTLFromExif.xml contains the definition of this system in MicMac format.
 
* The file RTLFromExif.xml contains the definition of this system in MicMac format.

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

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 XifGps2Xmlt is :

mm3d XifGps2Xml FullName Orientation NamedArgs

Help

You can access to the help by typing :

mm3d XifGps2Xml -help

Mandatory unnamed args :

  • string :: {Full Name}
  • string :: {Orientation}

Named args :

  • [Name=DoRTL] bool :: {Do Local Tangent RTL (def=true)}
  • [Name=RTL] string :: {Name RTL}
  • [Name=SysCo] string :: {System of coordinates, by default RTL created (RTLFromExif.xml)}
  • [Name=DefZ] REAL

Options :

  • DoRTL : Transform the coordinate in RTL.
  • RTL : Name of the file which define the RTL.
  • DefZ : Will allow to specify the altitude value, not implemanted for now.
  • SysCo : Allow to change the coordinate system.

Example

For example, with :

mm3d XifGps2Xml .*jpg Test
  • For each image, containing GPS data in EXIF, a file is created containing the GPS information in XML MicMac format.
  • For example for Image100.jpg, Ori-Test/Orientation-Image100.jpg.xml is created, in XML MicMac format.
  • The coordinate system is a local tangent sytem, with origin at center of images.
  • The file RTLFromExif.xml contains the definition of this system in MicMac format.