Skip to main content
Question

join pipe network via azumuth


Forum|alt.badge.img
Hi All, 

 

 

I have a pipe network that has been cut in arbitary locations along its length. i need to join sections of pipe together that have the same diameter and bearing (angle to north). The data just shows it cut into sections, where in reality (in the ground) its one piece of pipe.

 

 

I have used the azimuth calcuator to calc the bearing of each pipe section. i have then used a spatail relator (TOUCHES) to establish the pipe sections at either end of my candidate pipe and their bearing and ID's.  

 

 

Im struggling how to proceed from here. How do i join 2 or more sections that pass my tests together (same diameter, same bearing). The pipe secitons dont have any common ID ?

 

 

I do have IDs of what pipes are at either end of my candidate pipe. ie excuse my diagram

 

 

    A           B          C          D

 

--------I----------I---------I---------     should end up like

 

 

                          A

 

--------------------------------------

 

 

 

 

 

Many Thanks for your assistance

 

 

Steve

5 replies

Forum|alt.badge.img
  • Author
  • May 22, 2013
ps my diagram got formatted strangely. A,B,C,D are meant to indicate each pipe section of the pipe to join

 

 

 

Thanks

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • May 22, 2013
Hi,

 

 

If the pipes are represented as line geometry features and each pipe has its diameter and azimuth as attributes, the LineJointer with "Group By = diameter, azimuth" might help you.

 

 

Takashi

Forum|alt.badge.img
  • Author
  • May 22, 2013
Thanks Takashi , that sounds like a great plan. The only issue maybe if there are other pipes in the network that have (by chance) the same diameter and azimuth but are say 5km away. i wonder if then looking at mulitpart features might help me. 

 

 

I will see how i get on and report back./ 

 

 

Thanks again

 

 

Steve

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • May 22, 2013
Hi Steve,

 

 

Why not use the spatial relator result (touches) in the group by ? that way only segments that touch, have the same azimuth and diameter will be joined.

 

Regards,

 

Itay

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • May 22, 2013
> The only issue maybe if there are other pipes in the network that have (by chance) the same diameter and azimuth but are say 5km away.

 

 

Don't warry about this. The LineJoiner does not join detached lines even if those have the same group attribute value.

 

 

Takashi

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings