Timeline for QGIS expression: Extract attribute of nearest point
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 1, 2023 at 13:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jan 8, 2023 at 15:07 | history | edited | Mayo | CC BY-SA 4.0 |
deleted 91 characters in body; edited tags
|
Oct 16, 2022 at 19:44 | answer | added | Vincent Bénet | timeline score: 2 | |
Oct 16, 2022 at 18:20 | comment | added | Vincent Bénet | Ok, the issue was EPSG code. With same EPSG code, there is no problem! | |
Oct 16, 2022 at 16:55 | comment | added | Vincent Bénet |
Working in blank example but not in my project. Thank you a lot for the usage of overlay_nearest that i missed!
|
|
Oct 16, 2022 at 16:21 | comment | added | pigreco |
This works for me, but you have to remove limit: = 2 and take the first value of the array [0]
|
|
Oct 16, 2022 at 15:51 | comment | added | Vincent Bénet |
Yes, i have NULL as result with formula: overlay_nearest('resultPoints_e74212d8_6062_4c65_bdda_cfebd8bd679f', "depth")[0]
|
|
Oct 16, 2022 at 15:46 | comment | added | pigreco |
I didn't quite understand everything, but in the expression overlay_nearest instead of $geometry (which extract geometry) did you try to put the field Depth ?
|
|
Oct 16, 2022 at 15:42 | history | edited | Vincent Bénet | CC BY-SA 4.0 |
added 344 characters in body
|
Oct 16, 2022 at 15:29 | history | asked | Vincent Bénet | CC BY-SA 4.0 |