Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. int1=client.getProcess('local','JTS:intersection');
  2. int1.execute({
  3. inputs: {
  4. a: resp.features,
  5. b: bufproc.output()//want to display/get the output of bufproc-the chained process
  6.  
  7. },
  8. success: function(outputs)
  9. {
  10. console.log("First chaining is succesfull");
  11. console.log("trying to access--"+int1.description.dataInputs[0].data.complexData.value); //[0]=input a, able to get this geometry
  12. console.log("trying to access--"+int1.description.dataInputs[1].data); //[1]=input b,not able to get this geometry --prints undefined
  13. console.log("Added result of chaining to res");
  14. map.addLayer(layerres);
  15.  
  16. }
  17. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement