Include NTBA status in preplot GIS output

This commit is contained in:
D. Berge
2021-05-28 20:29:57 +02:00
parent 91fd5e4559
commit 967db1dec6

View File

@@ -19,7 +19,7 @@ async function lines (projectId, options = {}) {
FROM (
SELECT ST_AsGeoJSON(t.*) geojson
FROM (
SELECT line, incr, remarks, ST_Transform(geometry, 4326) geometry
SELECT line, incr, remarks, ntba, ST_Transform(geometry, 4326) geometry
FROM preplot_lines
WHERE
class = $7
@@ -62,7 +62,7 @@ async function points (projectId, options = {}) {
FROM (
SELECT ST_AsGeoJSON(t.*) geojson
FROM (
SELECT line, point, class, ST_Transform(geometry, 4326) geometry
SELECT line, point, class, ntba, ST_Transform(geometry, 4326) geometry
FROM preplot_points
WHERE
class = $7