From 2497d582c715649387e79a499a56037153e56590 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 11 May 2016 08:38:33 +0000 Subject: [PATCH] style-only commit: remove trailing spaces git-svn-id: http://svn.osgeo.org/postgis/trunk@14887 b70326c6-7e19-0410-871a-916f4a2858ee --- topology/sql/export/gml.sql.in | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/topology/sql/export/gml.sql.in b/topology/sql/export/gml.sql.in index 17314d91a..bd826702e 100644 --- a/topology/sql/export/gml.sql.in +++ b/topology/sql/export/gml.sql.in @@ -1,5 +1,5 @@ -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --- +-- -- PostGIS - Spatial Types for PostgreSQL -- http://postgis.net -- @@ -105,7 +105,7 @@ BEGIN IF visited IS NOT NULL THEN gml = gml || ' xlink:href="#' || idprefix || 'N' || start_node || '" />'; ELSE - -- Mark as visited + -- Mark as visited EXECUTE 'INSERT INTO ' || visitedTable::text || '(element_type, element_id) VALUES (1, ' || start_node || ')'; @@ -130,7 +130,7 @@ BEGIN IF visited IS NOT NULL THEN gml = gml || ' xlink:href="#' || idprefix || 'N' || end_node || '" />'; ELSE - -- Mark as visited + -- Mark as visited EXECUTE 'INSERT INTO ' || visitedTable::text || '(element_type, element_id) VALUES (1, ' || end_node || ')'; @@ -326,7 +326,7 @@ BEGIN gml = gml || ' xlink:href="#' || idprefix || 'N' || rec.element_id || '" />'; CONTINUE; ELSE - -- Mark as visited + -- Mark as visited EXECUTE 'INSERT INTO ' || visitedTable::text || '(element_type, element_id) VALUES (1, ' || rec.element_id || ')'; @@ -423,7 +423,7 @@ BEGIN gml = gml || ' xlink:href="#' || idprefix || 'F' || rec.face_id || '" />'; CONTINUE; ELSE - -- Mark as visited + -- Mark as visited EXECUTE 'INSERT INTO ' || visitedTable::text || '(element_type, element_id) VALUES (3, ' || rec.face_id || ')'; @@ -442,10 +442,10 @@ BEGIN RAISE EXCEPTION 'Collection TopoGeometries are not supported by AsGML'; END IF; - + RETURN gml; - + END $$ LANGUAGE 'plpgsql' VOLATILE; -- writes into visited table @@ -470,7 +470,7 @@ LANGUAGE 'sql' VOLATILE; -- writes into visited table --{ -- --- API FUNCTION +-- API FUNCTION -- -- text AsGML(TopoGeometry, nsprefix, precision, options, visitedTable) -- @@ -485,7 +485,7 @@ $$ LANGUAGE 'sql' VOLATILE; -- writes into visited table --{ -- --- API FUNCTION +-- API FUNCTION -- -- text AsGML(TopoGeometry, nsprefix, precision, options) -- @@ -494,12 +494,12 @@ CREATE OR REPLACE FUNCTION topology.AsGML(tg topology.TopoGeometry, nsprefix tex RETURNS text AS $$ SELECT topology.AsGML($1, $2, $3, $4, NULL); -$$ LANGUAGE 'sql' STABLE; -- does NOT write into visited table +$$ LANGUAGE 'sql' STABLE; -- does NOT write into visited table -- } AsGML(TopoGeometry, nsprefix, precision, options) --{ -- --- API FUNCTION +-- API FUNCTION -- -- text AsGML(TopoGeometry, nsprefix) -- @@ -508,7 +508,7 @@ CREATE OR REPLACE FUNCTION topology.AsGML(tg topology.TopoGeometry, nsprefix tex RETURNS text AS $$ SELECT topology.AsGML($1, $2, 15, 1, NULL); -$$ LANGUAGE 'sql' STABLE; -- does NOT write into visited table +$$ LANGUAGE 'sql' STABLE; -- does NOT write into visited table -- } AsGML(TopoGeometry, nsprefix) --{ -- 2.40.0