protected override void InitCommandLine(CommandLineMapping mapping) { _commandLine.Get <WarpRasterTool>() .SetKey(t => t.AlignPixelsToResolution, "-tap") .SetKey(t => t.CopyColorIntepretation, "-setci") .SetKey(t => t.DstAlpha, "-dstalpha") .SetKey(t => t.DstNoDataValue, "-dstnodata") .SetKey(t => t.DstNoMetadata, "-nomd") .SetKey(t => t.DstResampling, "-r") .SetKey(t => t.ErrorThreshhold, "-et") .SetKey(t => t.GeolocationArrays, "-geoloc") .SetKey(t => t.MemoryLimitMb, "-mw") .SetKey(t => t.OutputType, "-ot") .SetKey(t => t.RefineGcp, "-refine_gcps") .SetKey(t => t.RpcCoefficients, "-rpc") .SetKey(t => t.SourceNoDataValue, "-srcnodata") .SetKey(t => t.SourceOverviewLevel, "-ovr") .SetKey(t => t.SourceProjection, "-s_srs") .SetKey(t => t.TargetExtents, "-te") .SetKey(t => t.TargetExtentsProjection, "-te_srs") .SetKey(t => t.TargetProjection, "-t_srs") .SetKey(t => t.TargetResolution, "-tr") .SetKey(t => t.TargetSize, "-ts") .SetKey(t => t.TpsTransformer, "-tps") .SetKey(t => t.UseMultithreading, "-multi") .SetKey(t => t.WorkingPixelsType, "-wt"); }
/// <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"); }
protected override void InitCommandLine(CommandLineMapping mapping) { _commandLine.Get <TranslateRasterTool>() .SetKey(t => t.OutputType, "-ot") .SetKey(t => t.NoData, "-a_nodata") .SetKey(t => t.SubDatasets, "-sds") .SetKey(t => t.Stats, "-stats") .SetKey(t => t.Strict, "-strict") .SetKey(t => t.SpatialReference, "-a-srs") .SetKey(t => t.Unscale, "-unscale"); }
/// <summary> /// Initializes the command line options. Use _commandLine variable to do it. /// </summary> protected override void InitCommandLine(CommandLineMapping mapping) { _commandLine.Get <BuildVrtTool>() .SetKey(p => p.TileIndex, "-tileindex") .SetKey(p => p.Resolution, "-resolution") .SetKey(p => p.TartetResolution, "-tr") .SetKey(p => p.AlignPixelsToResolution, "-tap") .SetKey(p => p.TargetExtents, "-te") .SetKey(p => p.AddAlpha, "-addalpha") .SetKey(p => p.HideNoData, "-hidenodata") .SetKey(p => p.SrcNoData, "-srcnodata") .SetKey(p => p.BandIndex, "-b") .SetKey(p => p.SubdatasetIndex, "-sd") .SetKey(p => p.VrtNoDataValue, "-vrtnodata") .SetKey(p => p.Separate, "-separate") .SetKey(p => p.AllowProjectionDifference, "-allow_projection_difference") .SetKey(p => p.TargetProjection, "-a_srs") .SetKey(p => p.Resampling, "-r"); }
/// <summary> /// Initializes the command line options. /// </summary> protected override void InitCommandLine(CommandLineMapping mapping) { // TODO: implement mapping.Get <Ogr2OgrTool>() .SetKey(t => t.OutputFormat, "-f"); }