De MicMac
Révision de 23 novembre 2016 à 10:33 par BorisLeroux (discussion | contributions) (Example)

Aller à : navigation, rechercher

Picto-liste.png List of commands


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.


The global syntax for OriExport is :

mm3d XifGps2Txt FullName NamedArgs


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.


For example, with :

mm3d XifGps2Txt .*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 centre of images.
  • The file RTLFromExif.xml contains the definition of this system in MicMac format.