mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:57:08 +00:00
Change definition of Preplot QC objects
This commit is contained in:
@@ -93,7 +93,14 @@ async function bySequence (client) {
|
||||
async function byPreplot (client) {
|
||||
console.error("byPreplot");
|
||||
const text = `
|
||||
SELECT ARRAY[line, point] _id, *
|
||||
SELECT ARRAY[NULL, point, line] _id,
|
||||
line,
|
||||
point,
|
||||
class,
|
||||
ntba,
|
||||
ST_AsGeoJSON(geometry) geometry,
|
||||
meta,
|
||||
count
|
||||
FROM preplot_points pp
|
||||
INNER JOIN preplot_points_count ppc USING (line, point)
|
||||
ORDER BY line, point;
|
||||
|
||||
Reference in New Issue
Block a user