From 3d76b080881cc09d3ff3f0aa77ad647173c917c9 Mon Sep 17 00:00:00 2001 From: Moped View Bot Date: Fri, 15 Nov 2024 19:49:22 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Export=20view=20for=2019915=5Ffi?= =?UTF-8?q?x=5Fagol=5Fview=5Fpoints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- moped-database/views/component_arcgis_online_view.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moped-database/views/component_arcgis_online_view.sql b/moped-database/views/component_arcgis_online_view.sql index 6397339c2e..df627039ef 100644 --- a/moped-database/views/component_arcgis_online_view.sql +++ b/moped-database/views/component_arcgis_online_view.sql @@ -26,7 +26,7 @@ comp_geography AS ( feature_union.component_id AS project_component_id, string_agg(DISTINCT feature_union.id::text, ', '::text) AS feature_ids, st_asgeojson(st_multi(st_union(array_agg(feature_union.geography))))::json AS geometry, - st_asgeojson(st_union(array_agg(feature_union.line_geography)))::json AS line_geometry, + st_asgeojson(st_multi(st_union(array_agg(feature_union.line_geography))))::json AS line_geometry, string_agg(DISTINCT feature_union.signal_id::text, ', '::text) AS signal_ids, sum(feature_union.length_feet) AS length_feet_total FROM (