Skip to main content
Question

I'm looking to iterate through a transformer that only accepts one input at a time.

  • September 8, 2020
  • 2 replies
  • 18 views

mackenziebudda
Participant
Forum|alt.badge.img+5

I'm trying to compute a CHM (canopy height model) by using the rastercellcalc transformer by having it subtract a DEM from a DSM.

 

The process works fine when only one DEM and DSM are passed through to the transformer at a time however I have these DEM/DSM's clipped to multiple smaller files. The CHM produced should have the same boundaries as the inputted DEM and DSM.

 

I've tried using the group by parameter in the transformer however it doesn't work for some reason and still tells me that the raster rows and columns don't match. See images below:

Capture11

The attribute manager and trimmer transformers just create a shared attribute between the correct DSM and DEM tiffs tiffs so that the rastercell transformer can do group by "Tile_name). See below:

Capture13Capture14

 

Capture12

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • 7843 replies
  • September 8, 2020

Hi @mackenziebudda​ , try setting Process At End (Blocking) to the Group By Mode parameter.


mackenziebudda
Participant
Forum|alt.badge.img+5
  • Author
  • Participant
  • 11 replies
  • September 9, 2020

Hello @Takashi Iijima​ The process works now. The problem I was having was that the Group By parameter for both inputs wasn't the same. One was Tile_name, while the other was Tile_Name. I guess the capital was causing problems. Thanks for your help!