twist for add new feature
Hi, haven't done much with workflows. Was wondering if anyone has done something similar to what I'm thinking. Would like to add an address point to an existing layer. Once added, the user will put in address number and unit, then I want the user to be able to select a street segment to grab its segment ID and update the corresponding field on the address layer. Would also like to update the address layer with the APN of the parcel that it sits on. I would also like to grab the username of the person logged on doing the work and the data and time point was added.
Does anyone have something like this already that I could use as a starting point? Thanks.
Mike
-
Mike,
Based on what you described, I think there are three feature sets involved:
1) Address Editable Feature Server Layer whose Geometry type is Point, and have the attributes at least, Address #, Unit, CreatedBy, CreatedDate etc
2) Street Segment layer whose Geometry Type is Polyline Or Line, and have the attributes at least 'segment ID' and a foreign key assiciated with the Address Point layer
3) Parcel Polygon Layer
First of all, you may use the 'Editing' module to add/edit Address feature if you want to use the default UI and logic, or create a workflow which takes a point geometry, and utilize 'Add/Edit Feature' activity, and Display Form to take the attribute values.
Secondly, implement a workflow say 'Find Adress by Street Segment' where you can find Address Feature intersected with Street Line Sement Geometry, and configured the Featue Description in a way to launch a workflow which takes Address ID or Geometry, and find the Address, and use 'Edit Feature' activitity to update Address feature.
Thirdly, same as the second above, a workflow 'Find Address by APN of the Parcel', which takes a APN on Form, and Query against the Parcel layer, and using the geometry of the found parcel, do the spatial query against the Address layer, and send the Address Feature Set found to the Viewer as the Result. The same workflow you used on Second step above, you can update the Address Feature.
Wish this helps you out to start,
Munhwan
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar