I created a gpk which packages tool Mosaic to New Raster.
The tool Mosaic to New Raster takes input
1. list of raster datasets
2. Path of the folder in which raster dataset is created
3. Name of the raster dataset
When this gpk is used in ArcGIS Runtime Qt, We need to give input as GPParameter
For list of raster datasets I need to use EsriRuntime::GPMultiValue. How to use this in my Qt Application?
I used as follows
1)EsriRuntimeQt::GPMultiValue <EsriRuntimeQt::GPRasterDataLayer * > *gpMV = new EsriRuntimeQt::GPMultiValue<EsriRuntimeQt::GPRasterDataLayer *>("ir");
2)EsriRuntimeQt::GPRasterDataLayer* ftiff = new EsriRuntimeQt::GPRasterDataLayer();
3)ftiff->setRasterDataUrl("/home/sau/Desktop/Map_Data/Satellite/54f.tif");
4)gpMV->addValue(ftiff);
I got the following error
/home/sau/qtsamples/samples/Los/Los.cpp:570: error: undefined reference to `EsriRuntimeQt::GPMultiValue<EsriRuntimeQt::GPRasterDataLayer*>::GPMultiValue(QString const&, QObject*)'
/home/sau/qtsamples/samples/Los/Los.cpp:594: error: undefined reference to `EsriRuntimeQt::GPMultiValue<EsriRuntimeQt::GPRasterDataLayer*>::addValue(EsriRuntimeQt::GPRasterDataLayer* const&)'
Solved! Go to Solution.
This sounds like something our Support folks should be assisting with. Could be a lot of variables here. Do you have access to Esri Support?