Hello,
please could you check the following xml about a “Graph builder”?
I got an error on “Import-Vector” module.
Thank you.
<node id="Import-Vector">
<operator>Import-Vector</operator>
<sources/>
<parameters class="com.bc.ceres.binding.dom.XppDomElement">
<vectorFile>D:\_S1A\shapefile\clip_AoI_map.shp</vectorFile>
<separateShapes>false</separateShapes>
</parameters>
</node>
marpet
June 23, 2016, 2:31pm
#2
What kind of error do you get and how do you invoke it.
In general it looks good, just the product the vector file shall be imported to must be given additionally.
Hi Marpet,
the error message was:
Error in graph: [Node:Import-Vector] Operator ‘ImportVectorOp’: Mandatory source product (field ‘sourceProduct’) not set.
marpet
June 23, 2016, 3:32pm
#4
So it really looks like you are missing to specify the source product
Replace<source/>
by <source>${source}</source>
And on the command line specify
gpt importVector.xml -Ssource=D:_S1A…
1 Like