Skip to main content

Moving a point to a line

Comments

1 comment

  • Berend Veldkamp

    The easiest way would be to enable snapping on the Road Lines layer. This will make sure that a selected point will be located on a road. (unless the point is too far from the road to begin with, but that's easily tested)

    Calculating the nearest point on a line can of course be done, too. Unfortunately the ArcGIS Geometry service does not have a useful function to do that, but a GP tool with arcpy should do the trick. Another way would be to create a custom workflow activity that does the hard work in JavaScript.

    Doing this in a workflow is also possible, but would require you to dust of your high school Trigonometry books, I guess ;-) I don't think such a workflow would be fun to write though

    0

Please sign in to leave a comment.