// Create a raster workspace. IWorkspaceFactory workspaceFactory=new RasterWorkspaceFactory(); // Open the workspace pointing to the input folder. IWorkspace workspace=workspaceFactory.OpenFromFile(@"c:RDs", 0); IRasterWorkspace rasterWorkspace=(IRasterWorkspace)workspace; // Open the .afr file as a raster dataset. IRasterDataset myRasterDataset=rasterWorkspace.OpenRasterDataset( "CompositeBand.afr"); // Open the pointer The workspace of the output folder. IWorkspace outputWorkspace=workspaceFactory.OpenFromFile(@"c: emp", 0); // Use the SaveAs interface to convert raster data The set is converted to an ISaveAs object. ISaveAs saveAsRaster=(ISaveAs)myRasterDataset; // Use the SaveAs method to save the raster dataset in the specified format. saveAsRaster.SaveAs(" outputFile.tif", outputWorkspace, "tiff"); span>
AO – Save the function grid data set to disk
WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3951 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC