Solved

Transformers questions

  • 4 April 2023
  • 4 replies
  • 3 views

Badge

Hello Sir/ Madam,

 

I have several transformers that I am not quite understand even I checked on the "help". I hope someone can give me a hand.

 

  1. May I ask what is the purpose of using transformer "Creator"? I often use "reader" to add the data. However, I saw other people use "Creator", may I ask why?
  2. What is transformer "GeomtryCoercer" does? It said to reset the geometry type, what does it mean?
  3. How about "Aggregator" and "Deaggregator"? does it mean to combine and separate data?

 

Thank you.

icon

Best answer by david_r 4 April 2023, 08:50

View original

4 replies

Userlevel 4
  1. The Creator is used to trigger the workspace when there is no other input data available. For example to create a workspace that triggers a web service, you could use a Creator + HttpCaller.
  2. The GeometryCoercer is used to force the geometry interpretation (when possible), for example to force FME to interpret polygons as closed line strings (perimeter).
  3. The Aggregator/Deaggregator are for composing/decomposing multi-part geometries.

 

There's also a lot of learning material available for free here:

Badge
  1. The Creator is used to trigger the workspace when there is no other input data available. For example to create a workspace that triggers a web service, you could use a Creator + HttpCaller.
  2. The GeometryCoercer is used to force the geometry interpretation (when possible), for example to force FME to interpret polygons as closed line strings (perimeter).
  3. The Aggregator/Deaggregator are for composing/decomposing multi-part geometries.

 

There's also a lot of learning material available for free here:

Thank you David! thanks for your help.

 

I still kind of confused on Geometry Coercer. What do you mean by "geometry interpretation"? Does it mean to read the geometry and "extract" different geometry types, such as closed line strings?

 

Thank you.

Userlevel 4

Thank you David! thanks for your help.

 

I still kind of confused on Geometry Coercer. What do you mean by "geometry interpretation"? Does it mean to read the geometry and "extract" different geometry types, such as closed line strings?

 

Thank you.

It's a rather esoteric transformer, so unless you've stumbled upon a case where it's really needed, you probably won't ;-) The documentation describes it rather well:

This transformer is sometimes used to have area features treated as though they were linear features, either because some later processing requires lines, or the destination format represents lines different than polygons and the linear representation is desired.

Source: https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/geometrycoercer.htm

Badge

Thank you David! thanks for your help.

 

I still kind of confused on Geometry Coercer. What do you mean by "geometry interpretation"? Does it mean to read the geometry and "extract" different geometry types, such as closed line strings?

 

Thank you.

I see... thank you for your help!

Reply