This spiral of pipes is 51359 pipes long (320 x 319) and it is 1 solid line with no intersections. It doesn't exceed the pipeline extent limit because; Factorio, apparently, takes maximum of width, and height of a pipe system as the pipeline extent and not the longest path (I guess it makes sense since longest path is an NP-hard problem).