1

I have a polyline and point layer. The polyline layer contains different roads. The point layer contains points along these roads with random distances between the points. The points are also listed randomly and not in order along these roads.

I want to connect with polylines the points along the roads which are close to each other at a maximum (e.g. 35.0 m) or smaller distance.

The roads turn even to 180° at some locations (as shown in the attached figure) and the distance between the roads can be smaller than 35.0 m.

Example 1

My ultimate purpose is to get the road segments where the points are distant in maximum 35m.

Example 2

Any suggestion how to work these out?

I use ArcGIS 10.4.1 for Desktop

10
  • Does this answer your question? Create polyline segments on points on maximum distance to each other along another polyline
    – Taras
    Commented May 27, 2020 at 5:37
  • 2
    Max distance 35 m along the line or Euclidean distance? What have you tried?
    – Bera
    Commented May 27, 2020 at 6:27
  • 1
    If you want to generate segments along the polyline between the points then read the ArcMap help file on linear referencing, that will do it.
    – Hornbydd
    Commented May 27, 2020 at 9:41
  • 2
    This is not duplicate of the other question, since one is for QGIS and the other for ArcGIS. Author of the question was explicitly advised to post two separate question if he/she has two different software environments.
    – TomazicM
    Commented May 27, 2020 at 10:19
  • 1
    Split road at points, remove segments greater 35, dissolve w no multiparts. Repeat for next road.
    – FelixIP
    Commented May 27, 2020 at 19:10

1 Answer 1

0

STEP-1

I used the Create Routes (Linear Referencing) Tool to create the Routes from the polyline layer (my roads)

STEP-2

I used the Locate Features Along Routs (Linear Referencing) Tool to locate the points in sequence along the roads-polylines.

This created the filed MEAS in the layer

This tool resulted to a .dbf Table which had to be displayed by the X,Y data to import it as Events layer. Then this Events layer was exported as .shp file in order to use it for creating lines from the points which are now in sequence along the roads.

STEP-3

I continued with the Step-3 of @Taras from my initial Question [Projecting polygons into polyline] Projecting polygons into polyline.

In particular for ArcGIS, I used the Points To Line (Data Management) Tool.

I used MEAS at the Line Field

STEP-4

a) I had to Split the resulted line layer into the segments-lines because at the Attributes Table there was showing only one feature

b) At the Attributes Table also, I Added their Length field and Calculated the Geometry

b) I sorted the lines by their length

c) I selected those lines longer than my requirement (35.68m in my case) and deleted them together with other unsuitable lines created.

STEP-5

I Dissolved the remaining lines to create segments-polylines in order to create one buffer for each segment at the next Step.

The parameters used for dissolving the line features included:

Road for the Dissolve_Field(s), Create multipart features, and Unsplit lines

STEP-6

Then I was able to continue with the Step-4 of @Taras from my initial Question [Projecting polygons into polyline] Projecting polygons into polyline.

I used the Buffer (Analysis) Tool, with the settings: 3.5m for the Linear unit, FULL for the Side Type, FLAT for End Type

STEP-7

Finally I Intersected the polyline-road layer with the buffer layer to get the segments of interest.

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.