Question

Is it necessary to specify geometry type when updating only attributes on multiple feature classes?

  • 12 February 2021
  • 1 reply
  • 3 views

Badge

I have a workspace where I am reading spatial data from an Enterprise geodatabase, modifying only a single attribute and updating that attribute using a feature writer. I'm reading the data dynamically and want to write it dynamically too. The data consists of points, lines, and polygons.

 

My question is, when updating only a single field, and not spatial data, does the writer ignore the geometry type? Or do I have to split my data up into point, line and polygon before it hits the writer and specify the correct geometry for each type?

 

2021-02-12_15h22_35


1 reply

Userlevel 5
Badge +29

This is a case for dynamic workflows, albeit an easy one.

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Workbench/!FeatureTypeProperties/workspaces_dynamic_about.htm

The gist of what you need to do is enable dynamic schema definition, set the schema source to the reader, and set the geometry to 'Defined by Schema'

Reply