0

Scenario: Measurements made along road centerline, location of which shown by dots.

Objective: Compare measurements with building properties which are perpendicular to it (on both sides).

Workflow: Draw Perpendicular lines from points to building line. Spatial Join these perpendicular lines with buildings and points.

Question: How to draw perpendicular lines from these points till it encounter first building polygon with road centerline acting as base for angle.

Figure

Edit: ArcGIS 10.5 Advance with Spatial and Network Analyst extensions.

  • Interactively or with a script? What license level do you have? – Michael Stimson Feb 26 at 7:18
  • Added the licence info. Preferably interactive but script is also ok. – Martan Feb 26 at 7:29
  • Start editing, set your snapping to point and edge, start drawing a line from the point (snapped) then hold your mouse over the line and right click and select Perpendicular, this will constrain the line to 90 degrees from centre line then finish by snapping to the parcel that it meets. Personally I prefer classic snapping for this but the situation is simple enough the new snapping would work. – Michael Stimson Feb 26 at 7:38
  • Another method is described for 10.3 here desktop.arcgis.com/en/arcmap/10.3/manage-data/… a script solution is mentioned gis.stackexchange.com/questions/256839/… – Michael Stimson Feb 26 at 7:41
  • By interactive, I did not mean drawing manually. I am looking at 4000 points here, so that would take days. I have seen the solution you linked and tried to implement it. It only produces single side line depending on which side has nearest building. – Martan Feb 26 at 7:50
2

This tool will create perpendicular lines at user defined distances to the input lines. The perpendicular lines can be created either to the left, right, or both sides of the line direction of travel and the perpendiculars can be created at the line end, mid-point, or start of the input lines.

You could split your centerlines based on the points, run the above linked tool, erase the output portions that are within your buildings. Select the lines not touching the original street center lines and delete them (in case there is overrun). This will leave a line from the street line to the building edge.

The tool is provided as an ArcGIS 10.x toolbox tool. Use caution on curved or sinuous lines because the tool uses the start node and end node of the input line as the imaginary line from which to calculate the perpendicular lines.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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