AnsweredAssumed Answered

Create Raster Dataset tool doesn't work for GDB

Question asked by maxmaxmaxmaxmax on May 28, 2019
Latest reply on Jun 11, 2019 by maxmaxmaxmaxmax

It seems that 'Create Raster Dataset' geoprocessing tool doesn't work at all for GDB, either programmatically or not. My code:

 

var args = Geoprocessing.MakeValueArray(datastorePath, RasterDatasetName, null, "8_BIT_SIGNED", null, 3);
var env = Geoprocessing.MakeEnvironmentArray(outputCoordinateSystem: SpatialReferences.WGS84);
var gpResult = await Geoprocessing.ExecuteToolAsync("CreateRasterDataset_management", args, env, can

 

When tool executing, program crashes. If I try to create raster dataset manually in ArcGIS Pro, ArcGIS Pro crashes.

 

How can I create raster dataset in GDB?

Outcomes