I have two separate point layers. The first point layer contains the locations of 100 sensors which are aligned in one specific direction (for example: Asten). The second point layer contains the location-coordinates of the possible directions.
The attribut table of a sensor node looks like following:
The attribut table of a direction node looks like following:
What I am trying to do is to compare each point of point-layer-1 with each point of point-layer-2. If the "location"-attribut of the point-layer-2 node is equal to the "direction"-attribut of the point-layer-1 node, those two points should be connected to a vector. The result should look like this:
The result vectors should be stored in a new line-layer I suppose. Is there a way to do this?
python
) are expected to contain code. The answers to most "Is there a way to do this?" Questions yield several different ways (this is especially true when Python is in the mix). For this reason, showing where you have started and where you were headed is important to finding a solution that will integrate into your process.