[postgis-tickets] r17371 - Fix various misspellings of "geometry"

Raul raul at rmr.ninja
Fri Mar 29 08:56:44 PDT 2019


Author: algunenano
Date: 2019-03-29 08:56:43 -0700 (Fri, 29 Mar 2019)
New Revision: 17371

Modified:
   trunk/doc/po/ja/reference_processing.xml.po
   trunk/doc/reference_accessor.xml
   trunk/doc/reference_editor.xml
   trunk/doc/reference_processing.xml
   trunk/extras/history_table/history_table.sql
   trunk/extras/ogc_test_suite/1_schema.sql
   trunk/liblwgeom/liblwgeom.h.in
   trunk/loader/README.pgsql2shp
   trunk/regress/core/sql-mm-compoundcurve.sql
Log:
Fix various misspellings of "geometry"

Patch by François Bonzon

Closes https://github.com/postgis/postgis/pull/389



Modified: trunk/doc/po/ja/reference_processing.xml.po
===================================================================
--- trunk/doc/po/ja/reference_processing.xml.po	2019-03-29 15:46:38 UTC (rev 17370)
+++ trunk/doc/po/ja/reference_processing.xml.po	2019-03-29 15:56:43 UTC (rev 17371)
@@ -2672,7 +2672,7 @@
 msgid ""
 "Returns a set of geometry_dump (geom,path) rows of all points that make up a "
 "geometry."
-msgstr "ジオメトリを作る全ての点のgometry_dump(geom,path)行の集合を返します。"
+msgstr "ジオメトリを作る全ての点のgeometry_dump(geom,path)行の集合を返します。"
 
 #. Tag: funcprototype
 #: reference_processing.xml:1021

Modified: trunk/doc/reference_accessor.xml
===================================================================
--- trunk/doc/reference_accessor.xml	2019-03-29 15:46:38 UTC (rev 17370)
+++ trunk/doc/reference_accessor.xml	2019-03-29 15:56:43 UTC (rev 17371)
@@ -2151,7 +2151,7 @@
 		<para>>Return the 1-based Nth geometry (face) if the geometry is a
 			POLYHEDRALSURFACE, POLYHEDRALSURFACEM.
 			Otherwise, return NULL.  This  returns the same answer as ST_GeometryN for Polyhedral Surfaces.
-				Using ST_GemoetryN is faster.</para>
+				Using ST_GeometryN is faster.</para>
 
 		<note>
 		  <para>Index is 1-based.</para>
@@ -2265,19 +2265,21 @@
 (3 rows)
 
 --Example circular string
-SELECT ST_AsText(ST_PointN(ST_GeomFromText('CIRCULARSTRING(1 2, 3 2, 1 2)'),2));
+SELECT ST_AsText(ST_PointN(ST_GeomFromText('CIRCULARSTRING(1 2, 3 2, 1 2)'), 2));
 
-st_astext
-----------
-POINT(3 2)
+ st_astext
+------------
+ POINT(3 2)
+(1 row)
 
-SELECT st_astext(f)
-FROM ST_GeometryFromtext('LINESTRING(0 0 0, 1 1 1, 2 2 2)') as g
-	,ST_PointN(g, -2) AS f -- 1 based index
+SELECT ST_AsText(f)
+FROM ST_GeomFromText('LINESTRING(0 0 0, 1 1 1, 2 2 2)') AS g
+  ,ST_PointN(g, -2) AS f; -- 1 based index
 
-st_astext
-----------
-"POINT Z (1 1 1)"
+    st_astext
+-----------------
+ POINT Z (1 1 1)
+(1 row)
 
 </programlisting>
 	  </refsection>

Modified: trunk/doc/reference_editor.xml
===================================================================
--- trunk/doc/reference_editor.xml	2019-03-29 15:46:38 UTC (rev 17370)
+++ trunk/doc/reference_editor.xml	2019-03-29 15:56:43 UTC (rev 17371)
@@ -1504,7 +1504,7 @@
 		<title>Description</title>
 
 		<para>
- Snaps the vertices and segments of a geometry
+ Snaps the vertices and segments of a geometry to
  another Geometry's vertices.
  A snap distance tolerance is used to control where snapping is performed.
   The result geometry is the input geometry with the vertices snapped.
@@ -1573,7 +1573,6 @@
       ( 51 150, 101 150, 76 175, 51 150 )),
       (( 151 100, 151 200, 176 175, 151 100 )))') As poly,
        ST_GeomFromText('LINESTRING (5 107, 54 84, 101 100)') As line
-
 	) As foo;
 
                              polysnapped
@@ -1601,7 +1600,6 @@
       ( 51 150, 101 150, 76 175, 51 150 )),
       (( 151 100, 151 200, 176 175, 151 100 )))') As poly,
        ST_GeomFromText('LINESTRING (5 107, 54 84, 101 100)') As line
-
 	) As foo;
 
                              polysnapped

Modified: trunk/doc/reference_processing.xml
===================================================================
--- trunk/doc/reference_processing.xml	2019-03-29 15:46:38 UTC (rev 17370)
+++ trunk/doc/reference_processing.xml	2019-03-29 15:56:43 UTC (rev 17371)
@@ -3603,11 +3603,11 @@
 		<para>Filters away vertex points based on their m-value. Returns a geometry with only
 			vertex points that have a m-value larger or equal to the min value and smaller or equal to
 			the max value. If max-value argument is left out only min value is considered. If fourth argument is left out the m-value
-			will not be in the resulting geoemtry. If resulting geometry have too few vertex points left for its geometry type an empty
-			geoemtry will be returned. In a geometry collection
+			will not be in the resulting geometry. If resulting geometry have too few vertex points left for its geometry type an empty
+			geometry will be returned. In a geometry collection
 			geometries without enough points will just be left out silently. If </para>
 		<para>This function is mainly intended to be used in conjunction with ST_SetEffectiveArea. ST_EffectiveArea sets the effective area
-			of a vertex in it's m-value. With ST_FilterByM it then is possible to get a simplified version of the geoemtry without any calculations, just by filtering</para>
+			of a vertex in it's m-value. With ST_FilterByM it then is possible to get a simplified version of the geometry without any calculations, just by filtering</para>
 
 		<note><para>There is a difference in what ST_SimplifyVW returns when not enough points meets the creterias compared to ST_FilterByM.
 				ST_SimplifyVW returns the geometry with enough points while ST_FilterByM returns an empty geometry</para></note>

Modified: trunk/extras/history_table/history_table.sql
===================================================================
--- trunk/extras/history_table/history_table.sql	2019-03-29 15:46:38 UTC (rev 17370)
+++ trunk/extras/history_table/history_table.sql	2019-03-29 15:56:43 UTC (rev 17371)
@@ -226,6 +226,6 @@
 
 /*TODO LIST:
 
-CREATE A FUNCTION THAT WILL DROP A CERTAIN HISTORIC TABLE AND REMOVE ITS ITENS FROM GEOMERTY_COLUMNS AND HISTORIC_INFORMATION
-CREATE A FUNCTION TO POPULATE ALL THE EXISTING RECORDS TO THE HISTORIC TABLE, AS A INSERT
-*/
\ No newline at end of file
+CREATE A FUNCTION THAT WILL DROP A CERTAIN HISTORIC TABLE AND REMOVE ITS ITEMS FROM GEOMETRY_COLUMNS AND HISTORIC_INFORMATION
+CREATE A FUNCTION TO POPULATE ALL THE EXISTING RECORDS TO THE HISTORIC TABLE, AS AN INSERT
+*/

Modified: trunk/extras/ogc_test_suite/1_schema.sql
===================================================================
--- trunk/extras/ogc_test_suite/1_schema.sql	2019-03-29 15:46:38 UTC (rev 17370)
+++ trunk/extras/ogc_test_suite/1_schema.sql	2019-03-29 15:56:43 UTC (rev 17371)
@@ -508,7 +508,7 @@
 -- POPULATE GEOMETRY AND FEATURE TABLES
 --
 -- *** ADAPTATION ALERT ***
--- This script DOES NOT make any inserts into a GEOMTERY_COLUMNS table/view.
+-- This script DOES NOT make any inserts into a GEOMETRY_COLUMNS table/view.
 -- Implementers should insert whatever makes this happen in their implementation
 -- below. Furthermore, the inserts below may be replaced by whatever mechanism
 -- may be provided by implementers to insert rows in feature tables such that

Modified: trunk/liblwgeom/liblwgeom.h.in
===================================================================
--- trunk/liblwgeom/liblwgeom.h.in	2019-03-29 15:46:38 UTC (rev 17370)
+++ trunk/liblwgeom/liblwgeom.h.in	2019-03-29 15:56:43 UTC (rev 17371)
@@ -2061,8 +2061,8 @@
 #define TWKB_BBOX 0x01 /* User wants bboxes */
 #define TWKB_SIZE 0x02 /* User wants sizes */
 #define TWKB_ID 0x04 /* User wants id */
-#define TWKB_NO_TYPE 0x10 /* No type because it is a sub geoemtry */
-#define TWKB_NO_ID 0x20 /* No ID because it is a subgeoemtry */
+#define TWKB_NO_TYPE 0x10 /* No type because it is a sub geometry */
+#define TWKB_NO_ID 0x20 /* No ID because it is a subgeometry */
 #define TWKB_DEFAULT_PRECISION 0 /* Aim for 1m (or ft) rounding by default */
 
 /*

Modified: trunk/loader/README.pgsql2shp
===================================================================
--- trunk/loader/README.pgsql2shp	2019-03-29 15:46:38 UTC (rev 17370)
+++ trunk/loader/README.pgsql2shp	2019-03-29 15:56:43 UTC (rev 17371)
@@ -53,8 +53,8 @@
               this  will reduce the likelihood of coordinate drift due to con-
               version to and from WKT format. Coordinate drifts will not occur
               with  PostGIS  1.0.0  and  newer  versions.  It will be slightly
-              faster, but might fail if any NON-gemetry column lacks a cast to
-              text.
+              faster, but might fail if any  NON-geometry  column lacks a cast
+              to text.
 
        -r     Raw mode. Do not drop the gid field, or escape column names.
 

Modified: trunk/regress/core/sql-mm-compoundcurve.sql
===================================================================
--- trunk/regress/core/sql-mm-compoundcurve.sql	2019-03-29 15:46:38 UTC (rev 17370)
+++ trunk/regress/core/sql-mm-compoundcurve.sql	2019-03-29 15:56:43 UTC (rev 17371)
@@ -159,10 +159,10 @@
                         2 0,
                         0 0))');
 
-SELECT 'astext01', ST_Astext(the_geom_2d) FROM public.compoundcurve;
-SELECT 'astext02', ST_Astext(the_geom_3dm) FROM public.compoundcurve;
-SELECT 'astext03', ST_Astext(the_geom_3dz) FROM public.compoundcurve;
-SELECT 'astext04', ST_Astext(the_geom_4d) FROM public.compoundcurve;
+SELECT 'astext01', ST_AsText(the_geom_2d) FROM public.compoundcurve;
+SELECT 'astext02', ST_AsText(the_geom_3dm) FROM public.compoundcurve;
+SELECT 'astext03', ST_AsText(the_geom_3dz) FROM public.compoundcurve;
+SELECT 'astext04', ST_AsText(the_geom_4d) FROM public.compoundcurve;
 
 SELECT 'asewkt01', ST_Asewkt(the_geom_2d) FROM public.compoundcurve;
 SELECT 'asewkt02', ST_Asewkt(the_geom_3dm) FROM public.compoundcurve;



More information about the postgis-tickets mailing list