Timeline for Aggregating attributes from line to point using QGIS Expression
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 8, 2022 at 6:27 | history | edited | Taras♦ | CC BY-SA 4.0 |
deleted 1 character in body; edited tags; edited title
|
Sep 29, 2022 at 7:36 | answer | added | Levon Batoyan | timeline score: 1 | |
Sep 29, 2022 at 7:11 | vote | accept | Levon Batoyan | ||
Sep 29, 2022 at 7:11 | answer | added | Levon Batoyan | timeline score: 0 | |
Sep 28, 2022 at 7:06 | answer | added | Babel | timeline score: 3 | |
Sep 28, 2022 at 7:06 | comment | added | Levon Batoyan | yes, at the time of creation if I don't give the value in an attribute table. | |
Sep 28, 2022 at 6:48 | comment | added | Babel | "if I don't give another value": and where does this "other value" come from...? Is it an attribute of the point layer? | |
Sep 28, 2022 at 6:26 | comment | added | Levon Batoyan | It's not necessary to use aggregate, it just works for me in another case. Yes, I want to get the diameter of the pipe if I don't give another value instead. Yes, I want one value for one point. the result should look in point feature - or my entered diameter, or aggregated diameter from line(if I don't give another value), or NULL(if it missing in both cases). | |
Sep 28, 2022 at 5:48 | comment | added | Babel | You didn't answer the questions. Without making clear what you want to achieve, you won't geht a meaningful answer. Why Aggregate? You just want to geht the diamer of the Piper, right? You want one value, not several Differenz values per point? How should the result look like? | |
Sep 28, 2022 at 5:15 | comment | added | Levon Batoyan | in my case, it is valve(point) and waterpipe(polyline). when I put valve on waterpipe I need it to take diameter from waterpipe if I'm not giving another value for valve diameter. if(NULL,aggregate( layer:= 'waterpipe', aggregate:='concatenate', expression:=to_string("diameter"), concatenator:=', ', filter:= intersects($geometry,buffer( geometry(@parent),0.0005) )), "diameter_valve") I wrote the code in layer properties- valve diameter feature-default value | |
Sep 27, 2022 at 13:27 | comment | added | Babel |
Can't work because condition in if-clause is NULL , but you don't tell what is NULL . Then again, it's unclear what you want to achieve... can you add a screenshot? If a point is on a line, you want to aggregate... what? Aggregate is to bring together attributes from different features, so each point would get values from several lines. This is unclear to me.
|
|
Sep 27, 2022 at 10:36 | history | edited | Ian Turton | CC BY-SA 4.0 |
added 28 characters in body
|
Sep 27, 2022 at 10:34 | history | asked | Levon Batoyan | CC BY-SA 4.0 |