This page contains reference documentation for the OutputFilePlaceName member. This data member sets or gets the OUTPUTFILEPLACENAME parameter.
string OutputFilePlaceName;
Examples are as follows:
ExtractMrSidModifier esm_modifier = new ExtractMrSidModifier; // Configure the modifier to extract a region from a MrSid file. // string containing absolute path to directory containing imagery. Must have a terminating backslash. modifier.OutputFilePath = "C:\\\Terrain\\\rainier\\image_processing\\"; // string containing batch file name. This file is written to the folder specified by OutputFilePath. esm_modifier.BatchFileName = "subdivide_lewis.bat"; // string containing MrSid application name. This executable must be found in the folder specified by OutputFilePath. esm_modifier.MrSidApplicationName = "MRSIDGEODECODE_WIN.EXE"; // string containing input MrSid file. This MrSid file must be found in the folder specified by OutputFilePath. esm_modifier.InputSidFile = "lewis_county_washington_state.sid"; // string containing place name or identifier used to construct output file names. // Use whatever place name is appropriate. In this case, the output GEOTIFF tiles // will start with 'lewis_county' for easy identification. esm_modifier.OutputFilePlaceName = "lewis_county"; // integer for width in pixels of MrSid file. esm_modifier.WidthOfSidFile = 163342; // integer for height in pixels of MrSid file. esm_modifier.HeightOfSidFile = 50527; // double for extraction start pixel position X value. // This means start at pixel 90,000 along X. esm_modifier.StartUpperLeftX = 90000; // double for extraction start pixel position Y value. // This means start at pixel 0 along Y. esm_modifier.StartUpperLeftY = 0; // integer for width in pixels of each output tile. // Create a tile that is 1000 pixels wide. esm_modifier.OutputTileWidth = 1000; // integer for height in pixels of each output tile. // Create a tile that is 1000 pixels high. esm_modifier.OutputTileHeight = 1000; // integer for number of total rows ( X ) to extract. // Or extract 50 rows where each row is 1000 pixels. Thus the extraction specifies // a region spanning 50,000 pixels along X. esm_modifier.OutputRows = 50; // integer for number of total columns ( Y ) to extract. // Or extract 60 rows where each row is 1000 pixels. Thus the extraction specifies // a region spanning 60,000 pixels along Y. esm_modifier.OutputCols = 60; // string containing GDAL application name. This executable must be found in the folder specified by OutputFilePath. esm_modifier.GdalApplicationName = "GDAL_TRANSLATE.EXE"; // integer for width in pixels of low-resolution tile-set. esm_modifier.GdalOutputTileWidth = 128; // integer for height in pixels of low-resolution tile set. esm_modifier.GdalOutputTileHeight = 128;
For sample code: