Select to view content in your preferred language

Snapping issue with group template

626
5
Jump to solution
10-24-2024 06:31 AM
denisCallens
Emerging Contributor

Hi,

I try to add a Lateral to my Main line via a Junction. I do have the edge-junction-edge rule between these three objects (from main, to lateral via junction). I don't have junction-edge rules between Junction and any of the two lines

If I create each element individually, it snaps on the Main.

If I create a group template based on the Lateral with the Junction, it doesn't snap on the Main.

BUT...

If I create the same group template based on the Main, I select it in the create feature window, I click on the blue arrow to get into the Active template window and I change the asset group to Lateral, it snaps on the Main.

I am a bit confused. Is it the normal behavior?

I am working with UN6 and AGS Pro 3.1.7

0 Kudos
1 Solution

Accepted Solutions
RobertKrisher
Esri Regular Contributor

This does not seem like the expected behavior, and I would log a case with support. If you recreate the rule to swap the from/to order of the lines so its from lateral to main via fitting, does it work?

View solution in original post

0 Kudos
5 Replies
RobertKrisher
Esri Regular Contributor

This does not seem like the expected behavior, and I would log a case with support. If you recreate the rule to swap the from/to order of the lines so its from lateral to main via fitting, does it work?

0 Kudos
RobertKrisher
Esri Regular Contributor

Try creating your lateral template using the junction layer and referencing the fitting in your edge-junction-edge rule. You'll end up with a group template with your fitting + the lateral you want.

The snapping framework uses the rules and asset type of the features to determine whether they're allowed to snap.

  • Main to Main is allowed because they are the same asset type.
  • Junction to main is allowed, if there is a junction-edge or edge-junction-edge rule that allows it
  • Lateral to main is not allowed since this will always produce an edge-edge connectivity error.

By creating and using a template from the junction layer you will use the snapping behavior associated with that feature.

 

0 Kudos
PierreloupDucroix
Frequent Contributor

Sorry, but I cannot find how to create a Group Template for a lateral that begins with a junction and snaps to the main...

If I create the Group Template from the lateral, I can add builders to automatically add junction at the beginning, but it does not snap because lateral-to-main is not allowed and the assetType of the start junction seems not considered by the snapping framework.

PierreloupDucroix_0-1756090610694.png

If I create a Group Template from the junction, there are no builders to add a line starting from the junction and line templates are not proposed:

Here in ArcGIS Pro 3.5 

PierreloupDucroix_1-1756090667105.png

[EDIT] The only way I found is to use the lateral group template and right clic on the main and select snap to feature -> edge

CEO of MAGIS
0 Kudos
RobertKrisher
Esri Regular Contributor

@PierreloupDucroix 

Change the group template to use a line tool instead of a point tool:

RobertKrisher_1-1756128948742.png

 

Then you'll have access to all the builders for lines:

RobertKrisher_0-1756128933154.png

 

PierreloupDucroix
Frequent Contributor

Oh, thanks, I hadn't found that tool.

There's just one strange visual behavior: when drawing, the junction appears in the center of the drawn line. Even when selecting "point at beginning of line" option for the junction and no offset or position along the line.

But in the end, each element is correctly placed.

PierreloupDucroix_0-1756141299283.png

PierreloupDucroix_1-1756141391533.png

 

CEO of MAGIS
0 Kudos