Select polygon from point feature selection
Hi all,
Just beginning in the workflow building, but I'm stuck on some logic that I must be missing. Here is the process I'm trying to accomplish.
- User Searches for an Address (point features)
- Selects appropriate return from drop down list
- Highlight feature returns
(These steps are all acomplished in a workflow) - add in the following steps
- From the point selection, use the geometery to select a parcel polygon feature
- Highlight feature extent
- Zoom to selection set
Selecting a polgon and zooming to it is working via a workflow as well, what I'm missing is how to move from a point feature selection and select polygons from the points.
The SelectFeatures task in the workflow, seems to return the geometery but I can't seem to find how to pull that value into the next QueryTask.
Any direction appreciated!
Thanks!
Brian
-
I can send you my address search workflow if you like - email me at sblazey at victoria.ca.
Basically I use a SelectFeatures activity to select the features from the address point layer (the result of the Query Task). Then I use a UnionTask, where the Feature Set is the variable from the result of the query task, and the result of the union task is a new "selectedGeometry" variable. Then use a Query Task where the Geometry is your "selectedGeometry" variable, and the result is a new FeatureSet "Selection" variable. Then use another Select Features activity to select the "Selection" feature set from the polygon layer.
I just wrote that paragraph and I hardly understand it, so like I said I am happy to send you my workflow.
Cheers,
Stephanie
0 -
Hi Stephanie
good explanation that may have been better as abullet list so the reader can pause at the end of each line to consider what is going on ;-)
- use a SelectFeatures activity to select the features from the address point layer (the result of the Query Task).
- use a UnionTask, where the Feature Set is the variable from the result of the query task, and the result of the union task is a new "selectedGeometry" variable.
- use a Query Task where the Geometry is your "selectedGeometry" variable, and the result is a new FeatureSet "Selection" variable.
- use another Select Features activity to select the "Selection" feature set from the polygon layer.
Regards
Ralph
0 -
Thanks Ralph and Stephanie! That worked perfectly. I guess I should have hit the forums up earlier this morning rather than the few hours of beating my head against a wall. Thanks again for the help!!
Cheers!
Brian
0
Please sign in to leave a comment.
Comments
3 comments