|
楼主 |
发表于 2018-2-23 17:18
|
显示全部楼层
//GP工具进行Mosaic操作
Geoprocessor gp = new Geoprocessor();
gp.OverwriteOutput = true;
MosaicToNewRaster mosaic = new MosaicToNewRaster();
mosaic.input_rasters = selectedRasterLayers; //TODO 参数是不是有问题啊?
mosaic.number_of_bands = 1;
mosaic.output_location = savePath;
mosaic.raster_dataset_name_with_extension = saveName + saveFormat;
mosaic.pixel_type = "8_BIT_UNSIGNED";
mosaic.cellsize = 20;
gp.Execute(mosaic, null);
————————————————————
如果看不到图的话,代码附上,谢谢! |
|