Thursday, May 12, 2011

Virtual Mosaics using images from multiple directories

Many ERDAS IMAGINE customers think of Virtual Mosaic as a Viewer capability. ERDAS added ‘Virtual Mosaic’, along with ‘Virtual Layer Stack’ and ‘Virtual Independent Files’ into ERDAS IMAGINE 8.6, which was released in 2002.

The .vmc file is created using the Multiple option when multi-selecting images in the File Chooser, for most any process (Multiple tab pops up on the file chooser when shift-selecting images). Because the File Chooser does not support the ability to select across multiple directories at the same time, a .vmc file containing files from multiple different folders cannot be created with the file chooser.

Because the .vmc is a ASCII text file, the customer can easily create a file containing images from a multiplicity of file folders.

Below is an example of a .vmc file containing MrSID images from multiple different folders. Started the creation with windows command as follows: dir *.sid /b /s > glenville_virtual-mosaic.vmc. I then had to do some editing of the file to make sure the slashes ‘/’ were in the right direction, add VMC at the topeof the file and so forth…..

This is what glenville_virtual-mosaic.vmc looked like when I was finished with my text-smithing.

VMC
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville/glennville_ne.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville/glennville_nw.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville/glennville_se.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville/glennville_sw.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville_ne/glennville_ne_ne.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville_ne/glennville_ne_nw.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville_ne/glennville_ne_se.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville_ne/glennville_ne_sw.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville_se/glennville_se_ne.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville_se/glennville_se_nw.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville_se/glennville_se_se.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville_se/glennville_se_sw.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville_sw/glennville_sw_ne.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville_sw/glennville_sw_nw.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville_sw/glennville_sw_se.sid
//atlbck1/data/georgia/georgia-99doqq-mrsid/g_quads/glennville_sw/glennville_sw_sw.sid


1 comment:

Rutger said...

Some software like Total Commander also allows easy copy-pasting of complete paths+filename, very convenient for creatings vsks or vmcs.