I am using the spatial join tool with counties (polygon) as the target features and gas pipelines (lines) as the join features. I want to see how much pipe is in each county. The problem arises when one pipeline segment overlaps into two polygons. It is then adding the length of the pipeline segment to both counties. I have tried other match options even have their center in but that means the pipeline would have to cross the center of the county. Without splitting the pipes at county lines is there a more reliable way to do this where it would only put the length into one county, possibly the one it overlaps most?