I've tried joining two point layers by location on QGIS 2.18.27 (Mac iOS 10.13.5 High Sierra), but some points in the new vector don't end up appearing. One point layer is an interpolated point layer of a line, with one point every 500 meters (we'll call this interpolated_point
layer), and the other point layer is a point at every node of above-mentioned line layer (we'll call this the node_point
layer), both set to World Mercator [EPSG:54004]
.
Points and attribute table for the node_point
layer
Points and attribute table for the interpolated_point
layer
The node_point
layer (left) and the new joined layer (right, using the Join attributes by location
tool) with missing feature highlighted
I used the Join attributes by location
tool in the Vector > Data management tools
menu and set the node_point
as the Target layer
and the interpolated_point
layer as the Join vector layer
. The Geometric predicate
is within
and Precision
is set to 500 m
(so that if a point on the interpolated_point
layer isn't within another point in the node_point
layer, it'll try to get the attributes of the point within 500 meters; that is, that's how I think it works).
Join attributes by location
dialogue box with entered parameters. points_mercator
is node_point
and interPoints_mercator
is interpolated_point
I've tried checking the validity of the node_point
layer and all the features node_point
layer are all right, so I'm not sure what I'm doing. Reversing the Target
and Join vector layer
parameters don't change the (undesired) result either. Any thoughts? The expected result is that I have a new layer that has all and only the points from the node_point
layer with the attribute tables combined by location.
Again, using QGIS 2.18.27 on a Mac iOS 10.13.5 High Sierra.
EDITS:
- Added screenshot of
interpolated_point
andnode_point
layers and their attribute tables (as suggested by @pdavis) - Added screenshot of
Join attributes by location
dialogue box with parameters used (as suggested by @pdavis) - Added expected results (as suggested by @pdavis)
- Added
CRS
used