[postgis-tickets] r14887 - style-only commit: remove trailing spaces
Sandro Santilli
strk at keybit.net
Wed May 11 01:38:33 PDT 2016
Author: strk
Date: 2016-05-11 01:38:33 -0700 (Wed, 11 May 2016)
New Revision: 14887
Modified:
trunk/topology/sql/export/gml.sql.in
Log:
style-only commit: remove trailing spaces
Modified: trunk/topology/sql/export/gml.sql.in
===================================================================
--- trunk/topology/sql/export/gml.sql.in 2016-05-11 07:21:53 UTC (rev 14886)
+++ trunk/topology/sql/export/gml.sql.in 2016-05-11 08:38:33 UTC (rev 14887)
@@ -1,5 +1,5 @@
-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---
+--
-- PostGIS - Spatial Types for PostgreSQL
-- http://postgis.net
--
@@ -105,7 +105,7 @@
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 @@
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 @@
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 @@
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 @@
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 @@
--{
--
--- API FUNCTION
+-- API FUNCTION
--
-- text AsGML(TopoGeometry, nsprefix, precision, options, visitedTable)
--
@@ -485,7 +485,7 @@
--{
--
--- API FUNCTION
+-- API FUNCTION
--
-- text AsGML(TopoGeometry, nsprefix, precision, options)
--
@@ -494,12 +494,12 @@
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 @@
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)
--{
More information about the postgis-tickets
mailing list