We are working on ArcGIS Qt Runtime Quartz 100.1. I created a gpk in ArcMap 10.5 which takes Raster as input. We have tif and dted raster formats. How to give these raster data(tif/dted) as input to gpk in ArcGIS Qt Runtime Quartz application.
GeoprocessingParameters viewshedParameters = GeoprocessingParameters(GeoprocessingExecutionType::AsynchronousSubmit);
QMap<QString, GeoprocessingParameter*> inputs;
inputs["InputRaster"] = new GeoprocessingRaster(QUrl("/home/sau/Work/AfterTrials_July/SAU_GUI/Tpks/4326/40m4.tif"),"tif", this);
Output: Task failed.
By the way one more query, how to give local raster file(tif/dted) in JSON format at rest end point?