New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance the intersecting feature rule to support both the Start and End of lines with a prompt option #129

Closed
om-henners opened this Issue Jul 19, 2016 · 9 comments

Comments

Projects
None yet
4 participants
@om-henners

om-henners commented Jul 19, 2016

When using the to and from junction field in the attribute assistant, if there are more than one possible result it appears that the attribute assistant will always (regardless of the layer) pick the feature with the lowest OBJECTID.

As a possible feature enhancement, rather than picking the lowest OBJECTID in cases where there is more than one possible result can we get a pop-up window of values for the user to choose from?

@MikeMillerGIS

This comment has been minimized.

Show comment
Hide comment
@MikeMillerGIS

MikeMillerGIS Jul 19, 2016

Member

There is always only one junction at the same location as the network does not support multiple junctions.

Member

MikeMillerGIS commented Jul 19, 2016

There is always only one junction at the same location as the network does not support multiple junctions.

@om-henners

This comment has been minimized.

Show comment
Hide comment
@om-henners

om-henners Jul 19, 2016

Thanks for responding Mike. I realise the network only supports a single junction, but our setup is that there are multiple source feature classes for junctions, and multiple coincident points from candidate feature classes in the one location (points may be retired, other points may be a junction in some cases, and in others represent assets within another junction in others - e.g. a water pressure monitoring meter), i.e. the network in our case is not only conceptual but represents the true spatial location of assets in the network.

Regardless of the status of the point the tool currently selects the point which has the lowest object ID. And while the tool does allow for filtering, it is by a single feature class with a simple equality filter, which means that there may be several assets as candidate junctions at a location. Thus the request for a choice at the time the to/from junction request is fired so you can choose the asset to connect as the junction if there could be more than one choice.

om-henners commented Jul 19, 2016

Thanks for responding Mike. I realise the network only supports a single junction, but our setup is that there are multiple source feature classes for junctions, and multiple coincident points from candidate feature classes in the one location (points may be retired, other points may be a junction in some cases, and in others represent assets within another junction in others - e.g. a water pressure monitoring meter), i.e. the network in our case is not only conceptual but represents the true spatial location of assets in the network.

Regardless of the status of the point the tool currently selects the point which has the lowest object ID. And while the tool does allow for filtering, it is by a single feature class with a simple equality filter, which means that there may be several assets as candidate junctions at a location. Thus the request for a choice at the time the to/from junction request is fired so you can choose the asset to connect as the junction if there could be more than one choice.

@MikeMillerGIS

This comment has been minimized.

Show comment
Hide comment
@MikeMillerGIS

MikeMillerGIS Jul 19, 2016

Member

You are looking for a different rule then, the to/from junctions use the geometric network to get the junction, and there is always one.

You need to look at the intersecting feature with the S and E flag. We will need to extend this to also show the prompt.

Is that what you are looking for?

Member

MikeMillerGIS commented Jul 19, 2016

You are looking for a different rule then, the to/from junctions use the geometric network to get the junction, and there is always one.

You need to look at the intersecting feature with the S and E flag. We will need to extend this to also show the prompt.

Is that what you are looking for?

@om-henners

This comment has been minimized.

Show comment
Hide comment
@om-henners

om-henners Jul 19, 2016

Hi Mike, that would work, yes. Thanks!

om-henners commented Jul 19, 2016

Hi Mike, that would work, yes. Thanks!

@MikeMillerGIS

This comment has been minimized.

Show comment
Hide comment
@MikeMillerGIS

MikeMillerGIS Jul 20, 2016

Member

We can add an enhancement for this.

Sent from my Verizon Wireless 4G LTE DROID

Member

MikeMillerGIS commented Jul 20, 2016

We can add an enhancement for this.

Sent from my Verizon Wireless 4G LTE DROID

@MikeMillerGIS MikeMillerGIS changed the title from Attribute Assistant to and from junction features grab lowest objectID to Enhance the intersecting feature rule to support both the Start and End of lines with a prompt option Jul 20, 2016

@MikeMillerGIS

This comment has been minimized.

Show comment
Hide comment
@MikeMillerGIS

MikeMillerGIS Jul 20, 2016

Member

Update title to reflect the request. Thank you for the request.

Member

MikeMillerGIS commented Jul 20, 2016

Update title to reflect the request. Thank you for the request.

MikeMillerGIS added a commit that referenced this issue Jul 22, 2016

@MikeMillerGIS MikeMillerGIS modified the milestone: Next Release Sep 23, 2016

@pLeBlanc93

This comment has been minimized.

Show comment
Hide comment
@pLeBlanc93

pLeBlanc93 Feb 13, 2017

Contributor

Note in the documentation that S/E/SP/EP only works on source lines, not target (intersecting) lines.

For CP, it only works with poly/lines

Contributor

pLeBlanc93 commented Feb 13, 2017

Note in the documentation that S/E/SP/EP only works on source lines, not target (intersecting) lines.

For CP, it only works with poly/lines

@pLeBlanc93

This comment has been minimized.

Show comment
Hide comment
@pLeBlanc93

pLeBlanc93 Feb 13, 2017

Contributor

verified new prompt options

Contributor

pLeBlanc93 commented Feb 13, 2017

verified new prompt options

@pLeBlanc93

This comment has been minimized.

Show comment
Hide comment
@pLeBlanc93

pLeBlanc93 Feb 14, 2017

Contributor

F (Default) Return the first result found.
P Present dialog box of intersecting features.
C Use the centroid as the intersection point, choosing the feature with the lowest objectid.
CP Use the centroid as the intersection point, presenting a dialog box of intersecting features.
S Use the start point of the line as the intersection point, choosing the feature with the lowest objectid.
SP Use the start point of the line as the intersection point, presenting a dialog box of intersecting features.
E Use the end point of the line as the intersection point, choosing the feature with the lowest objectid.
EP Use the end point of the line as the intersection point, presenting a dialog box of intersecting features.

It's clearer now how the various P options work.

Contributor

pLeBlanc93 commented Feb 14, 2017

F (Default) Return the first result found.
P Present dialog box of intersecting features.
C Use the centroid as the intersection point, choosing the feature with the lowest objectid.
CP Use the centroid as the intersection point, presenting a dialog box of intersecting features.
S Use the start point of the line as the intersection point, choosing the feature with the lowest objectid.
SP Use the start point of the line as the intersection point, presenting a dialog box of intersecting features.
E Use the end point of the line as the intersection point, choosing the feature with the lowest objectid.
EP Use the end point of the line as the intersection point, presenting a dialog box of intersecting features.

It's clearer now how the various P options work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment