Choose one Feature from Feature Set
I am running a query task in a workflow based on a drawn geometry from the user. The resulting feature set is then converted to a data table, and placed in a dataset, which is used in a report. Based on the user's created geometry, certain polygon layers may have multiple polygons within the geometry. This results in the report including the information on each polygon when I would only like it to generate a report based on one polygon in the feature set (it doesn't have to be a specific polygon, just one instead of multiple). Is there any way to select out just one feature within the feature set? I would use a Union to just group all of the features, but I can't figure out how to get the geometry back into a feature set.

0
-
The following creates a new featureset consisting the first feature of an existing featureset fs1: new FeatureSet({fs1.Features.First})0 -
Thanks, Nico! 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer