File tree Expand file tree Collapse file tree
mapserver/competency/queries.d Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ queries:
4141 SELECT
4242 nm.sckan_id,
4343 nm.sckan_node_id,
44- string_agg(pt.label, ', ' ORDER BY seq.pos) AS sckan_label
44+ string_agg(pt.label, ', ' ORDER BY seq.pos) AS sckan_node_label
4545 FROM node_mappings nm
4646 JOIN path_node_features pnf
4747 ON nm.sckan_id = pnf.source_id
@@ -93,10 +93,12 @@ queries:
9393 nm.sckan_id,
9494 nm.path_id,
9595 nm.sckan_node_id,
96- sl.sckan_label,
96+ UPPER(SUBSTRING(sl.sckan_node_label, 1, 1)) ||
97+ SUBSTRING(sl.sckan_node_label, 2) AS sckan_node_label,
9798 COALESCE(nm.source_id, '') AS source_id,
9899 COALESCE(nm.node_id, '') AS node_id,
99- COALESCE(ml.node_label, '') AS node_label
100+ COALESCE(UPPER(SUBSTRING(ml.node_label, 1, 1)) ||
101+ SUBSTRING(ml.node_label, 2), '') AS node_label
100102 FROM node_mappings nm
101103 NATURAL JOIN sckan_labels sl
102104 LEFT JOIN map_labels ml
@@ -130,7 +132,7 @@ queries:
130132 - key : sckan_node_id
131133 label : SKCAN Node ID
132134 type : string
133- - key : sckan_label
135+ - key : sckan_node_label
134136 label : SKCAN Node Label
135137 type : string
136138 - key : source_id
You can’t perform that action at this time.
0 commit comments