Activities
I tried to create a work flow which will need find an address on the map and then if the address point in a specific zone polygon then I need highlight that polygon. Could you point out which activities I need to use?
?Thanks
?Zhujing
-
Hi Zhujing,
A basic set up for the activities would be:
- Display Form - to gather information from the user (eg, they type the address into a text box or autocomplete box)
- Query Layer - to find the address feature from your parcel/addresses service. You would use the value from the Form as part of the Where input
- Query Layer again - to find the zone polygon feature that intersects the the parcel/address point. You would do this by using the geometry from the first query result in this query's Geometry input.
- There are several ways to show the zone polygon you've now found. Show Results is the simplest. Another method would be using the combination of Get Symbol From JSON, Create Feature, and Add Graphics Layer Features. There's a sample of this combination called "Samples - Add Graphics to Map" which you can find by clicking "File > New" in Workflow Designer
You might also include If activities to check things like whether or not your queries find results, and handle what should happen if they don't. That will keep things smooth for the user.
Some other samples that might be helpful for reference are:
- Hello World Form
- Form AutoComplete
- Search for Service Request
Hope that helps!
-Amanda
1 -
Amanda, Thank you for your response, actually, I need geocode first to get the address point. So I set up the geocode. See my screen shot. I give the url for the geocodeing service in arcgis online and there is ‘Address’ field need to input, What I need to input there? Zhujing [cid:image002.png@01D30626.E4D90C70] 0 -
It doesn't appear as if your image was properly uploaded. The Address is the primary input to a Geocode, and is commonly a string. A valid input for this field would be: Main Street
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
3 kommentarer