03-22-2018 05:39 AM
I've got a featureclass that contains a lot of sequences of lines. These are allways situated on the left and right side of any< other featureclass (see picture).
Now I would like to select all the sequences that are situated on the right side of the other feature. Is there any functional attribute that is able to select features this way? Or does anyone know another way to solve this?
I couldn't find anything so far.
Thanks for any help.
Solved! Go to Solution.
03-22-2018 07:08 AM
An possible idea: If the distance between the sequences of lines is constant you can try with a buffer geometry.
Create a buffer geometry around the right side feature with the distance between the sequences of lines (or a bit more). Make an intersection between the buffer geometry and the midline geometry and look - because of overlaps - for the longest intersected line geometry inside the buffer. This longest line geometry should be the corresponding midline. Now you can join/connect the middle line with the right line via IDs.
That should works if the distance between the sequences of lines is (nearly) constant and the proportion of the lines are "line-like".
Maybe this is an approach.
03-22-2018 02:40 PM
If the lines to left and right of a given feature class are of another feature class and may not be parallel or a similar length to midline,
the you could probably use POINTS(Input .geometry) to show the points of these left and right lines. The ID of the points inherits the ID of the associated line. You can determine which points are on left/right of the midline. Any single point thus identifies the associated ID of the line.
Here's an old document I wrote which shows two methods to determine what side of a line a point resides. It is however based on direction line was digitized. We used this in I/CAD applications. It may be of use.
03-23-2018 03:37 AM - edited 03-26-2018 12:39 AM
Hi Chirstian and everyone.
Here is a relatively easy solution to disntinguish between right and left side of 2 parallel lines (Lines)taking into consideration that the 2 parallel lines should have the same direction: