Find near me
I'm looking for a worklow that will find the closest features based on the user's current location or an entered address. Anyone had success with something like this?
0
-
We also have a workflow that is searching for facilities based on an address. It works great, but the buffer remains after the workflow is completed and the results list is closed. Is there a way to remove the buffer without having to doube click it and delete the drawing? 0 -
Couple of ideas, neither of them ideal:
1) add an External Delay to your workflow at the end and follow it up with deleting the buffer markup (would take care of it, but could confuse your users when the buffer seemingly suddenly disappears)
2) update your viewer config to remove markups or whatever you're using when the results list closes (maybe could have it run a workflow to target the buffer instead, but I've never done that before in a viewer config)0 -
Hello John, I actually just figured out how to do this yesterday! In the viewer config, I found "moduleName": "Results".
When I scrolled down to behaviors, I found the following:{ "name": "ResultsViewClosedBehavior", "event": "ResultsViewClosedEvent", "commands": [] },I then modified it as follows:{ "name": "ResultsViewClosedBehavior", "event": "ResultsViewClosedEvent", "commands": [ "ClearMarkupQuiet", "ClearTemporaryMarkup" ] },It now clears both the buffer and the selected parcel (temporary markup) that was buffered when the results list is closed.0 -
As an add-on to this subject, I just saw a YouTube video titled "Running Geocortex Essentials workflows from an identify operation" that could be used to let user click on a location, and then that would kick off your workflow... 0 -
So, is there a way to add the DISTANCE that was found (in above workflow) to the actual results list instead of the alert?
I would like to show it in the Feature Description Feature Label to the right of the {Name}, Distance {DISTANCE}
Powell Levi Park - Distance 1.03 Miles
Street - 7222 Martingale Dr.
Park Class - Community
Owner - County0 -
You can override the the Feature Description with the SelectFeatures activity in Workflow. Under Properties, you can change the Label, Description, and Long Description format and pass in the distance variable where you want. 0 -
Tom
Thanks. That Worked.
Assigned an item.Attributes for the Park name and the Distance and then used that assigned item in the Select Features Activity in the Label Format property.0 -
Tom, How is the invoke method ("AddDistanceField") using the "fldDistance" variable in your workflow? Thanks, Chris. 0 -
The variable fldDistance is a field definition. The invoke method appends the field "DISTANCE" to the fsSearchFeatures featureset so we have somewhere to store the values from the DistanceTask. You can find where we apply fldDistance by selecting the AddDistanceField module then check under Properties > Parameters. 0 -
Thank you. It looked like the parameters box was blank. Did not see that you had to click on it. 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
40 kommentarer