I want to display my local image files on the map/scene as layers. For example, consider the following file structure:
Folder1:
img1_1, img1_2, ..., img1_100
Folder2:
img2_1, img2_2, ..., img2_500
I want to display all of the rasters in Folder1 as a single layer, and all of the images in Folder2 as another separate layer, in different scales. What are the best / easiest / most efficient ways to achieve this?
- I tried creating filegeotabase, (using LocalServer, displaying as
ArcGISMapImageLayer
) but it works too slowly. How to fix this, is there a better way to do this? - To display as
RasterLayer
, I tried creating aMosaicDatasetRaster
(.sqlite file) both with ArcGIS PRO and ArcGIS Runtime methods. But I encountered some problems with caching (my question about that: https://community.esri.com/t5/arcgis-runtime-sdk-for-net-questions/displaying-mobile-mosaic-dataset-properly/m-p/1235014 ) - I tried other methods for creating
RasterLayer
, i.e. creating aGeoPackageRaster
using ArcGIS PRO which is incredibly slow for large number of files, did not work for me. (But I might be missing something, what is the best way to create geopackages for my case?) Also it displays empty areas as pitch black, which makes the layer below it invisible. I need the empty areas in the layer to be transparent, so other layers' data can be seen.