Hi,
I've been testing out the MRF format and raster proxies and I have run into issues. I've been using ArcGIS Desktop 10.6.1 and ArcGIS Pro 2.3.2
I started by using OptimizeRasters to create MRF files from the original GeoTIFFs and then copied the files to a networked drive. I then created the raster proxies as a csv file, as shown below:
ObjectID;Raster
1;<MRF_META><CachedSource><Source clone='true'>H:/MRFTest/18933E593082N.mrf</Source></CachedSource><Raster><Size c='3' x='10000' y='10000'/><PageSize c='1' x='512' y='512'/><Compression>LERC</Compression><DataFile>D:/test/18933E593082N.mrf_cache</DataFile><IndexFile>D:/test/18933E593082N.mrf_cache</IndexFile></Raster><Rsets model='uniform' scale='2'/><GeoTags><BoundingBox maxx='19683.00000000' maxy='5931579.00000000' minx='18933.00000000' miny='5930829.00000000'/><Projection>PROJCS['NAD_1983_3TM_114',GEOGCS['NAD83',DATUM['North_American_1983',SPHEROID['GRS 1980',6378137,298.257222101,AUTHORITY['EPSG','7019']],AUTHORITY['EPSG','6269']],PRIMEM['Greenwich',0],UNIT['degree',0.0174532925199433],AUTHORITY['EPSG','4269']],PROJECTION['Transverse_Mercator'],PARAMETER['latitude_of_origin',0],PARAMETER['central_meridian',-114],PARAMETER['scale_factor',0.9999],PARAMETER['false_easting',0],PARAMETER['false_northing',0],UNIT['metre',1,AUTHORITY['EPSG','9001']]]</Projection></GeoTags><Options>V2=ON</Options></MRF_META>
2;<MRF_META><CachedSource><Source>H:/MRFTest/18933E593082N.tif</Source></CachedSource><Raster><Size c='3' x='10000' y='10000'/><PageSize c='1' x='512' y='512'/><Compression>LERC</Compression><DataFile>D:/test/18933E593082N.mrf_cache</DataFile><IndexFile>D:/test/18933E593082N.mrf_cache</IndexFile></Raster><Rsets model='uniform' scale='2'/><GeoTags><BoundingBox maxx='19683.00000000' maxy='5931579.00000000' minx='18933.00000000' miny='5930829.00000000'/><Projection>PROJCS['NAD_1983_3TM_114',GEOGCS['NAD83',DATUM['North_American_1983',SPHEROID['GRS 1980',6378137,298.257222101,AUTHORITY['EPSG','7019']],AUTHORITY['EPSG','6269']],PRIMEM['Greenwich',0],UNIT['degree',0.0174532925199433],AUTHORITY['EPSG','4269']],PROJECTION['Transverse_Mercator'],PARAMETER['latitude_of_origin',0],PARAMETER['central_meridian',-114],PARAMETER['scale_factor',0.9999],PARAMETER['false_easting',0],PARAMETER['false_northing',0],UNIT['metre',1,AUTHORITY['EPSG','9001']]]</Projection></GeoTags><Options>V2=ON</Options></MRF_META>
3;<MRF_META><CachedSource><Source clone='true'>H:/MRFTest/18933E593157N.mrf</Source></CachedSource><Raster><Size c='3' x='10000' y='10000'/><PageSize c='1' x='512' y='512'/><Compression>LERC</Compression><DataFile>D:/test/18933E593157N.mrf_cache</DataFile><IndexFile>D:/test/18933E593157N.mrf_cache</IndexFile></Raster><Rsets model='uniform' scale='2'/><GeoTags><BoundingBox maxx='19683.00000000' maxy='5932329.00000000' minx='18933.00000000' miny='5931579.00000000'/><Projection>PROJCS['NAD_1983_3TM_114',GEOGCS['NAD83',DATUM['North_American_1983',SPHEROID['GRS 1980',6378137,298.257222101,AUTHORITY['EPSG','7019']],AUTHORITY['EPSG','6269']],PRIMEM['Greenwich',0],UNIT['degree',0.0174532925199433],AUTHORITY['EPSG','4269']],PROJECTION['Transverse_Mercator'],PARAMETER['latitude_of_origin',0],PARAMETER['central_meridian',-114],PARAMETER['scale_factor',0.9999],PARAMETER['false_easting',0],PARAMETER['false_northing',0],UNIT['metre',1,AUTHORITY['EPSG','9001']]]</Projection></GeoTags><Options>V2=ON</Options></MRF_META>
4;<MRF_META><CachedSource><Source>H:/MRFTest/18933E593157N.tif</Source></CachedSource><Raster><Size c='3' x='10000' y='10000'/><PageSize c='1' x='512' y='512'/><Compression>LERC</Compression><DataFile>D:/test/18933E593157N.mrf_cache</DataFile><IndexFile>D:/test/18933E593157N.mrf_cache</IndexFile></Raster><Rsets model='uniform' scale='2'/><GeoTags><BoundingBox maxx='19683.00000000' maxy='5932329.00000000' minx='18933.00000000' miny='5931579.00000000'/><Projection>PROJCS['NAD_1983_3TM_114',GEOGCS['NAD83',DATUM['North_American_1983',SPHEROID['GRS 1980',6378137,298.257222101,AUTHORITY['EPSG','7019']],AUTHORITY['EPSG','6269']],PRIMEM['Greenwich',0],UNIT['degree',0.0174532925199433],AUTHORITY['EPSG','4269']],PROJECTION['Transverse_Mercator'],PARAMETER['latitude_of_origin',0],PARAMETER['central_meridian',-114],PARAMETER['scale_factor',0.9999],PARAMETER['false_easting',0],PARAMETER['false_northing',0],UNIT['metre',1,AUTHORITY['EPSG','9001']]]</Projection></GeoTags><Options>V2=ON</Options></MRF_META>
5;<MRF_META><CachedSource><Source clone='true'>H:/MRFTest/18933E593232N.mrf</Source></CachedSource><Raster><Size c='3' x='10000' y='10000'/><PageSize c='1' x='512' y='512'/><Compression>LERC</Compression><DataFile>D:/test/18933E593232N.mrf_cache</DataFile><IndexFile>D:/test/18933E593232N.mrf_cache</IndexFile></Raster><Rsets model='uniform' scale='2'/><GeoTags><BoundingBox maxx='19683.00000000' maxy='5933079.00000000' minx='18933.00000000' miny='5932329.00000000'/><Projection>PROJCS['NAD_1983_3TM_114',GEOGCS['NAD83',DATUM['North_American_1983',SPHEROID['GRS 1980',6378137,298.257222101,AUTHORITY['EPSG','7019']],AUTHORITY['EPSG','6269']],PRIMEM['Greenwich',0],UNIT['degree',0.0174532925199433],AUTHORITY['EPSG','4269']],PROJECTION['Transverse_Mercator'],PARAMETER['latitude_of_origin',0],PARAMETER['central_meridian',-114],PARAMETER['scale_factor',0.9999],PARAMETER['false_easting',0],PARAMETER['false_northing',0],UNIT['metre',1,AUTHORITY['EPSG','9001']]]</Projection></GeoTags><Options>V2=ON</Options></MRF_META>
6;<MRF_META><CachedSource><Source clone='true'>H:/MRFTest/18933E593307N.mrf</Source></CachedSource><Raster><Size c='3' x='10000' y='10000'/><PageSize c='1' x='512' y='512'/><Compression>LERC</Compression><DataFile>D:/test/18933E593307N.mrf_cache</DataFile><IndexFile>D:/test/18933E593307N.mrf_cache</IndexFile></Raster><Rsets model='uniform' scale='2'/><GeoTags><BoundingBox maxx='19683.00000000' maxy='5933829.00000000' minx='18933.00000000' miny='5933079.00000000'/><Projection>PROJCS['NAD_1983_3TM_114',GEOGCS['NAD83',DATUM['North_American_1983',SPHEROID['GRS 1980',6378137,298.257222101,AUTHORITY['EPSG','7019']],AUTHORITY['EPSG','6269']],PRIMEM['Greenwich',0],UNIT['degree',0.0174532925199433],AUTHORITY['EPSG','4269']],PROJECTION['Transverse_Mercator'],PARAMETER['latitude_of_origin',0],PARAMETER['central_meridian',-114],PARAMETER['scale_factor',0.9999],PARAMETER['false_easting',0],PARAMETER['false_northing',0],UNIT['metre',1,AUTHORITY['EPSG','9001']]]</Projection></GeoTags><Options>V2=ON</Options></MRF_META>
7;<MRF_META><CachedSource><Source clone='true'>H:/MRFTest/18933E593382N.mrf</Source></CachedSource><Raster><Size c='3' x='10000' y='10000'/><PageSize c='1' x='512' y='512'/><Compression>LERC</Compression><DataFile>D:/test/18933E593382N.mrf_cache</DataFile><IndexFile>D:/test/18933E593382N.mrf_cache</IndexFile></Raster><Rsets model='uniform' scale='2'/><GeoTags><BoundingBox maxx='19683.00000000' maxy='5934579.00000000' minx='18933.00000000' miny='5933829.00000000'/><Projection>PROJCS['NAD_1983_3TM_114',GEOGCS['NAD83',DATUM['North_American_1983',SPHEROID['GRS 1980',6378137,298.257222101,AUTHORITY['EPSG','7019']],AUTHORITY['EPSG','6269']],PRIMEM['Greenwich',0],UNIT['degree',0.0174532925199433],AUTHORITY['EPSG','4269']],PROJECTION['Transverse_Mercator'],PARAMETER['latitude_of_origin',0],PARAMETER['central_meridian',-114],PARAMETER['scale_factor',0.9999],PARAMETER['false_easting',0],PARAMETER['false_northing',0],UNIT['metre',1,AUTHORITY['EPSG','9001']]]</Projection></GeoTags><Options>V2=ON</Options></MRF_META>
When I tried to load the csv file into fGDB mosaic data set as table the process failed with the following error messages:
2019-05-15T15:29:20.325: Error: 8004206c: Failures reported while processing specified command item. [1]
2019-05-15T15:29:20.325: Error: 80042019: Chained Error ID: 0X80042019
2019-05-15T15:29:20.325: Error: 80042019: Could not build mosaic dataset item. [ID: 1, URI: 'D:\Projects\SlimWebMap\2017_MRF_Proxies.csv|1']
2019-05-15T15:29:20.325: Error: 80040207: An invalid SQL statement was used.
I got around this problem by loading the csv into the fGDB, and the raster proxy files loaded without a problem.
Here's the issue. When I add the mosaic data set to a map in ArcGIS Pro, the foot prints displayed, but no image, when I zoomed to the source resolution I got an image displayed on the screen and then when I started to zoom out ArcGIS Pro crashes. Then when trying to reopen the project, unless I pause the drawing ArcGIS will crash. I got a similar result in ArcMap. So I ran analyse on the mosaic data set and got the following report back indicating the paths to the files can't be accessed:
This seems strange as I have full read/write permissions on the folders where the piles are stored.
Next I ran export mosaic dataset paths and everything appears to be okay:
Last thing I did was to check the cache folder and I did see that some mrf_cache files had been created.
Now when I looked at the footprint table in ArcMap and open the information for the raster field, the preview is displayed and when I check the properties for the path everything looks good as near as I can tell.
So any thoughts as to why the mosaic data set is causing both ArcMap and ArcGIS Pro to crash?
MRF #OptimizeRasters #Raster Proxy File mosaic datset