SubdivideMrSidModifier.BatchFileName

This page contains reference documentation for the BatchFileName member. This data member sets or gets the BATCHFILE NAME parameter.

Declaration

string BatchFileName;

Examples

Examples are as follows:

SubdivideMrSidModifier sms_modifier = new SubdivideMrSidModifier;

// Configure the modifier to extract a region from a MrSid file.

// string containing absolute path to imagery and terminating backslash.

modifier.OutputFilePath = "C:\\\Terrain\\\rainier\\image_processing\\";

// string containing batch file name. This file is written to the folder specified by OutputFilePath.

sms_modifier.BatchFileName = "subdivide_lewis.bat";	

// string containing MrSid application name. This executable must be found in the folder specified by OutputFilePath.
	 
sms_modifier.MrSidApplicationName = "MRSIDGEODECODE_WIN.EXE";

// string containing input MrSid file. This MrSid file must be found in the folder specified by OutputFilePath.

sms_modifier.InputSidFile = "lewis_county_washington_state.sid";		    

string containing place name or identifier used to construct output file names.

sms_modifier.OutputFilePlaceName = "lewis_county";

// integer for width in pixels of MrSid file.

sms_modifier.WidthOfSidFile = 163342;		 

// integer for height in pixels of MrSid file.

sms_modifier.HeightOfSidFile = 50527;	 

// integer for width in pixels of each output tile.

sms_modifier.OutputTileWidth = 1000;		 

// integer for height in pixels of each output tile.

sms_modifier.OutputTileHeight = 1000;	

// integer for number of total rows ( X ) to extract.

sms_modifier.OutputRows = 50;	       

// integer for number of total columns ( Y ) to extract.

sms_modifier.OutputCols = 60;	

// string containing GDAL application name.
	    
sms_modifier.GdalApplicationName = "GDAL_TRANSLATE.EXE";

// integer for width in pixels of low-resolution tile-set.

sms_modifier.GdalOutputTileWidth = 128;

// integer for height in pixels of low-resolution tile set.

sms_modifier.GdalOutputTileHeight = 128;

Working Sample Code

For sample code: