classifyDitches Pre-processing ditch vector data to recognize flow directions, junctions, and relationships between segments.