Skip to main content
Open

Improve RasterDEMGenerator Parameters

Related products:Transformers
  • May 1, 2020
  • 1 reply
  • 26 views
siennaatsafe
takashi
jdh
sigtill
olivier
+5
  • siennaatsafe
    siennaatsafe
  • takashi
    takashi
  • jdh
    jdh
  • sigtill
    sigtill
  • olivier
    olivier
  • gbj1717
    gbj1717
  • geogaard
    geogaard
  • lily
    lily
  • harmen_kampinga
    harmen_kampinga
  • graham

takashi
Supporter

Currently these parameters in the RasterDEMGenerator cannot be specified through feature attributes.

  • Output DEM X Spacing
  • Output DEM Y Spacing
  • Output DEM Raster Nodata Value

There could be a case where those attributes should be set dynamically based on the source dataset. In fact, recently I had to implement this workflow.

  1. Read a 1-band numeric raster with Nodata cells. The properties including cell spacing and Nodata value could be vary for each input.
  2. RasterPropertyExtractor and RasterBandPropertyExtractor: Extract cell spacing and Nodata value.
  3. PointCloudCombiner: Convert the ratser to a pointcloud.
  4. RasterDEMGenerator: Fill the Nodata cells and re-create a raster with the same cell spacing and Nodata as the source raster.

Currently cell spacing and Nodata value cannot be specify via feature attributes, so you will have to create two workspaces to implement the workflow above. The first workspace reads a source raster and performs the step 3 and 4. The second workspace reads the source raster, extracts properties and then calls the first workspace with WorkspaceRunner/FMESurverJobSubmitter, passing the cell spacing and Nodata value which are extracted from the source raster.

It's possible but not elegant. Especially I don't like the latter workspace should have both WorkspaceRunner and FMEServerJobSubmitter if you want to use the workflow with either FME Desktop or FME Server.

It would be nice if you could set feature attributes to those parameters in the RasterDEMGenefator.

Alternatively it would also be nice if the NumericRasterizer would have an option to perform fill operation, equivalent to Elevation Void Fill function.

Comparison: Similar parameters in the NumericRasterizer can be set via feature attributes.

1 reply

LizAtSafe
Safer
Forum|alt.badge.img+15
  • Safer
  • February 10, 2024
The following idea has been merged into this idea:

All the votes have been transferred into this idea.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings