Hexagon Geospatial
MENU

Spatial Modeler Q&A

Learn more about our products, find answers, get the latest updates, and connect with other Hexagon Geospatial product users, or get support from our professional service team.
Showing results for 
Search instead for 
Do you mean 

When Summary Attribute is used the Merge Features operator does not output any geometry.

by mvardovs on ‎05-14-2018 06:38 AM - edited on ‎05-14-2018 08:25 AM by sbent (309 Views)

Question

When the Summary Attribute input port is used, the Merge Features operator does not output any geometry. The Features Output operator fails with an error: "Input Features have no geometry".

 

2018-05-14 15_29_03-Start.png

Answer

If the input features have geometry and if the geometry output is desired in the output features, then a summary attribute defining the output geometry must be provided. Attributes have data types (for example: number, text, date, etc.) and some attributes are of the data type “area”, “line”, “point”, etc. Through the eyes of the Merge Features and Generate Functional Attributes operators, geometry is simply another attribute of a particular type.

 

Please follow these steps to resolve this issue:

  1. Right-click on the Merge Features operator to add another SummaryAttribute input port.
  2. Double-click the new SummaryAttribute input port.
  3. Give an output attribute name of “Geometry” (or anything else).
  4. Enter the expression “MERGE(Input.Geometry)”, substituting “Geometry” with the actual name of the input geometry field which you can see on the expression dialog.
  5. Click OK.

2018-05-14 15_30_50-Functional Attribute.png

2018-05-14 15_31_28-Start.png

Contributors