]> granicus.if.org Git - postgis/commitdiff
Typos and argument names
authorSandro Santilli <strk@keybit.net>
Thu, 29 Dec 2011 07:40:05 +0000 (07:40 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 29 Dec 2011 07:40:05 +0000 (07:40 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8609 b70326c6-7e19-0410-871a-916f4a2858ee

topology/sql/populate.sql

index f861843f7a5db609c7d168d5875451d662fd6d98..12b36971f7bd5cc30a31acd0def01b97d83241a8 100644 (file)
@@ -28,7 +28,7 @@
 --
 -- AddNode(atopology, point)
 --
--- Add a node primitive to a topology and get it's identifier.
+-- Add a node primitive to a topology and get its identifier.
 -- Returns an existing node at the same location, if any.
 --
 -- When adding a _new_ node it checks for the existance of any
 -- The newly added nodes have no containing face.
 --
 -- 
-CREATE OR REPLACE FUNCTION topology.AddNode(varchar, geometry)
+CREATE OR REPLACE FUNCTION topology.AddNode(atopology varchar, apoint geometry)
        RETURNS int
 AS
 $$
 DECLARE
-       atopology ALIAS FOR $1;
-       apoint ALIAS FOR $2;
        nodeid int;
        rec RECORD;
 BEGIN
@@ -123,7 +121,7 @@ LANGUAGE 'plpgsql' VOLATILE;
 --
 -- AddEdge(atopology, line)
 --
--- Add an edge primitive to a topology and get it's identifier.
+-- Add an edge primitive to a topology and get its identifier.
 -- Edge endpoints will be added as nodes if missing.
 -- Returns an existing edge at the same location, if any.
 --
@@ -135,13 +133,11 @@ LANGUAGE 'plpgsql' VOLATILE;
 -- Calling code is expected to do further linking.
 --
 -- 
-CREATE OR REPLACE FUNCTION topology.AddEdge(varchar, geometry)
+CREATE OR REPLACE FUNCTION topology.AddEdge(atopology varchar, aline geometry)
        RETURNS int
 AS
 $$
 DECLARE
-       atopology ALIAS FOR $1;
-       aline ALIAS FOR $2;
        edgeid int;
        rec RECORD;
   ix geometry; 
@@ -302,7 +298,7 @@ LANGUAGE 'plpgsql' VOLATILE;
 --
 -- AddFace(atopology, poly, [<force_new>=true])
 --
--- Add a face primitive to a topology and get it's identifier.
+-- Add a face primitive to a topology and get its identifier.
 -- Returns an existing face at the same location, if any, unless
 -- true is passed as the force_new argument
 --