Questions tagged [aggregation]
To combine data into larger units. For example a group of points to a polygon, or political subdivisions (provinces) to larger entities (country).
179
questions
1
vote
1
answer
30
views
How to create one buffer around all the points using ogr2ogr?
I know how to make a buffer around each point,
$ ogr2ogr oom.csv a1.houses.csv -lco GEOMETRY=AS_WKT -dialect SQLITE -sql \
"SELECT ST_Buffer(GEOMETRY,.01,1) AS WKT FROM 'a1.houses'"
$ cat ...
1
vote
1
answer
73
views
Fetch multiple fields in relation_aggregate expression
In the QGIS 3.34+ expression builder, how could one use the expression parameter in the relation_aggregate to fetch multiple fields?
E.g.:
relation_aggregate(
relation:= 'my_relation',
...
1
vote
1
answer
51
views
What is the right way to dissolve vector features in GRASS GIS on attribute values of one column summarizing or averaging others?
The line product of v.overlay contains a column with zones number and a stack of other attributes.
What I want:
Dissolve features (lines) on attribute column that contains zones number. Other ...
2
votes
1
answer
89
views
Aggregating points into polylines, sorted by timestamp using GeoPandas/Python
I have a geodataframe that contains positions (point geometries). For each position, we know the individual's id (id_individ), DOY (doy), year (année) and timestamp.
I want to aggregate the ...
2
votes
1
answer
148
views
QGIS Field Calculator - Aggregating and Calculating Ratios Based on Y-coordinate
I am trying to use the QGIS Field Calculator to calculate the sum of a specific attribute ('demo_field') for features in a layer to the sum of the same attribute for features that share the same y-...
4
votes
1
answer
92
views
Error using aggregate funtions in QGIS Geometry by Expression tool
I am encountering an issue while trying to use the make_line function along with geometries_to_array in the Geometry by Expression tool in QGIS. The expression I'm using is as follows:
make_line(
...
3
votes
2
answers
204
views
Classifying in QGIS into arbitrary number of percentiles instead of quantiles, based on attribute field value
Extending this question and this one: In QGIS, there are special expression functions for the first and third quartile (q1 and q3) and as well as median (median). So it's easily possible to categorise ...
1
vote
1
answer
72
views
QGIS multilevel query: aggregate values from different layers
QGIS 3.28.4. I have 3 shapefiles:
polyline, street information (streetId, + streetInfos...)
point, stake information (StakeId,streetId, + Stakeinfos.....)
polyline, pannels information (PannelId, ...
3
votes
1
answer
85
views
What is the equivalent of native:aggregate() in QGIS Field Calculator?
I have two layers which I want to connect using the aggregate() function with the Field Calculator. I can do this using the processing tool:
processing.run("native:aggregate", {
'INPUT' :...
2
votes
0
answers
81
views
Why is my custom aggregate function not returning data in the order I've specified?
I have a polygon layer where many features intersect each other.
I want to flatten these overlaps and pick out attribute values according to a custom order. To do this, I've been using QGIS's Union ...
0
votes
0
answers
58
views
ArcGIS Pro: Aggregate Polygon using Aggregate Field not honoured
The aim
For cartographic purposes, certain features have to be generalized depending on the used scale. One step in this workflow is the aggregate polygons based on a category.
The problem
Using ...
0
votes
0
answers
60
views
Expression works in one QGIS project, but not another
I have an expression in a Print Layout that populates a label with an attribute, based on which polygons are selected in map view. In the QGIS project that I made, it works perfectly. I tried copying ...
2
votes
4
answers
255
views
Aggregate entities by single value distributed in two fields - QGIS
I have a polyline layer with unique value ("loop A"; "loop B", etc.) distributed between 2 fields just like this:
ID
Field 1
Field 2
1
Loop A
NULL
2
Loop A
Loop B
3
Loop C
Loop ...
0
votes
0
answers
27
views
Cover area with point clusters bounds
Suppose, I have an area covered with regular grid points.
Points have some categorial attribute. I need to cover the area with polygons corresponding to the value of this attribute (it is like bounds ...
1
vote
1
answer
337
views
Filling in attributes from a different layer in QGIS batch mode
I have a point layer with an X,Y field, containing the coordinates of each point separated by a comma.
I'm trying to batch process r.water.outlet based on these X,Y values from a different layer, the ...