فهرست منبع

Fix spelling in comments, esp. in wxGUI code (#1357)

Fixes come from Mega-Linter. Manually picked for PR.
Vaclav Petras 4 سال پیش
والد
کامیت
c6e81b98e8
54فایلهای تغییر یافته به همراه87 افزوده شده و 87 حذف شده
  1. 1 1
      README.md
  2. 1 1
      doc/gui/wxpython/example/README
  3. 4 4
      doc/vector/TODO
  4. 1 1
      gui/wxpython/animation/provider.py
  5. 1 1
      gui/wxpython/animation/utils.py
  6. 1 1
      gui/wxpython/core/giface.py
  7. 3 3
      gui/wxpython/core/render.py
  8. 2 2
      gui/wxpython/core/utils.py
  9. 4 4
      gui/wxpython/datacatalog/tree.py
  10. 1 1
      gui/wxpython/docs/wxgui_sphinx/_static/pygrass.css
  11. 1 1
      gui/wxpython/gcp/mapdisplay.py
  12. 1 1
      gui/wxpython/gmodeler/dialogs.py
  13. 2 2
      gui/wxpython/gui_core/dialogs.py
  14. 1 1
      gui/wxpython/gui_core/forms.py
  15. 1 1
      gui/wxpython/gui_core/gselect.py
  16. 3 3
      gui/wxpython/gui_core/mapdisp.py
  17. 1 1
      gui/wxpython/gui_core/preferences.py
  18. 1 1
      gui/wxpython/gui_core/prompt.py
  19. 1 1
      gui/wxpython/gui_core/widgets.py
  20. 2 2
      gui/wxpython/iclass/dialogs.py
  21. 2 2
      gui/wxpython/iclass/frame.py
  22. 2 2
      gui/wxpython/iclass/statistics.py
  23. 1 1
      gui/wxpython/image2target/ii2t_gis_set.py
  24. 1 1
      gui/wxpython/image2target/ii2t_mapdisplay.py
  25. 1 1
      gui/wxpython/lmgr/frame.py
  26. 2 2
      gui/wxpython/lmgr/layertree.py
  27. 1 1
      gui/wxpython/mapdisp/frame.py
  28. 3 3
      gui/wxpython/mapdisp/main.py
  29. 1 1
      gui/wxpython/mapdisp/statusbar.py
  30. 3 3
      gui/wxpython/mapswipe/mapwindow.py
  31. 1 1
      gui/wxpython/mapwin/base.py
  32. 1 1
      gui/wxpython/mapwin/decorations.py
  33. 1 1
      gui/wxpython/modules/histogram.py
  34. 1 1
      gui/wxpython/modules/import_export.py
  35. 1 1
      gui/wxpython/modules/mcalc_builder.py
  36. 1 1
      gui/wxpython/photo2image/ip2i_mapdisplay.py
  37. 1 1
      gui/wxpython/psmap/frame.py
  38. 1 1
      gui/wxpython/rlisetup/wizard.py
  39. 3 3
      gui/wxpython/startup/guiutils.py
  40. 1 1
      gui/wxpython/tplot/frame.py
  41. 3 3
      gui/wxpython/vdigit/mapwindow.py
  42. 1 1
      gui/wxpython/vdigit/wxdigit.py
  43. 1 1
      gui/wxpython/vnet/vnet_core.py
  44. 1 1
      gui/wxpython/vnet/vnet_data.py
  45. 1 1
      gui/wxpython/web_services/dialogs.py
  46. 1 1
      gui/wxpython/web_services/widgets.py
  47. 1 1
      imagery/i.aster.toar/i.aster.toar.html
  48. 1 1
      imagery/i.gensigset/subcluster.c
  49. 1 1
      imagery/i.smap/solve.c
  50. 8 8
      lib/db/dbmi_base/column.c
  51. 2 2
      lib/db/dbmi_base/table.c
  52. 1 1
      lib/gis/make_loc.c
  53. 1 1
      lib/gis/proj3.c
  54. 2 2
      lib/imagery/iscatt_core.c

+ 1 - 1
README.md

@@ -32,7 +32,7 @@ Yes, you should really read [INSTALL](INSTALL). In addition, there are detailed
 
 
 ## Docker
 ## Docker
 
 
-Build a docker image using the downloaded source code (run this in the directory 
+Build a docker image using the downloaded source code (run this in the directory
 containing the source code):
 containing the source code):
 
 
 ```
 ```

+ 1 - 1
doc/gui/wxpython/example/README

@@ -51,7 +51,7 @@ a few more things to be done.
       <handler>OnExample</handler>
       <handler>OnExample</handler>
     </menuitem>
     </menuitem>
     
     
-6. Add folowing event handler to class GMFrame in ./gui/wxpython/lmgr/frame.py:
+6. Add following event handler to class GMFrame in ./gui/wxpython/lmgr/frame.py:
 
 
     def OnExample(self, event):
     def OnExample(self, event):
         """!Launch ExampleTool"""
         """!Launch ExampleTool"""

+ 4 - 4
doc/vector/TODO

@@ -52,7 +52,7 @@ vectors. The geometry of GRASS vectors (coor file) is never loaded
 whole to the memory. OTOH the support structures (topology and spatial
 whole to the memory. OTOH the support structures (topology and spatial
 index) are loaded to memory on runtime. It should be possible to use
 index) are loaded to memory on runtime. It should be possible to use
 files for topology and spatial index also on runtime and that way
 files for topology and spatial index also on runtime and that way
-decrease the memory occupied by running module (practicaly to
+decrease the memory occupied by running module (practically to
 zero). The speed will decrease a bit but not significantly because
 zero). The speed will decrease a bit but not significantly because
 files are usually cached by system.
 files are usually cached by system.
 
 
@@ -97,7 +97,7 @@ Remove bounding box from support structures (?)
 The vector structures (P_line, P_area, P_isle) store bounding box in
 The vector structures (P_line, P_area, P_isle) store bounding box in
 N,S,E,W,T,B (doubles). Especially in case of element type GV_POINT the
 N,S,E,W,T,B (doubles). Especially in case of element type GV_POINT the
 bounding box occupies a lot of space (2-3 times more than the point
 bounding box occupies a lot of space (2-3 times more than the point
-itself). I am not sure if this is realy good idea, it is necesssary to
+itself). I am not sure if this is really good idea, it is necesssary to
 valutate also how often Vect_line_box() is called and the impact of
 valutate also how often Vect_line_box() is called and the impact of
 the necessity to calculate always the box on the fly (when it is not
 the necessity to calculate always the box on the fly (when it is not
 stored in the structure) which can be time consuming for example for
 stored in the structure) which can be time consuming for example for
@@ -174,7 +174,7 @@ RDBMS. I think that either everything must be stored in RDBMS
 that data are 'too distant' when RDBMS is used with geometry in file.
 that data are 'too distant' when RDBMS is used with geometry in file.
 
 
 I think that more work should be done on the drivers which are using
 I think that more work should be done on the drivers which are using
-embeded databases stored in files (SQLite,MySQL,DBF) with scope to
+embedded databases stored in files (SQLite,MySQL,DBF) with scope to
 reach similar functionality (functions, queries) which are in true
 reach similar functionality (functions, queries) which are in true
 RDBMS without penalty of communication with server. It should be also
 RDBMS without penalty of communication with server. It should be also
 considered the possibility to change the default location of database
 considered the possibility to change the default location of database
@@ -242,7 +242,7 @@ v.select.
 v.pack/v.unpack
 v.pack/v.unpack
 ---------------
 ---------------
 Write it. New modules to pack/unpack a vector to/from single file
 Write it. New modules to pack/unpack a vector to/from single file
-(probably tar). I am not sure about format. Originaly I was thinking
+(probably tar). I am not sure about format. Originally I was thinking
 about ASCII+DBF as it can be read also without GRASS but ASCII and DBF
 about ASCII+DBF as it can be read also without GRASS but ASCII and DBF
 can lose precision and DBF has other limitations. It whould be
 can lose precision and DBF has other limitations. It whould be
 probably better to use copy of 'coor' file and attributes written to
 probably better to use copy of 'coor' file and attributes written to

+ 1 - 1
gui/wxpython/animation/provider.py

@@ -315,7 +315,7 @@ class BitmapProvider:
 
 
 
 
 class BitmapRenderer:
 class BitmapRenderer:
-    """Class which renderes 2D and 3D images to files."""
+    """Class which renders 2D and 3D images to files."""
 
 
     def __init__(self, mapFilesPool, tempDir,
     def __init__(self, mapFilesPool, tempDir,
                  imageWidth, imageHeight):
                  imageWidth, imageHeight):

+ 1 - 1
gui/wxpython/animation/utils.py

@@ -246,7 +246,7 @@ def ComputeScaledRect(sourceSize, destSize):
 
 
 
 
 def RenderText(text, font, bgcolor, fgcolor):
 def RenderText(text, font, bgcolor, fgcolor):
-    """Renderes text with given font to bitmap."""
+    """Renders text with given font to bitmap."""
     dc = wx.MemoryDC(EmptyBitmap(20, 20))
     dc = wx.MemoryDC(EmptyBitmap(20, 20))
     dc.SetFont(font)
     dc.SetFont(font)
     w, h = dc.GetTextExtent(text)
     w, h = dc.GetTextExtent(text)

+ 1 - 1
gui/wxpython/core/giface.py

@@ -39,7 +39,7 @@ class Notification:
 
 
 
 
 class Layer(object):
 class Layer(object):
-    """Layer is generaly usable layer object.
+    """Layer is generally usable layer object.
 
 
     .. note::
     .. note::
         Currently without specifying the interface.
         Currently without specifying the interface.

+ 3 - 3
gui/wxpython/core/render.py

@@ -783,7 +783,7 @@ class Map(object):
         :param gisrc: alternative gisrc (used eg. by georectifier)
         :param gisrc: alternative gisrc (used eg. by georectifier)
         """
         """
         Debug.msg(1, "Map.__init__(): gisrc=%s" % gisrc)
         Debug.msg(1, "Map.__init__(): gisrc=%s" % gisrc)
-        # region/extent settigns
+        # region/extent settings
         self.wind = dict()  # WIND settings (wind file)
         self.wind = dict()  # WIND settings (wind file)
         self.region = dict()  # region settings (g.region)
         self.region = dict()  # region settings (g.region)
         self.width = 640    # map width
         self.width = 640    # map width
@@ -1270,7 +1270,7 @@ class Map(object):
         """Creates final image composite
         """Creates final image composite
 
 
         This function can conditionaly use high-level tools, which
         This function can conditionaly use high-level tools, which
-        should be avaliable in wxPython library
+        should be available in wxPython library
 
 
         :param force: force rendering
         :param force: force rendering
         :param windres: use region resolution (True) otherwise display
         :param windres: use region resolution (True) otherwise display
@@ -1643,5 +1643,5 @@ class Map(object):
         self.renderMgr.RenderOverlays(force)
         self.renderMgr.RenderOverlays(force)
 
 
     def AbortAllThreads(self):
     def AbortAllThreads(self):
-        """Abort all layers threads e. g. donwloading data"""
+        """Abort all layers threads e. g. downloading data"""
         self.renderMgr.Abort()
         self.renderMgr.Abort()

+ 2 - 2
gui/wxpython/core/utils.py

@@ -632,7 +632,7 @@ def GetColorTables():
 
 
 
 
 def _getGDALFormats():
 def _getGDALFormats():
-    """Get dictionary of avaialble GDAL drivers"""
+    """Get dictionary of available GDAL drivers"""
     try:
     try:
         ret = grass.read_command('r.in.gdal',
         ret = grass.read_command('r.in.gdal',
                                  quiet=True,
                                  quiet=True,
@@ -644,7 +644,7 @@ def _getGDALFormats():
 
 
 
 
 def _getOGRFormats():
 def _getOGRFormats():
-    """Get dictionary of avaialble OGR drivers"""
+    """Get dictionary of available OGR drivers"""
     try:
     try:
         ret = grass.read_command('v.in.ogr',
         ret = grass.read_command('v.in.ogr',
                                  quiet=True,
                                  quiet=True,

+ 4 - 4
gui/wxpython/datacatalog/tree.py

@@ -847,7 +847,7 @@ class DataCatalogTree(TreeView):
         return grassdbItem[0], locationItem[0], mapsetItem[0]
         return grassdbItem[0], locationItem[0], mapsetItem[0]
 
 
     def OnGetItemImage(self, index, which=wx.TreeItemIcon_Normal, column=0):
     def OnGetItemImage(self, index, which=wx.TreeItemIcon_Normal, column=0):
-        """Overriden method to return image for each item."""
+        """Overridden method to return image for each item."""
         node = self._model.GetNodeByIndex(index)
         node = self._model.GetNodeByIndex(index)
         try:
         try:
             return self._iconTypes.index(node.data['type'])
             return self._iconTypes.index(node.data['type'])
@@ -855,8 +855,8 @@ class DataCatalogTree(TreeView):
             return 0
             return 0
 
 
     def OnGetItemTextColour(self, index):
     def OnGetItemTextColour(self, index):
-        """Overriden method to return colour for each item.
-           Used to distinquish lock and ownership on mapsets."""
+        """Overridden method to return colour for each item.
+           Used to distinguish lock and ownership on mapsets."""
         node = self._model.GetNodeByIndex(index)
         node = self._model.GetNodeByIndex(index)
         if node.data['type'] == 'mapset':
         if node.data['type'] == 'mapset':
             if node.data['current']:
             if node.data['current']:
@@ -866,7 +866,7 @@ class DataCatalogTree(TreeView):
         return wx.SystemSettings.GetColour(wx.SYS_COLOUR_WINDOWTEXT)
         return wx.SystemSettings.GetColour(wx.SYS_COLOUR_WINDOWTEXT)
 
 
     def OnGetItemFont(self, index):
     def OnGetItemFont(self, index):
-        """Overriden method to return font for each item.
+        """Overridden method to return font for each item.
            Used to highlight current db/loc/mapset."""
            Used to highlight current db/loc/mapset."""
         node = self._model.GetNodeByIndex(index)
         node = self._model.GetNodeByIndex(index)
         font = self.GetFont()
         font = self.GetFont()

+ 1 - 1
gui/wxpython/docs/wxgui_sphinx/_static/pygrass.css

@@ -1,7 +1,7 @@
 /* GRASS documentation site style sheet
 /* GRASS documentation site style sheet
  *
  *
  * send improvements to GRASS Developers list
  * send improvements to GRASS Developers list
- * 
+ *
  *  (eg how to reach the same result on netscape, mozilla konqueror?)
  *  (eg how to reach the same result on netscape, mozilla konqueror?)
  *
  *
  * Fonts:
  * Fonts:

+ 1 - 1
gui/wxpython/gcp/mapdisplay.py

@@ -230,7 +230,7 @@ class MapFrame(SingleMapFrame):
         self.statusbarManager.Update()
         self.statusbarManager.Update()
 
 
     def _setUpMapWindow(self, mapWindow):
     def _setUpMapWindow(self, mapWindow):
-        # TODO: almost the smae implementation as for MapFrameBase (only names differ)
+        # TODO: almost the same implementation as for MapFrameBase (only names differ)
         # enable or disable zoom history tool
         # enable or disable zoom history tool
         mapWindow.zoomHistoryAvailable.connect(
         mapWindow.zoomHistoryAvailable.connect(
             lambda:
             lambda:

+ 1 - 1
gui/wxpython/gmodeler/dialogs.py

@@ -1056,7 +1056,7 @@ class ItemListCtrl(ModelListCtrl):
         model.Normalize()
         model.Normalize()
         self.Populate(model.GetItems(objType=ModelAction))
         self.Populate(model.GetItems(objType=ModelAction))
 
 
-        # re-selected originaly selected item
+        # re-selected originally selected item
         for item in itemsToSelect:
         for item in itemsToSelect:
             self.SetItemState(
             self.SetItemState(
                 item,
                 item,

+ 2 - 2
gui/wxpython/gui_core/dialogs.py

@@ -1284,7 +1284,7 @@ class GroupDialog(wx.Dialog):
                           read=True, flags='sg').splitlines()
                           read=True, flags='sg').splitlines()
 
 
     def ShowResult(self, group, returnCode, create):
     def ShowResult(self, group, returnCode, create):
-        """Show if operation was successfull."""
+        """Show if operation was successful."""
         group += '@' + grass.gisenv()['MAPSET']
         group += '@' + grass.gisenv()['MAPSET']
         if returnCode is None:
         if returnCode is None:
             label = _("No changes to apply in group <%s>.") % group
             label = _("No changes to apply in group <%s>.") % group
@@ -1713,7 +1713,7 @@ class MapLayersDialogForGroups(MapLayersDialogBase):
         return [_('raster'), ]
         return [_('raster'), ]
 
 
     def _selectAll(self):
     def _selectAll(self):
-        """Could be overriden"""
+        """Could be overridden"""
         return False
         return False
 
 
     def _fullyQualifiedNames(self):
     def _fullyQualifiedNames(self):

+ 1 - 1
gui/wxpython/gui_core/forms.py

@@ -505,7 +505,7 @@ class TaskFrame(wx.Frame):
 
 
         guisizer = wx.BoxSizer(wx.VERTICAL)
         guisizer = wx.BoxSizer(wx.VERTICAL)
 
 
-        # set apropriate output window
+        # set appropriate output window
         if self.parent:
         if self.parent:
             self.standalone = False
             self.standalone = False
         else:
         else:

+ 1 - 1
gui/wxpython/gui_core/gselect.py

@@ -887,7 +887,7 @@ class VectorDBInfo:
         return self.layers[layer]['table']
         return self.layers[layer]['table']
 
 
     def GetDbSettings(self, layer):
     def GetDbSettings(self, layer):
-        """Get database settins
+        """Get database settings
 
 
         :param layer: layer number
         :param layer: layer number
 
 

+ 3 - 3
gui/wxpython/gui_core/mapdisp.py

@@ -40,7 +40,7 @@ class MapFrameBase(wx.Frame):
     or override
     or override
     GetProperty(), SetProperty() and HasProperty() methods.
     GetProperty(), SetProperty() and HasProperty() methods.
 
 
-    Several methods has to be overriden or
+    Several methods has to be overridden or
     \c NotImplementedError("MethodName") will be raised.
     \c NotImplementedError("MethodName") will be raised.
 
 
     If derived class enables and disables auto-rendering,
     If derived class enables and disables auto-rendering,
@@ -48,7 +48,7 @@ class MapFrameBase(wx.Frame):
 
 
     It is expected that derived class will call _setUpMapWindow().
     It is expected that derived class will call _setUpMapWindow().
 
 
-    Derived class can has one or more map windows (and map renderes)
+    Derived class can has one or more map windows (and map renders)
     but implementation of MapFrameBase expects that one window and
     but implementation of MapFrameBase expects that one window and
     one map will be current.
     one map will be current.
     Current instances of map window and map renderer should be returned
     Current instances of map window and map renderer should be returned
@@ -487,7 +487,7 @@ class DoubleMapFrame(MapFrameBase):
 
 
     .. todo:
     .. todo:
         Use it in GCP manager (probably changes to both DoubleMapFrame
         Use it in GCP manager (probably changes to both DoubleMapFrame
-        and GCP MapFrame will be neccessary).
+        and GCP MapFrame will be necessary).
     """
     """
 
 
     def __init__(self, parent=None, id=wx.ID_ANY, title=None,
     def __init__(self, parent=None, id=wx.ID_ANY, title=None,

+ 1 - 1
gui/wxpython/gui_core/preferences.py

@@ -575,7 +575,7 @@ class PreferencesDialog(PreferencesBaseDialog):
                       pos=(row, 1))
                       pos=(row, 1))
         gridSizer.AddGrowableCol(0)
         gridSizer.AddGrowableCol(0)
         #
         #
-        # appearence
+        # appearance
         #
         #
         box = StaticBox(
         box = StaticBox(
             parent=panel,
             parent=panel,

+ 1 - 1
gui/wxpython/gui_core/prompt.py

@@ -313,7 +313,7 @@ class GPromptSTC(GPrompt, wx.stc.StyledTextCtrl):
         # update also traced commands
         # update also traced commands
         self.commands.append(cmd)
         self.commands.append(cmd)
 
 
-        # keep command history to a managable size
+        # keep command history to a manageable size
         if len(self.cmdbuffer) > 200:
         if len(self.cmdbuffer) > 200:
             del self.cmdbuffer[0]
             del self.cmdbuffer[0]
         self.cmdindex = len(self.cmdbuffer)
         self.cmdindex = len(self.cmdbuffer)

+ 1 - 1
gui/wxpython/gui_core/widgets.py

@@ -540,7 +540,7 @@ class StaticWrapText(GenStaticText):
         self.Bind(wx.EVT_SIZE, self.OnSize)
         self.Bind(wx.EVT_SIZE, self.OnSize)
 
 
     def DoGetBestSize(self):
     def DoGetBestSize(self):
-        """Overriden method which reports widget's best size."""
+        """Overridden method which reports widget's best size."""
         if not self.init:
         if not self.init:
             self.init = True
             self.init = True
             self._updateLabel()
             self._updateLabel()

+ 2 - 2
gui/wxpython/iclass/dialogs.py

@@ -372,7 +372,7 @@ class IClassCategoryManagerDialog(wx.Dialog):
 class CategoryListCtrl(ListCtrl,
 class CategoryListCtrl(ListCtrl,
                        listmix.ListCtrlAutoWidthMixin,
                        listmix.ListCtrlAutoWidthMixin,
                        listmix.TextEditMixin):
                        listmix.TextEditMixin):
-    """Widget for controling list of classes (categories).
+    """Widget for controlling list of classes (categories).
 
 
     CategoryListCtrl updates choice in mapwindow and removes raster map
     CategoryListCtrl updates choice in mapwindow and removes raster map
     when deleting class (category).
     when deleting class (category).
@@ -582,7 +582,7 @@ class CategoryListCtrl(ListCtrl,
 
 
 
 
 def ContrastColor(color):
 def ContrastColor(color):
-    """Decides which value shoud have text to be contrast with backgroud color
+    """Decides which value shoud have text to be contrast with background color
         (bright bg -> black, dark bg -> white)
         (bright bg -> black, dark bg -> white)
 
 
     .. todo::
     .. todo::

+ 2 - 2
gui/wxpython/iclass/frame.py

@@ -1136,7 +1136,7 @@ class IClassMapFrame(DoubleMapFrame):
         dlg.Destroy()
         dlg.Destroy()
 
 
     def InitStatistics(self):
     def InitStatistics(self):
-        """Initialize variables and c structures neccessary for
+        """Initialize variables and c structures necessary for
         computing statistics.
         computing statistics.
         """
         """
         self.g = {'group': None, 'subgroup': None}
         self.g = {'group': None, 'subgroup': None}
@@ -1291,7 +1291,7 @@ class MapManager:
     def __init__(self, frame, mapWindow, Map):
     def __init__(self, frame, mapWindow, Map):
         """
         """
 
 
-        It is expected that \a mapWindow is conected with \a Map.
+        It is expected that \a mapWindow is connected with \a Map.
 
 
         :param frame: application main window
         :param frame: application main window
         :param mapWindow: map window instance
         :param mapWindow: map window instance

+ 2 - 2
gui/wxpython/iclass/statistics.py

@@ -78,7 +78,7 @@ class StatisticsData:
 
 
 
 
 class Statistics:
 class Statistics:
-    """Statistis conected to one class (category).
+    """Statistis connected to one class (category).
 
 
     It is Python counterpart of similar C structure.
     It is Python counterpart of similar C structure.
     But it adds some attributes or features used in wxIClass.
     But it adds some attributes or features used in wxIClass.
@@ -183,7 +183,7 @@ class Statistics:
 
 
 
 
 class BandStatistics:
 class BandStatistics:
-    """Statistis conected to one band within class (category).
+    """Statistis connected to one band within class (category).
 
 
     :class:`Statistics`
     :class:`Statistics`
     """
     """

+ 1 - 1
gui/wxpython/image2target/ii2t_gis_set.py

@@ -566,7 +566,7 @@ class GRASSStartup(wx.Frame):
     def ImportFile(self, filePath):
     def ImportFile(self, filePath):
         """Tries to import file as vector or raster.
         """Tries to import file as vector or raster.
 
 
-        If successfull sets default region from imported map.
+        If successful sets default region from imported map.
         """
         """
         RunCommand('db.connect', flags='c')
         RunCommand('db.connect', flags='c')
         mapName = os.path.splitext(os.path.basename(filePath))[0]
         mapName = os.path.splitext(os.path.basename(filePath))[0]

+ 1 - 1
gui/wxpython/image2target/ii2t_mapdisplay.py

@@ -230,7 +230,7 @@ class MapFrame(SingleMapFrame):
         self.statusbarManager.Update()
         self.statusbarManager.Update()
 
 
     def _setUpMapWindow(self, mapWindow):
     def _setUpMapWindow(self, mapWindow):
-        # TODO: almost the smae implementation as for MapFrameBase (only names differ)
+        # TODO: almost the same implementation as for MapFrameBase (only names differ)
         # enable or disable zoom history tool
         # enable or disable zoom history tool
         mapWindow.zoomHistoryAvailable.connect(
         mapWindow.zoomHistoryAvailable.connect(
             lambda:
             lambda:

+ 1 - 1
gui/wxpython/lmgr/frame.py

@@ -2227,7 +2227,7 @@ class GMFrame(wx.Frame):
             self.GetMapDisplay().GetWindow().UpdateMap()
             self.GetMapDisplay().GetWindow().UpdateMap()
 
 
     def OnMapCreated(self, name, ltype, add=None):
     def OnMapCreated(self, name, ltype, add=None):
-        """Decides wheter the map should be added to layer tree."""
+        """Decides whether the map should be added to layer tree."""
         if add is None:
         if add is None:
             # add new map into layer if globally enabled
             # add new map into layer if globally enabled
             if UserSettings.Get(group='cmd',
             if UserSettings.Get(group='cmd',

+ 2 - 2
gui/wxpython/lmgr/layertree.py

@@ -317,7 +317,7 @@ class LayerTree(treemixin.DragAndDrop, CT.CustomTreeCtrl):
     def GetSelections(self):
     def GetSelections(self):
         """Returns a list of selected items.
         """Returns a list of selected items.
 
 
-        This method is copied from customtreecontrol and overriden because
+        This method is copied from customtreecontrol and overridden because
         with some version wx (?) multiple selection doesn't work.
         with some version wx (?) multiple selection doesn't work.
         Probably it is caused by another GetSelections method in treemixin.DragAndDrop?
         Probably it is caused by another GetSelections method in treemixin.DragAndDrop?
         """
         """
@@ -1886,7 +1886,7 @@ class LayerTree(treemixin.DragAndDrop, CT.CustomTreeCtrl):
             self.OnDrop(dropTarget, self._dragItem)
             self.OnDrop(dropTarget, self._dragItem)
 
 
     def OnDrop(self, dropTarget, dragItem):
     def OnDrop(self, dropTarget, dragItem):
-        # save everthing associated with item to drag
+        # save everything associated with item to drag
         try:
         try:
             old = dragItem  # make sure this member exists
             old = dragItem  # make sure this member exists
         except:
         except:

+ 1 - 1
gui/wxpython/mapdisp/frame.py

@@ -1430,7 +1430,7 @@ class MapFrame(SingleMapFrame):
 
 
     def SetProperties(self, render=False, mode=0, showCompExtent=False,
     def SetProperties(self, render=False, mode=0, showCompExtent=False,
                       constrainRes=False, projection=False, alignExtent=True):
                       constrainRes=False, projection=False, alignExtent=True):
-        """Set properies of map display window"""
+        """Set properties of map display window"""
         self.mapWindowProperties.autoRender = render
         self.mapWindowProperties.autoRender = render
         if self.statusbarManager:
         if self.statusbarManager:
             self.statusbarManager.SetMode(mode)
             self.statusbarManager.SetMode(mode)

+ 3 - 3
gui/wxpython/mapdisp/main.py

@@ -82,8 +82,8 @@ class DMonMap(Map):
         self.cmdfile = cmdfile
         self.cmdfile = cmdfile
 
 
         # list of layers for rendering added from cmd file
         # list of layers for rendering added from cmd file
-        # TODO temporary solution, layer managment by different tools in GRASS
-        # should be resovled
+        # TODO temporary solution, layer management by different tools in GRASS
+        # should be resolved
         self.ownedLayers = []
         self.ownedLayers = []
         self.oldOverlays = []
         self.oldOverlays = []
 
 
@@ -576,7 +576,7 @@ class MapApp(wx.App):
         # the check below disabled, it's too much invasive to call
         # the check below disabled, it's too much invasive to call
         # g.gisenv in the watcher...
         # g.gisenv in the watcher...
         # try:
         # try:
-        # GISBASE and other system enviromental variables can not be used
+        # GISBASE and other system environmental variables can not be used
         # since the process inherited them from GRASS
         # since the process inherited them from GRASS
         # raises exception when vaiable does not exists
         # raises exception when vaiable does not exists
         # grass.gisenv()['GISDBASE']
         # grass.gisenv()['GISDBASE']

+ 1 - 1
gui/wxpython/mapdisp/statusbar.py

@@ -953,7 +953,7 @@ class SbCoordinates(SbTextItem):
         """Show the last map window coordinates.
         """Show the last map window coordinates.
 
 
         .. todo::
         .. todo::
-            remove last EN call and use coordinates comming from signal
+            remove last EN call and use coordinates coming from signal
         """
         """
         precision = int(UserSettings.Get(group='projection', key='format',
         precision = int(UserSettings.Get(group='projection', key='format',
                                          subkey='precision'))
                                          subkey='precision'))

+ 3 - 3
gui/wxpython/mapswipe/mapwindow.py

@@ -78,7 +78,7 @@ class SwipeBufferedWindow(BufferedMapWindow):
         self._RaiseMouseEvent(event, EVT_MY_MOTION)
         self._RaiseMouseEvent(event, EVT_MY_MOTION)
 
 
     def GetClientSize(self):
     def GetClientSize(self):
-        """Overriden method which returns simulated window size.
+        """Overridden method which returns simulated window size.
         """
         """
         if self._mode == 'swipe':
         if self._mode == 'swipe':
             return self.specialSize
             return self.specialSize
@@ -86,7 +86,7 @@ class SwipeBufferedWindow(BufferedMapWindow):
             return super(SwipeBufferedWindow, self).GetClientSize()
             return super(SwipeBufferedWindow, self).GetClientSize()
 
 
     def SetClientSize(self, size):
     def SetClientSize(self, size):
-        """Overriden method which sets simulated window size.
+        """Overridden method which sets simulated window size.
         """
         """
         Debug.msg(3, "SwipeBufferedWindow.SetClientSize(): size = %s" % size)
         Debug.msg(3, "SwipeBufferedWindow.SetClientSize(): size = %s" % size)
         self.specialSize = size
         self.specialSize = size
@@ -181,7 +181,7 @@ class SwipeBufferedWindow(BufferedMapWindow):
                                  'active': True}
                                  'active': True}
 
 
     def MouseDraw(self, pdc=None, begin=None, end=None):
     def MouseDraw(self, pdc=None, begin=None, end=None):
-        """Overriden method to recompute coordinates back to original values
+        """Overridden method to recompute coordinates back to original values
         so that e.g. drawing of zoom box is done properly"""
         so that e.g. drawing of zoom box is done properly"""
         Debug.msg(5, "SwipeBufferedWindow.MouseDraw()")
         Debug.msg(5, "SwipeBufferedWindow.MouseDraw()")
 
 

+ 1 - 1
gui/wxpython/mapwin/base.py

@@ -214,7 +214,7 @@ class MapWindowBase(object):
         @depreciated This method is depreciated. Use Signals or drawing API
         @depreciated This method is depreciated. Use Signals or drawing API
         instead. Signals do not cover all events but new Signals can be added
         instead. Signals do not cover all events but new Signals can be added
         when needed consider also adding generic signal. However, more
         when needed consider also adding generic signal. However, more
-        interesing and useful is higher level API to create objects, graphics etc.
+        interesting and useful is higher level API to create objects, graphics etc.
 
 
         Call event.Skip() in handler to allow default processing in MapWindow.
         Call event.Skip() in handler to allow default processing in MapWindow.
 
 

+ 1 - 1
gui/wxpython/mapwin/decorations.py

@@ -270,7 +270,7 @@ class LegendController(OverlayController):
         self._cmd = ['d.legend', self._defaultAt]
         self._cmd = ['d.legend', self._defaultAt]
 
 
     def SetCmd(self, cmd):
     def SetCmd(self, cmd):
-        """Overriden method
+        """Overridden method
 
 
         Required for setting default or actual raster legend position.
         Required for setting default or actual raster legend position.
         """
         """

+ 1 - 1
gui/wxpython/modules/histogram.py

@@ -136,7 +136,7 @@ class BufferedWindow(wx.Window):
         self.Refresh()
         self.Refresh()
 
 
     def OnPaint(self, event):
     def OnPaint(self, event):
-        """Draw psuedo DC to buffer
+        """Draw pseudo DC to buffer
         """
         """
         dc = wx.BufferedPaintDC(self, self._buffer)
         dc = wx.BufferedPaintDC(self, self._buffer)
 
 

+ 1 - 1
gui/wxpython/modules/import_export.py

@@ -276,7 +276,7 @@ class ImportDialog(wx.Dialog):
         if not self.add.IsChecked() or returncode != 0:
         if not self.add.IsChecked() or returncode != 0:
             return
             return
 
 
-        # TODO: if importing map creates more map the folowing does not work
+        # TODO: if importing map creates more map the following does not work
         # * do nothing if map does not exist or
         # * do nothing if map does not exist or
         # * try to determine names using regexp or
         # * try to determine names using regexp or
         # * persuade import tools to report map names
         # * persuade import tools to report map names

+ 1 - 1
gui/wxpython/modules/mcalc_builder.py

@@ -548,7 +548,7 @@ class MapCalcFrame(wx.Frame):
 
 
     # unused
     # unused
     # def OnSelectTextEvt(self, event):
     # def OnSelectTextEvt(self, event):
-    #     """Checks if user is typing or the event was emited by map selection.
+    #     """Checks if user is typing or the event was emitted by map selection.
     #     Prevents from changing focus.
     #     Prevents from changing focus.
     #     """
     #     """
     #     item = self.mapselect.GetValue().strip()
     #     item = self.mapselect.GetValue().strip()

+ 1 - 1
gui/wxpython/photo2image/ip2i_mapdisplay.py

@@ -230,7 +230,7 @@ class MapFrame(SingleMapFrame):
         self.statusbarManager.Update()
         self.statusbarManager.Update()
 
 
     def _setUpMapWindow(self, mapWindow):
     def _setUpMapWindow(self, mapWindow):
-        # TODO: almost the smae implementation as for MapFrameBase (only names differ)
+        # TODO: almost the same implementation as for MapFrameBase (only names differ)
         # enable or disable zoom history tool
         # enable or disable zoom history tool
         mapWindow.zoomHistoryAvailable.connect(
         mapWindow.zoomHistoryAvailable.connect(
             lambda:
             lambda:

+ 1 - 1
gui/wxpython/psmap/frame.py

@@ -1860,7 +1860,7 @@ class PsMapBufferedWindow(wx.Window):
                         pdcType = 'rect'
                         pdcType = 'rect'
                         lineCoords = None
                         lineCoords = None
                         if r[2] < 2 or r[3] < 2:
                         if r[2] < 2 or r[3] < 2:
-                            # to avoid strange behavoiur
+                            # to avoid strange behaviour
                             return
                             return
 
 
                     self.Draw(pen=self.pen['line'], brush=self.brush['line'],
                     self.Draw(pen=self.pen['line'], brush=self.brush['line'],

+ 1 - 1
gui/wxpython/rlisetup/wizard.py

@@ -11,7 +11,7 @@ Classes:
               sampling region)
               sampling region)
  - Keyboard (page to insert region areas from keyboard)
  - Keyboard (page to insert region areas from keyboard)
  - SamplingAreas (define sampling area)
  - SamplingAreas (define sampling area)
- - SummaryPage (show choosen options)
+ - SummaryPage (show chosen options)
 
 
 (C) 2011 by the GRASS Development Team
 (C) 2011 by the GRASS Development Team
 This program is free software under the GNU General Public License
 This program is free software under the GNU General Public License

+ 3 - 3
gui/wxpython/startup/guiutils.py

@@ -392,7 +392,7 @@ def delete_mapsets_interactively(guiparent, mapsets):
     Exceptions during deletation are handled in get_reasons_mapsets_not_removable
     Exceptions during deletation are handled in get_reasons_mapsets_not_removable
     function.
     function.
 
 
-    Returns True if there was a change, i.e., all mapsets were successfuly
+    Returns True if there was a change, i.e., all mapsets were successfully
     deleted or at least one mapset was deleted.
     deleted or at least one mapset was deleted.
     Returns False if one or more mapsets cannot be deleted (see reasons given
     Returns False if one or more mapsets cannot be deleted (see reasons given
     by get_reasons_mapsets_not_removable function) or if an error was
     by get_reasons_mapsets_not_removable function) or if an error was
@@ -477,7 +477,7 @@ def delete_locations_interactively(guiparent, locations):
     Exceptions during deletation are handled in get_reasons_locations_not_removable
     Exceptions during deletation are handled in get_reasons_locations_not_removable
     function.
     function.
 
 
-    Returns True if there was a change, i.e., all locations were successfuly
+    Returns True if there was a change, i.e., all locations were successfully
     deleted or at least one location was deleted.
     deleted or at least one location was deleted.
     Returns False if one or more locations cannot be deleted (see reasons given
     Returns False if one or more locations cannot be deleted (see reasons given
     by get_reasons_locations_not_removable function) or if an error was
     by get_reasons_locations_not_removable function) or if an error was
@@ -666,7 +666,7 @@ def can_switch_mapset_interactive(guiparent, grassdb, location, mapset):
 def import_file(guiparent, filePath):
 def import_file(guiparent, filePath):
     """Tries to import file as vector or raster.
     """Tries to import file as vector or raster.
 
 
-    If successfull sets default region from imported map.
+    If successful sets default region from imported map.
     """
     """
     RunCommand('db.connect', flags='c')
     RunCommand('db.connect', flags='c')
     mapName = os.path.splitext(os.path.basename(filePath))[0]
     mapName = os.path.splitext(os.path.basename(filePath))[0]

+ 1 - 1
gui/wxpython/tplot/frame.py

@@ -1051,7 +1051,7 @@ class TplotFrame(wx.Frame):
         :param list vectors: a list of temporal vector dataset's name
         :param list vectors: a list of temporal vector dataset's name
         :param list coors: a list with x/y coordinates
         :param list coors: a list with x/y coordinates
         :param list cats: a list with incld. categories of vector
         :param list cats: a list with incld. categories of vector
-        :param str attr:  name of atribute of vectror data
+        :param str attr:  name of attribute of vectror data
         """
         """
         if not (rasters or vectors) or not (coors or cats):
         if not (rasters or vectors) or not (coors or cats):
             return
             return

+ 3 - 3
gui/wxpython/vdigit/mapwindow.py

@@ -58,7 +58,7 @@ class VDigitWindow(BufferedMapWindow):
         # Emitted when some info about digitizing is or will be availbale
         # Emitted when some info about digitizing is or will be availbale
         self.digitizingInfoAvailable = Signal('VDigitWindow.digitizingInfo')
         self.digitizingInfoAvailable = Signal('VDigitWindow.digitizingInfo')
         # Emitted when some info about digitizing is or will be availbale
         # Emitted when some info about digitizing is or will be availbale
-        # digitizingInfo signal is emmited only between digitizingInfoAvailable
+        # digitizingInfo signal is emitted only between digitizingInfoAvailable
         # and digitizingInfoUnavailable signals
         # and digitizingInfoUnavailable signals
         self.digitizingInfoUnavailable = Signal('VDigitWindow.digitizingInfo')
         self.digitizingInfoUnavailable = Signal('VDigitWindow.digitizingInfo')
 
 
@@ -182,7 +182,7 @@ class VDigitWindow(BufferedMapWindow):
 
 
             self.UpdateMap(render=False)  # redraw map
             self.UpdateMap(render=False)  # redraw map
 
 
-            # add new record into atribute table
+            # add new record into attribute table
             if UserSettings.Get(
             if UserSettings.Get(
                     group='vdigit', key="addRecord", subkey='enabled'):
                     group='vdigit', key="addRecord", subkey='enabled'):
                 # select attributes based on layer and category
                 # select attributes based on layer and category
@@ -979,7 +979,7 @@ class VDigitWindow(BufferedMapWindow):
                 self.redrawAll = True
                 self.redrawAll = True
                 self.Refresh()
                 self.Refresh()
 
 
-                # add new record into atribute table
+                # add new record into attribute table
                 if self._addRecord() and (line is True or (not line and nfeat > 0)):
                 if self._addRecord() and (line is True or (not line and nfeat > 0)):
                     posWindow = self.ClientToScreen(
                     posWindow = self.ClientToScreen(
                         (position[0] + self.dialogOffset, position[1] + self.dialogOffset))
                         (position[0] + self.dialogOffset, position[1] + self.dialogOffset))

+ 1 - 1
gui/wxpython/vdigit/wxdigit.py

@@ -2133,7 +2133,7 @@ class IVDigit:
     def GetUndoLevel(self):
     def GetUndoLevel(self):
         """Get undo level (number of active changesets)
         """Get undo level (number of active changesets)
 
 
-        Note: Changesets starts wiht 0
+        Note: Changesets starts with 0
         """
         """
         return self.changesetCurrent
         return self.changesetCurrent
 
 

+ 1 - 1
gui/wxpython/vnet/vnet_core.py

@@ -596,7 +596,7 @@ class VNETAnalyses:
 
 
         sqlFile_f.close()
         sqlFile_f.close()
 
 
-        # TODO imporve parser and run in thread
+        # TODO improve parser and run in thread
 
 
         ret, msg, err = RunCommand('db.execute',
         ret, msg, err = RunCommand('db.execute',
                                    getErrorMsg=True,
                                    getErrorMsg=True,

+ 1 - 1
gui/wxpython/vnet/vnet_data.py

@@ -1,7 +1,7 @@
 """
 """
 @package vnet.vnet_data
 @package vnet.vnet_data
 
 
-@brief Vector network analysis classes for data managment.
+@brief Vector network analysis classes for data management.
 
 
 Classes:
 Classes:
  - vnet_data::VNETData
  - vnet_data::VNETData

+ 1 - 1
gui/wxpython/web_services/dialogs.py

@@ -190,7 +190,7 @@ class WSDialogBase(wx.Dialog):
         dialogSizer.Add(settingsSizer, proportion=0,
         dialogSizer.Add(settingsSizer, proportion=0,
                         flag=wx.EXPAND | wx.TOP | wx.LEFT | wx.RIGHT, border=5)
                         flag=wx.EXPAND | wx.TOP | wx.LEFT | wx.RIGHT, border=5)
 
 
-        # layer name, parsed capabilites
+        # layer name, parsed capabilities
 
 
         reqDataSizer = wx.BoxSizer(wx.VERTICAL)
         reqDataSizer = wx.BoxSizer(wx.VERTICAL)
 
 

+ 1 - 1
gui/wxpython/web_services/widgets.py

@@ -527,7 +527,7 @@ class WSPanel(wx.Panel):
         self.ws_cmdl = self.ws_drvs[self.ws]['cmd'] + conn_cmd
         self.ws_cmdl = self.ws_drvs[self.ws]['cmd'] + conn_cmd
 
 
     def OnCapDownloadDone(self, event):
     def OnCapDownloadDone(self, event):
-        """Process donwloaded capabilities file and emits capParsed
+        """Process downloaded capabilities file and emits capParsed
         signal (see class constructor).
         signal (see class constructor).
         """
         """
         if event.pid != self.currentPid:
         if event.pid != self.currentPid:

+ 1 - 1
imagery/i.aster.toar/i.aster.toar.html

@@ -2,7 +2,7 @@
 
 
 <em>i.aster.toar</em> calculates the Top Of Atmosphere (TOA) reflectance
 <em>i.aster.toar</em> calculates the Top Of Atmosphere (TOA) reflectance
 for Terra-ASTER L1B in the visible, NIR and SWIR bands (9+1 bands) and
 for Terra-ASTER L1B in the visible, NIR and SWIR bands (9+1 bands) and
-brigthness temperature for the TIR bands (5 bands), all from L1B DN values. 
+brightness temperature for the TIR bands (5 bands), all from L1B DN values.
 It is useful to apply after import of original ASTER imagery that
 It is useful to apply after import of original ASTER imagery that
 is generally in standard DN values range.
 is generally in standard DN values range.
 
 

+ 1 - 1
imagery/i.gensigset/subcluster.c

@@ -510,7 +510,7 @@ distance(struct SubSig *SubSig1, struct SubSig *SubSig2, int nbands)
 
 
 static int compute_constants(
 static int compute_constants(
 				/* invert matrix and compute Sig->SubSig[i].cnst          */
 				/* invert matrix and compute Sig->SubSig[i].cnst          */
-				/* Returns singular=1 if a singluar subcluster was found. */
+				/* Returns singular=1 if a singular subcluster was found. */
 				/* Returns singular=2 if all subclusters were singular.   */
 				/* Returns singular=2 if all subclusters were singular.   */
 				/* When singular=2 then nsubclasses=0.                    */
 				/* When singular=2 then nsubclasses=0.                    */
 				struct ClassSig *Sig, int nbands)
 				struct ClassSig *Sig, int nbands)

+ 1 - 1
imagery/i.smap/solve.c

@@ -8,7 +8,7 @@ double solve(
 		double (*f) (double),	/* pointer to function to be solved */
 		double (*f) (double),	/* pointer to function to be solved */
 		double a,	/* minimum value of solution */
 		double a,	/* minimum value of solution */
 		double b,	/* maximum value of solution */
 		double b,	/* maximum value of solution */
-		double err,	/* accuarcy of solution */
+		double err,	/* accuracy of solution */
 		int *code	/* error code */
 		int *code	/* error code */
     )
     )
 {
 {

+ 8 - 8
lib/db/dbmi_base/column.c

@@ -317,7 +317,7 @@ void db_set_column_length(dbColumn * column, int length)
 }
 }
 
 
 /*!
 /*!
-  \brief Set select privilages to be granted
+  \brief Set select privileges to be granted
 
 
   \param column pointer to dbColumn
   \param column pointer to dbColumn
 */
 */
@@ -327,7 +327,7 @@ void db_set_column_select_priv_granted(dbColumn * column)
 }
 }
 
 
 /*!
 /*!
-  \brief Unset select privilages
+  \brief Unset select privileges
 
 
   \param column pointer to dbColumn
   \param column pointer to dbColumn
 */
 */
@@ -337,11 +337,11 @@ void db_set_column_select_priv_not_granted(dbColumn * column)
 }
 }
 
 
 /*!
 /*!
-  \brief Get select privilages
+  \brief Get select privileges
 
 
   \param column pointer to dbColumn
   \param column pointer to dbColumn
 
 
-  \return privilages
+  \return privileges
 */
 */
 int db_get_column_select_priv(dbColumn * column)
 int db_get_column_select_priv(dbColumn * column)
 {
 {
@@ -349,7 +349,7 @@ int db_get_column_select_priv(dbColumn * column)
 }
 }
 
 
 /*!
 /*!
-  \brief Set update privilages to be granted
+  \brief Set update privileges to be granted
 
 
   \param column pointer to dbColumn
   \param column pointer to dbColumn
 */
 */
@@ -359,7 +359,7 @@ void db_set_column_update_priv_granted(dbColumn * column)
 }
 }
 
 
 /*!
 /*!
-  \brief Unset update privilages
+  \brief Unset update privileges
 
 
   \param column pointer to dbColumn
   \param column pointer to dbColumn
 */
 */
@@ -369,11 +369,11 @@ void db_set_column_update_priv_not_granted(dbColumn * column)
 }
 }
 
 
 /*!
 /*!
-  \brief Get update privilages
+  \brief Get update privileges
 
 
   \param column pointer to dbColumn
   \param column pointer to dbColumn
 
 
-  \return privilages
+  \return privileges
 */
 */
 int db_get_column_update_priv(dbColumn * column)
 int db_get_column_update_priv(dbColumn * column)
 {
 {

+ 2 - 2
lib/db/dbmi_base/table.c

@@ -192,7 +192,7 @@ void db_set_table_select_priv_not_granted(dbTable * table)
 
 
   \param table pointer to dbTable
   \param table pointer to dbTable
  
  
-  \return privilages
+  \return privileges
 */
 */
 int db_get_table_select_priv(dbTable * table)
 int db_get_table_select_priv(dbTable * table)
 {
 {
@@ -224,7 +224,7 @@ void db_set_table_update_priv_not_granted(dbTable * table)
 
 
   \param table pointer to dbTable
   \param table pointer to dbTable
 
 
-  \return privilages
+  \return privileges
 */
 */
 int db_get_table_update_priv(dbTable * table)
 int db_get_table_update_priv(dbTable * table)
 {
 {

+ 1 - 1
lib/gis/make_loc.c

@@ -172,7 +172,7 @@ int G_make_location_epsg(const char *location_name,
  * \param proj_epsg     EPSG code suitable to write to the PROJ_EPSG
  * \param proj_epsg     EPSG code suitable to write to the PROJ_EPSG
  *                      file, or NULL.
  *                      file, or NULL.
  *
  *
- * \param proj_wkt      WKT defintion suitable to write to the PROJ_WKT
+ * \param proj_wkt      WKT definition suitable to write to the PROJ_WKT
  *                      file, or NULL.
  *                      file, or NULL.
  *
  *
  * \param proj_srid     Spatial reference ID suitable to write to the PROJ_SRID
  * \param proj_srid     Spatial reference ID suitable to write to the PROJ_SRID

+ 1 - 1
lib/gis/proj3.c

@@ -175,7 +175,7 @@ double G_database_units_to_meters_factor(void)
   \brief Get datum name for the current location
   \brief Get datum name for the current location
   
   
   Returns a pointer to the name of the map datum of the current
   Returns a pointer to the name of the map datum of the current
-  database. If there is no map datum explicitely associated with the
+  database. If there is no map datum explicitly associated with the
   actual database, the standard map datum WGS84 is returned, on error
   actual database, the standard map datum WGS84 is returned, on error
   a NULL pointer is returned.
   a NULL pointer is returned.
   
   

+ 2 - 2
lib/imagery/iscatt_core.c

@@ -113,7 +113,7 @@ int I_create_cat_rast(struct Cell_head *cat_rast_region, const char *cat_rast)
    \param [out] intersec pointer to intersection region of regions A B 
    \param [out] intersec pointer to intersection region of regions A B 
    			   (relevant params of the region are: south, north, east, west)
    			   (relevant params of the region are: south, north, east, west)
 
 
-   \return  0 if interection exists
+   \return  0 if interaction exists
    \return -1 if regions does not intersect
    \return -1 if regions does not intersect
  */
  */
 static int regions_intersecion(struct Cell_head *A, struct Cell_head *B,
 static int regions_intersecion(struct Cell_head *A, struct Cell_head *B,
@@ -168,7 +168,7 @@ static int regions_intersecion(struct Cell_head *A, struct Cell_head *B,
    \param [out] B_bounds rows and cols numbers of B stored in 
    \param [out] B_bounds rows and cols numbers of B stored in 
                 south, north, east, west, which defines intersection of A and B
                 south, north, east, west, which defines intersection of A and B
 
 
-   \return  0 if interection exists
+   \return  0 if interaction exists
    \return -1 if regions do not intersect
    \return -1 if regions do not intersect
    \return -2 resolution of regions is not same 
    \return -2 resolution of regions is not same 
  */
  */