Skip to main content
Question

RasterCellCoercer transformer

  • October 8, 2013
  • 3 replies
  • 64 views

Forum|alt.badge.img+1
Hi guys,

 

 

I am using RasterCellCoercer and then CoordinateExtractor to convert an ESRI ASCII Grid into a CSV file.  Does anyone know where in the original cell the X and Y coordinate are taken from?  Ie: is it in the centre of the cell, top-left corner, etc?

 

 

Thankyou

 

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.

3 replies

fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • October 8, 2013
Hi,

 

 

Search for the cell origin on FMEpedia, since the transformer doc states:

 

"Points: one point feature will be created for each of the raster's cells, positioned at the cell's origin."

takashi
Celebrity
  • October 8, 2013
Hi,

 

 

The RasterCellCoercer with "Polygons" option as "Output Cell Geometry" parameter might help you. You can use the BoundsExtractor to get coordinates of any corner of each cell  after transforming input raster to cell polygons.

 

 

Takashi

Forum|alt.badge.img+1
  • Author
  • October 8, 2013
Thanks Itay and Takashi,

 

 

I used the RasterPropertiesExtractor transformer and was able to identify the cell's origin that way.