Implmented for placements: centroid, point-gird, point-sample. Aggregated columns not yet implemented (only count). Aggregation could be made more efficient by using quadkeys
13 lines
356 B
JavaScript
13 lines
356 B
JavaScript
module.exports = class BaseAggregation {
|
|
constructor(query, resolution, threshold, placement, columns) {
|
|
this.query = query;
|
|
this.resolution = resolution;
|
|
this.threshold = threshold;
|
|
this.placement = placement;
|
|
this.columns = columns;
|
|
}
|
|
sql () {
|
|
throw new Error('Unimplemented method');
|
|
}
|
|
};
|