AnsweredAssumed Answered

Is it possible to add DIM metadata XML file to a rasterlayer?

Question asked by MapMaster20 on Mar 16, 2018

Hello!

 

I have a couple of Pleiades like in this example. 

https://support.esri.com/en/technical-article/000012290

 

I have no problem adding the DIM metadata XML file to ArcMAP or ArcGIS Pro but I'm not able to add it to a Rasterlayer in ArcGIS Runtime.

 Is there a way to do this?

 

Heres my code:

 

Raster inRaster = new Raster(myXMLFileSource);

await inRaster.LoadAsync(); 

RasterLayer newRasterLayer = new RasterLayer(inRaster); 

this.MyMap.OperationalLayers.Add(newRasterLayer);

Outcomes