mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 09:17:08 +00:00
Include NTBA status in preplot GIS output
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user