Solved

ImageRasterizer's ground extents based on some data?

  • 14 February 2018
  • 2 replies
  • 2 views

Hi, I have a need to set ImageRasterizer's ground extents based on one of the DWG layers bounding box! Is it possible? Please tell me so! It's a deal breaker for me to decide if FME is usable for us.

icon

Best answer by takashi 14 February 2018, 16:14

View original

2 replies

Userlevel 2
Badge +17

Hi @theodolite3, you can use the BoundingBoxAccumulator to create the bounding box enclosing all features in the layer and extract its extents (xmin, ymin, xmax, ymax) with the BoundsExtractor. Then, merge the extents attributes to all the features unconditionally with the FeatureMerger (set an identical constant e.g.1 to the Join On parameter), send the Merged features to the ImageRasterizer, and set the extents to the Ground Extents parameters.

This screenshot illustrates my intention.

Hi @theodolite3, you can use the BoundingBoxAccumulator to create the bounding box enclosing all features in the layer and extract its extents (xmin, ymin, xmax, ymax) with the BoundsExtractor. Then, merge the extents attributes to all the features unconditionally with the FeatureMerger (set an identical constant e.g.1 to the Join On parameter), send the Merged features to the ImageRasterizer, and set the extents to the Ground Extents parameters.

This screenshot illustrates my intention.

 

It's working!! Big thank you!!!

 

Reply