Hello,
I’m using the GraphBuilding
to stack multiple products (5) and to co-register them, but I got confused by which band correspond to which input product in the produced stack product.
Is there an option in the CreateStack
operator which sets the name of the created band, to make it easy to recognize each product in the final product?
Here is a sample of the graph xml
file I’m executing with gpt
to generate the stack product from the 5 input products:
<graph id="Graph">
<version>1.0</version>
<node id="Read(1)">
<operator>Read</operator>
<sources/>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<file>C:/Data/Tewkesbury-LiDAR/LIDAR-LAZ-2014-SO83/SO8832_P_9938_20141212_20141212/Products/dsm.tif</file>
</parameters>
</node>
<node id="Read(2)">
<operator>Read</operator>
<sources/>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<file>C:/Data/Tewkesbury-LiDAR/asc-lidar-building1.tif</file>
</parameters>
</node>
<node id="Read(3)">
<operator>Read</operator>
<sources/>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<file>C:/Data/Tewkesbury-LiDAR/asc-lidar-building2.tif</file>
</parameters>
</node>
<node id="Read(4)">
<operator>Read</operator>
<sources/>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<file>C:/Data/Tewkesbury-SAR/subsets/during.dim</file>
</parameters>
</node>
<node id="Read(5)">
<operator>Read</operator>
<sources/>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<file>C:/Data/Tewkesbury-SAR/subsets/post.dim</file>
</parameters>
</node>
<node id="CreateStack">
<operator>CreateStack</operator>
<sources>
<sourceProduct.1 refid="Read(1)"/>
<sourceProduct.2 refid="Read(2)"/>
<sourceProduct.3 refid="Read(3)"/>
<sourceProduct.4 refid="Read(4)"/>
<sourceProduct.5 refid="Read(5)"/>
</sources>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<masterBands/>
<sourceBands/>
<resamplingType>BILINEAR_INTERPOLATION</resamplingType>
<extent>Master</extent>
</parameters>
</node>
Thanks.