I am trying to snap 2 polylines features as the picture below :enter image description here

I would like to snap both end lines using tolerance distance ans only snap the nearest feature: from the red feature, choose the nearest line to the yellow one and snap it (extend it to the yellow end point).

I tried to use classic snapping and "new" snapping environment from ArcGIS editing session, but it works manually, and I would like to make this process for thousands of features... That is why I also tried Snap Tool into Editing ToolBox, but this tool does not consider end points of the source feature, but feature vertices!

Does anyone has an answer which could save me from this problem please?

  • Feature to point (line-ends) and then snap to those points?
    – Midavalo
    Jun 20, 2016 at 8:05
  • I tried this but once I created end points, this is the same problem: for the snap tool (into editing toolbox), my input is the polyline feature (the snap environment is the point feature) and it snaps from all vertices and not end points...
    – m.siret
    Jun 20, 2016 at 8:28
  • If my input is the feature point, it will move (snap) the feature point and not the polyline
    – m.siret
    Jun 20, 2016 at 8:29
  • Does anyone has a solution?
    – m.siret
    Jun 20, 2016 at 9:13

1 Answer 1

  • Derive end points of red
  • Derive end points of yellow
  • Nearest yellow point for each red point, with nearX,nearY
  • XY points from nearXY.
  • Merge with red ends
  • Points to line using red I'd
  • Merge with red and dissolve on red I'd.
  • Should work if directions are towards each other
  • Hello, many thanks for your reply but those days I had to change my work, so I did not have a look on this problem again since last time... Thanks for your help!
    – m.siret
    Jun 29, 2016 at 6:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.