Skip to main content
Question

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

  • February 12, 2021
  • 1 reply
  • 23 views

rchoucroun
Contributor
Forum|alt.badge.img+10

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

hkingsbury
Celebrity
Forum|alt.badge.img+54
  • Celebrity
  • February 14, 2021

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'


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings