]> granicus.if.org Git - postgis/commitdiff
#848 Fix eror message for GetNodeByPoint, GetNodeByEdge
authorRegina Obe <lr@pcorp.us>
Sat, 26 Feb 2011 21:29:33 +0000 (21:29 +0000)
committerRegina Obe <lr@pcorp.us>
Sat, 26 Feb 2011 21:29:33 +0000 (21:29 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6870 b70326c6-7e19-0410-871a-916f4a2858ee

doc/extras_topology.xml
topology/sql/query/getedgebypoint.sql
topology/sql/query/getnodebypoint.sql

index 75d2cbe12834d04a7046f1bb261ca6f90d2f9fdd..ac39a866ac6ff49ec84953fb01e5a37fcd9279d4 100644 (file)
@@ -1009,7 +1009,7 @@ FROM ST_GeomFromEWKT('SRID=26986;POINT(227622.6 893843)') As geom;
 FROM ST_GeomFromEWKT('SRID=26986;POINT(227591.9 893900.4)') As geom;
 
 -- get error --
-ERROR:  Two or more edges founded</programlisting>
+ERROR:  Two or more edges found</programlisting>
           </refsection>
         
           <!-- Optionally add a "See Also" section -->
@@ -1069,7 +1069,7 @@ ERROR:  Two or more edges founded</programlisting>
  FROM ST_GeomFromEWKT('SRID=26986;POINT(227591.9 893900.4)') As geom;
  
  ----get error--
- ERROR:  Two or more nodes founded
+ ERROR:  Two or more nodes found
  </programlisting>
           </refsection>
         
index a896a8d8a505093f25dec5a02c29859c9d33cf8f..cf4030df84559db181a862240cc60ce4793dd508 100644 (file)
@@ -80,7 +80,7 @@ BEGIN
         WHEN NO_DATA_FOUND THEN
             idedge = 0;
         WHEN TOO_MANY_ROWS THEN
-            RAISE EXCEPTION 'Two or more edges founded';
+            RAISE EXCEPTION 'Two or more edges found';
     END;
 
        RETURN idedge;
index 35e247677ce229075b3f3927bbd078b0461b9d91..fb0931609dc10704d0c5fd96f3b93014b0c1f611 100644 (file)
@@ -77,7 +77,7 @@ BEGIN
         WHEN NO_DATA_FOUND THEN
             idnode = 0;
         WHEN TOO_MANY_ROWS THEN
-            RAISE EXCEPTION 'Two or more nodes founded';
+            RAISE EXCEPTION 'Two or more nodes found';
     END;
 
        RETURN idnode;