Esempio n. 1
0
 /// <summary>
 /// Initializes the command line options.
 /// </summary>
 protected override void InitCommandLine(CommandLineMapping mapping)
 {
     mapping.Get <AddOverviewsTool>()
     .SetKey(t => t.Resampling, "-r")
     .SetKey(t => t.BandIndex, "-b")
     .SetKey(t => t.ReadOnly, "-ro")
     .SetKey(t => t.Clean, "-clean");
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes the command line options.
 /// </summary>
 protected override void InitCommandLine(CommandLineMapping mapping)
 {
     // TODO: implement
     mapping.Get <Ogr2OgrTool>()
     .SetKey(t => t.OutputFormat, "-f");
 }