I've tried all of the raster tools within ArcToolbox with no luck having such a large number of files. There are about 7GBs worth of MrSID files totaling about 2,300. Most tools fail or process too slowly when I try to upload all the files. Even more than 10 files seems to slow Arc down too much. I don't know whether it's my procedure or computer that's causing problems. Please provide whatever advice you have. Thank you.
|
|
i dont know what you will do 2,300 .sid files into one raster but if you want to tile or anything with it, you can use gdalbuildvrt.
i hope it helps you... |
|||
|
|
|
A few things to think about.
With regard to creating the batch python script, you have the right idea to create a list of all the raster names. The next step is to work through that list, and have a loop that is adding rasters to the merge tool, or whatever you choose, limited to a number. Once you reach that number it repeats, but with a new name, and so on. For example: Names: Raster0001 through Raster0050
I don't have any python syntax off hand, but a search for batch processing with python will definitely yield you some good results. |
|||
|
|
I believe I have found an answer. After days of work, with nothing to show for it, it seems quite simple now. My computer could not execute any task with regards to these files because it would run out of memory. MrSID (.sid) files are generally way too large to be used in geoprocessing so they must be converted to a more raster-friendly format such as GeoTIFF (.tif). I found a file converter available for free download (Contenta Converter) which took all of the MrSID files and converted them to GeoTIFF. The 2,300 MrSID files I was using were 7.6GB compressed. No joke, using a trial of the LizardTech software in an attempt to mosaic all the files to verify this, the uncompressed size was 10.7TB!!! An unbelievable compression ratio. This partly explains the advantage of MrSID files for data transfer but a drawback for analysis as during such analysis, files must be decompressed in order to be usable. The decompressed size of the GeoTIFF files after conversion was 27.8GB, albeit still a large number, but much easier for Arc to deal with in terms of geoprocessing. Once the rasters were of the GeoTIFF file format, mosaicking and building of raster catalogs and datasets was possible. Before the conversion, tools would not even run. Now they run well, while still taking the required hours to complete, and all 2,300 rasters have been mosaicked into one large, continuous image. Thank you to the users for their answers. |
|||
|
|
|
Have you considered using a Mosaic Dataset? You didn't mention what version of ArcGIS you are using but they were introduced at 10.0.
|
|||||||||||
|