[GRASS-SVN] r66872 - in grass/branches/releasebranch_7_0: 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:34:12 PST 2015


Author: neteler
Date: 2015-11-20 03:34:12 -0800 (Fri, 20 Nov 2015)
New Revision: 66872

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

Modified: grass/branches/releasebranch_7_0/lib/gis/strings.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/gis/strings.c	2015-11-20 11:33:21 UTC (rev 66871)
+++ grass/branches/releasebranch_7_0/lib/gis/strings.c	2015-11-20 11:34:12 UTC (rev 66872)
@@ -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/branches/releasebranch_7_0/lib/python/temporal/temporal_algebra.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/temporal/temporal_algebra.py	2015-11-20 11:33:21 UTC (rev 66871)
+++ grass/branches/releasebranch_7_0/lib/python/temporal/temporal_algebra.py	2015-11-20 11:34:12 UTC (rev 66872)
@@ -1101,7 +1101,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))
@@ -2207,7 +2207,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/branches/releasebranch_7_0/lib/python/temporal/temporal_raster_base_algebra.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/temporal/temporal_raster_base_algebra.py	2015-11-20 11:33:21 UTC (rev 66871)
+++ grass/branches/releasebranch_7_0/lib/python/temporal/temporal_raster_base_algebra.py	2015-11-20 11:34:12 UTC (rev 66872)
@@ -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/branches/releasebranch_7_0/lib/vector/Vlib/cindex.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/vector/Vlib/cindex.c	2015-11-20 11:33:21 UTC (rev 66871)
+++ grass/branches/releasebranch_7_0/lib/vector/Vlib/cindex.c	2015-11-20 11:34:12 UTC (rev 66872)
@@ -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/branches/releasebranch_7_0/raster/r.in.xyz/r.in.xyz.html
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.in.xyz/r.in.xyz.html	2015-11-20 11:33:21 UTC (rev 66871)
+++ grass/branches/releasebranch_7_0/raster/r.in.xyz/r.in.xyz.html	2015-11-20 11:34:12 UTC (rev 66872)
@@ -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/branches/releasebranch_7_0/scripts/g.extension/g.extension.html
===================================================================
--- grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.html	2015-11-20 11:33:21 UTC (rev 66871)
+++ grass/branches/releasebranch_7_0/scripts/g.extension/g.extension.html	2015-11-20 11:34:12 UTC (rev 66872)
@@ -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