Hello,
I am trying to upgrade a C# project that has been using ArcObjects 10.7.0.0 to now use ArcGIS Maps SDK for .NET . We use the CreateRasterDataset method from https://developers.arcgis.com/enterprise-sdk/api-reference/net/IRasterWorkspace2/
Please could anyone assist me in how I would get the same method in the latest ArcGIS Maps SDK .NET or what methods there are to do this CreateRasterDataset.
Thank you.
Hi,
Can you share any more information about how you use the CreateRasterDataset function?
e.g.
Thanks
Mike
There is no documentation for each tool of geoprocessing in .NET. From python tool description you need to take only order of parameters and their types. Only ArcMap has direct access to raster manipulation. All other new products (ArcGIS Pro, ArcGIS Maps) use geoprocessing for that purpose.
// Create the geoprocessing parameters GeoprocessingParameters gpParams = new GeoprocessingParameters(GeoprocessingExecutionType.AsynchronousSubmit); // Add the interval parameter to the geoprocessing parameters gpParams.Inputs["ContourInterval"] = new GeoprocessingDouble(MyContourSlider.Value);
In code above you need to delete setting "ContourInterval" parameter and fill your tool parameters:
Is there any way to execute that from a C# .NET Framework 4.8 project? I can see details for python but not .NET.
No matter which geoprocessing tool you want execute. Differences are geoprocessing package path and set of parameters. Parameters for Create Raster Dataset you can find here
Is there any way to get developer lincences for these similar to the developer API key?
You need ArcGIS Pro to create geoprocessing package. Another one thing you need to have Standard license for ArcGIS Maps Local server.
Also how can I use this Create Raster Dataset tool, I am struggling and am not able to find an example anywhere
Does this require me to have ArcGis Pro?
You can do it by using geoprocessing. Local server supported geoprocessing tools are here. You need to create geoprocessing package with Create Raster Dataset tool. Sample how to execute tool is here.
Creating geoprocessing package is here.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.