From c64219e249aa35ae5538bdac62c1815e16815be8 Mon Sep 17 00:00:00 2001 From: xbgmsharp Date: Mon, 16 Oct 2023 00:55:33 +0200 Subject: [PATCH] Fix init export_gpx2 --- initdb/02_1_2_signalk_api_functions.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/initdb/02_1_2_signalk_api_functions.sql b/initdb/02_1_2_signalk_api_functions.sql index 98fced2..fdb450c 100644 --- a/initdb/02_1_2_signalk_api_functions.sql +++ b/initdb/02_1_2_signalk_api_functions.sql @@ -207,7 +207,7 @@ AS $export_logbook_gpx2$ 'http://www.garmin.com/xmlschemas/GpxExtensions/v3' as "xmlns:gpxx", 'http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www8.garmin.com/xmlschemas/GpxExtensionsv3.xsd' as "xsi:schemaLocation"), xmlelement(name metadata, - xmlelement(name link, xmlattributes('https://iot.openplotter.cloud/' as href), + xmlelement(name link, xmlattributes('https://iot.openplotter.cloud/' as href), xmlelement(name text, 'PostgSail'))), xmlelement(name trk, xmlelement(name name, log_rec.name), @@ -236,7 +236,7 @@ AS $export_logbook_gpx2$ $export_logbook_gpx2$ LANGUAGE plpgsql; -- Description COMMENT ON FUNCTION - api.export_logbook_gpx2_fn + api.export_logbook_gpx_fn2 IS 'Export a log entry to GPX XML format'; -- Find all log from and to moorage geopoint within 100m