Question

ESF-XSD and Aggregate errors in Cuting Permit FTA

  • 2 November 2022
  • 1 reply
  • 0 views

Badge

Hi, I have a workspace to apply for a cutting permit that takes 3 cutblocks and aggregates them into one feature based on cutting permit and then output that directly to the HarvestApplicationWithCP output. This looks ok when the writer is redirected to the inspector, but the XML is incomplete, it only has one of the cutblocks in the HarvestApplicationWithCP portion of the XML.


1 reply

Badge +2

@hpras​ 

For multi-Area polygons, the geometry has to have a name: extentOf. This is an FME ESF XML requirement. This is ONLY required for multi-part geometries, but it won't hurt on simple areas.

Only the 'top' geometry should be named. So when you inspect your data in FME Data Inspector you should see something like: 

imageAYou can set the geometry name in the GeometryPropertySetter. By default the GeometryPropertySetter sets geometry names on all the geometries. So you need to modify the geometry naming as shown below:

 imageBI've attach an example workspace that shows how to configure the GeometryPropertySetter

Reply