Skip to main content

Hi All -

I have been trying to convert a GeoTiff (also converted to ESRI Raster to try it too) and write to ESRI polygon feature class. I have used the steps below….. However, the translation fails and I get the following error:

“Cannot write a non-point feature to a point feature class”

There are no point features at play in any steps. RasterCellCoercer output cell geometry is set to ‘polygon’ and writer is set to polygon too. 

Does anyone know what is wrong here? Is another step in terms of geometry replacement or definition needed? 

Steps: 

  • Reader to read the GeoTiff (or Raster).
  • RasterCellCoercer to convert the rastercells to polygons.
  • AttributeCreator to convert the raster cell value to attribute. In this case _band{0}.value.
  • Relevant writer to write the result to polygon FC.

Thanks in advance! 

Have you check it with a GeometryFilter?


Thanks. Yes I did that just to confirm that these are indeed ‘Area’ features. No points or any other geometry coming out of the filter I am afraid. I also tried RasterPolygonCoercer to see if that works and I have the same issue. 

 

 


Sorry, I believed you :-)

 Errormessage:

“Cannot write a non-point feature to a point feature class”

You are writing to a point feature class!


As @tomfriedl mentioned, you seem to be writing a polygon to a point featureclass. Check that your writer has the correct geometry set


Reply