Skip to main content
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

 

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."
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
Thanks Itay and Takashi,

 

 

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

Reply