[GRASS-SVN] r66871 - in grass/trunk: lib/gis lib/python/temporal lib/vector/Vlib raster/r.in.xyz scripts/g.extension

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Nov 20 03:33:21 PST 2015


Author: neteler
Date: 2015-11-20 03:33:21 -0800 (Fri, 20 Nov 2015)
New Revision: 66871

Modified:
   grass/trunk/lib/gis/strings.c
   grass/trunk/lib/python/temporal/temporal_algebra.py
   grass/trunk/lib/python/temporal/temporal_raster_base_algebra.py
   grass/trunk/lib/vector/Vlib/cindex.c
   grass/trunk/raster/r.in.xyz/r.in.xyz.html
   grass/trunk/scripts/g.extension/g.extension.html
Log:
various typo fixed (trac #2803)

Modified: grass/trunk/lib/gis/strings.c
===================================================================
--- grass/trunk/lib/gis/strings.c	2015-11-20 07:43:28 UTC (rev 66870)
+++ grass/trunk/lib/gis/strings.c	2015-11-20 11:33:21 UTC (rev 66871)
@@ -206,7 +206,7 @@
 	return G_store(buffer);
 
     if (strlen(new_str) > strlen(old_str)) {
-	/* Count occurences of old_str */
+	/* Count occurrences of old_str */
 	count = 0;
 	len = strlen(old_str);
 	B = buffer;

Modified: grass/trunk/lib/python/temporal/temporal_algebra.py
===================================================================
--- grass/trunk/lib/python/temporal/temporal_algebra.py	2015-11-20 07:43:28 UTC (rev 66870)
+++ grass/trunk/lib/python/temporal/temporal_algebra.py	2015-11-20 11:33:21 UTC (rev 66871)
@@ -1102,7 +1102,7 @@
                 stds = dataset_factory(stds_type, id_input)
             else:
                 stds = dataset_factory(self.stdstype, id_input)
-            # Check for occurence of space time dataset.
+            # Check for occurrence of space time dataset.
             if stds.is_in_db(dbif=self.dbif) == False:
                 raise FatalError(_("Space time %s dataset <%s> not found") %
                     (stds.get_new_map_instance(None).get_type(), id_input))
@@ -2208,7 +2208,7 @@
                     id_input = input + "@" + self.mapset
                 # Create empty map dataset.
                 map_i = dataset_factory(self.maptype, id_input)
-                # Check for occurence of space time dataset.
+                # Check for occurrence of space time dataset.
                 if map_i.map_exists() == False:
                     raise FatalError(_("%s map <%s> not found in GRASS spatial database") %
                         (map_i.get_type(), id_input))

Modified: grass/trunk/lib/python/temporal/temporal_raster_base_algebra.py
===================================================================
--- grass/trunk/lib/python/temporal/temporal_raster_base_algebra.py	2015-11-20 07:43:28 UTC (rev 66870)
+++ grass/trunk/lib/python/temporal/temporal_raster_base_algebra.py	2015-11-20 11:33:21 UTC (rev 66871)
@@ -650,7 +650,7 @@
                     id_input = input + "@" + self.mapset
                 # Create empty map dataset.
                 map_i = dataset_factory(self.maptype, id_input)
-                # Check for occurence of space time dataset.
+                # Check for occurrence of space time dataset.
                 if map_i.map_exists() == False:
                     raise FatalError(_("%s map <%s> not found in GRASS spatial database") %
                         (map_i.get_type(), id_input))

Modified: grass/trunk/lib/vector/Vlib/cindex.c
===================================================================
--- grass/trunk/lib/vector/Vlib/cindex.c	2015-11-20 07:43:28 UTC (rev 66870)
+++ grass/trunk/lib/vector/Vlib/cindex.c	2015-11-20 11:33:21 UTC (rev 66871)
@@ -38,7 +38,7 @@
         G_fatal_error(_("Layer index out of range"));
 }
 
-/* search for first occurence of cat in cat index, starting at first */
+/* search for first occurrence of cat in cat index, starting at first */
 static int ci_search_cat(struct Cat_index *ci, int first, int cat)
 {
     int lo, hi, mid;

Modified: grass/trunk/raster/r.in.xyz/r.in.xyz.html
===================================================================
--- grass/trunk/raster/r.in.xyz/r.in.xyz.html	2015-11-20 07:43:28 UTC (rev 66870)
+++ grass/trunk/raster/r.in.xyz/r.in.xyz.html	2015-11-20 11:33:21 UTC (rev 66871)
@@ -197,7 +197,7 @@
 <h3>Import of x,y,string data</h3>
 
 <em>r.in.xyz</em> is expecting numeric values as z column. In order to 
-perform a occurence count operation even on x,y data with non-numeric 
+perform a occurrence count operation even on x,y data with non-numeric 
 attribute(s), the data can be imported using either the x or y 
 coordinate as a fake z column for <b>method</b>=<tt>n</tt> (count 
 number of points per grid cell), the z values are ignored anyway.

Modified: grass/trunk/scripts/g.extension/g.extension.html
===================================================================
--- grass/trunk/scripts/g.extension/g.extension.html	2015-11-20 07:43:28 UTC (rev 66870)
+++ grass/trunk/scripts/g.extension/g.extension.html	2015-11-20 11:33:21 UTC (rev 66871)
@@ -14,7 +14,7 @@
 <li>Source code (mostly written in C programming language; may also be written
     in C++, Fortran or other languages): while on MS-Windows systems the requested
     GRASS GIS extension is downloaded pre-compiled from the GRASS GIS site, on Unix
-    based systems the installation is preceeded by the automated download of the
+    based systems the installation is preceded by the automated download of the
     extension's source code along with subsequent compilation and installation.
     This requires a compiler environment to be present on the user's computer.</li>
 </ul>



More information about the grass-commit mailing list