AnsweredAssumed Answered

View all raster map tile without using mosaic

Question asked by Fathin.Ismail on Mar 12, 2019
Latest reply on Mar 12, 2019 by Fathin.Ismail


I in process of trying ArcGIS product. I try to view all the 196 tile of raster map in geotiff format. I search on internet but i can't seem to find a way to make me display the map tile. Almost all of them need to convert to mosaic using ArcGIS desktop. My program require is that user can insert map on the fly and display the map, without need to use ArcGIS desktop. I able to view about 48 map tile that will cause slightly slower performance on program but when try to display all the map it will make the program not responding. Is there solution that i can use without using ArcGIS desktop just using the SDK?



string path = @"C:\Users\User\Downloads\countries_shp\countries.shp";

List myRasterlist = new List();

private async void Initialize()

MyMapView.Map = new Map(new SpatialReference(4326));

MyMapView.GraphicsOverlays.Add(new GraphicsOverlay());

foreach (string filepath in Directory.EnumerateFiles(@"C:\Users\User\Desktop\User Stuff\Map Data\RASTER", "*.tif")) { myRasterlist.Add(new Raster(filepath)); }

List myRasterlayerlist = new List();

myRasterlist.ForEach(x => { myRasterlayerlist.Add(new RasterLayer(x)); });

ShapefileFeatureTable myShapefile = await ShapefileFeatureTable.OpenAsync(path);

FeatureLayer newFeatureLayer = new FeatureLayer(myShapefile);


myRasterlayerlist.ForEach(x => { MyMapView.Map.OperationalLayers.Add(x); });

await MyMapView.Map.LoadAsync();

MyMapView.SetViewpoint(new Viewpoint(4.475785,101.925272,3000000));