I´m looking for a smart way to merge multiple line objects with the same geometry and same position in one layer while also sum up their attribute values. The result should be only one geometry (with the sum of all different object attributes) To merge individual activated objects via expanded digitalizing tools won´t work, because the number of different overlaying objects is much too big to do this step by step. All other merging instruments combine either only two layers or don´t sum up the attribute values (i.e. mmqgis). Also v.dissolve seems not to give usable results. Does anyone have an idea?
After trying more tools it was pretty easy in the end:
- Add the geometry attribute to each line object.
- Use the aggregate function and group by the new
"sum"-option for the attribute where the data is in
The result is a vector layer with only one object at each line segment with summed up values.