Skip to main content
Question

How to define the origin of grid created with RasterDEMGenerator before a raster is generated?

  • May 13, 2014
  • 4 replies
  • 91 views

makt
Contributor
Forum|alt.badge.img+1
I am using the RasterDEMGenerator to create a raster surface from points and I need to align its cells to existing rasters I already have.

 

 

A common way to do this in FME seems to be to use RasterDEMGenerator to create a raster, then use RasterMosiacker to do a snap. However, RasterMosiacker requires either offsetting or resampling the raster that RasterDEMGenerator already made. I do not want to do either since I am trying to retain the maximum precision possible (I'm trying to recreate an existing dataset).

 

 

How can I tell RasterDEMGenerator not just cell spacing but also where exactly to place the first cell (for instance defining the _origin_x and _origin_y)?  

 

 

 

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.

4 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • May 14, 2014
There is a RasterCellOriginSetter. transformer

makt
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • May 14, 2014
From what I understand of RasterCellOriginSetter, it requires a raster? I'm looking to define the cell origin before RasterDEMGenerator creates a raster.

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • May 15, 2014
Hi,

 

 

Would it not be possible to use an RasterNumericCreator to create a "blank" raster the size of the total tiles and then add the tiles by performing rasterexpressions?

 

Afterwards turning it into a dem?

makt
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • May 15, 2014
Hi Gio,

 

 

Intereseting approach - in my case this would also involve extrapolating cell values where no points exist, but a raster cell needs a value. Is it documented how RasterDEMGenerator extrapolates?

 

 

Seems like this would be a solution albeit a bit complex?