Timeline for Join attributes of point and line layer by location (closest distance) in QGIS
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 28, 2014 at 0:01 | comment | added | Håvard Tveite | "Hub distance" is not the right tool if "closest distance to the line" is the criterion. The mmqgis code reveals that hub distance uses an approximation of the "hub" geometry. The distance calculations (mmqgis_distance) takes two points as parameters. Here is the code that does the approximation of the hub geometry in mmqgis_library.py: "feature.geometry().boundingBox().center()". This means that the centre of the geometry's bounding box is used instead of the real geometry. So if "closest distance to line" is to be the criterion, GRASS v.distance or the NNJoin plugin are more suitable. | |
S Apr 7, 2014 at 13:46 | history | edited | Mapperz♦ | CC BY-SA 3.0 |
Added info regarding many-to-one situation (Note: new user...not permitted to comment)
|
S Apr 7, 2014 at 13:46 | history | suggested | aduma | CC BY-SA 3.0 |
Added info regarding many-to-one situation (Note: new user...not permitted to comment)
|
Apr 7, 2014 at 13:45 | review | Suggested edits | |||
Apr 7, 2014 at 13:46 | |||||
May 11, 2012 at 0:09 | history | edited | Darren Cope | CC BY-SA 3.0 |
fixed line/point confusion
|
May 10, 2012 at 1:11 | comment | added | Willy | this should be marked as the answer, subject to minor edit of "lines" v "points" | |
Oct 16, 2011 at 18:02 | history | answered | Darren Cope | CC BY-SA 3.0 |