Esri / local-government-desktop-addins

A series of ArcGIS Desktop Add-ins used in the ArcGIS for Local Government editing maps.
Apache License 2.0
61 stars 56 forks source link

Create and doc new rule CREATE_PERP_LINE_TO_LINE #165

Closed MikeMillerGIS closed 7 years ago

MikeMillerGIS commented 7 years ago

Valueinfo: CREATE_PERP_LINE_TO_LINE Similar to the Create prep line rule, this rule looks at a feature offset from a line, finds the closest point and creates a perpendicular line.

Source: Line feature layer or feature class: Feature layer containing the existing line features.

Neighborhood : Value: Distance around each point to search for a line feature.

Target: Line feature layer or feature class: Feature layer to contain the new perpendicular lines.

Template (Optional) : Editing template: Editing template used to symbolize and attribute the new line feature. Salesforce ID: BUG-000100964

MikeMillerGIS commented 7 years ago

@clareprice @ScottOppmann We will have to add a new value to the dynamic value domain

MikeMillerGIS commented 7 years ago

Linking to geonet issue: https://geonet.esri.com/message/650363-re-attribute-assistant-create-perpendicular-line

Bug: BUG-000100964

gurutvr commented 7 years ago

Hi Mike, A couple question/enhancement on the CREATE_PERP_LINE value method. 1) Can we allow user to specify the TABLENAME with TYPE field name and its value. This will allow this tool to be triggered only on a subtype/type field value from a point feature class. example - I want to trigger this only when I added endcap not all type of fitting features.

2) Can we provide an option to decide the side to draw the perpendicular line - like R-Right L-LEFT based on the digitized direction of the underline line feature? Srinivas thinks providing the option to prompt for LENGTH instead of a static value will be a good option as well.

Thanks, Guru

MikeMillerGIS commented 7 years ago

@guruesri you can use subtypes to limit a rule, the table name can be feature class|subtype. This rules also uses the selected point, finds the closest line and draws the line from the point to the line

MikeMillerGIS commented 7 years ago

Example

image

MikeMillerGIS commented 7 years ago

This rule is similar to the auto add laterals

pLeBlanc93 commented 7 years ago

new method documented

gurutvr commented 7 years ago

@MikeMillerGIS we need to be able to specify the type on the point feature class in your example wServiceConnection, let us say we want to fire this rule only when wServiceConnection of Residential type is added.

gurutvr commented 7 years ago

@MikeMillerGIS, sorry, i did not read your response thoroughly earlier. i now got what you said about adding featureclass|subtype name. does this mean, i need to have subtype field defined in the system or it can work on any type domain driven field?

MikeMillerGIS commented 7 years ago

Subtype is required

gurutvr commented 7 years ago

Ok. thanks!