Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 31, 2021
1 parent b85614e commit 7715a12
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
Expand Up @@ -238,7 +238,7 @@ Returns a new image downloader for the raster legend.
%Docstring
Creates pyramid overviews.

:param pyramidList: a list of :py:class:`QgsRasterPryamids` to create overviews for. The :py:func:`QgsRasterPryamid.setBuild()` flag
:param pyramidList: a list of :py:class:`QgsRasterPyramids` to create overviews for. The :py:func:`QgsRasterPyramid.setBuild()` flag
should be set to ``True`` for every layer where pyramids are desired.
:param resamplingMethod: resampling method to use when creating the pyramids. The :py:func:`~QgsRasterDataProvider.pyramidResamplingMethods` method
can be used to retrieve a list of valid resampling methods available for specific raster data providers.
Expand All @@ -265,8 +265,8 @@ ACTUALLY exists you need to look at the :py:func:`QgsRasterPyramid.getExists()`
list.

The returned list is suitable for passing to the :py:func:`~QgsRasterDataProvider.buildPyramids` method. First, modify the returned list
by calling `QgsRasterPryamid.setBuild( ``True`` )` for every layer you want to create pyramids for, and then
pass the modified list to :py:func:`~QgsRasterDataProvider.buildPryamids`.
by calling `QgsRasterPyramid.setBuild( ``True`` )` for every layer you want to create pyramids for, and then
pass the modified list to :py:func:`~QgsRasterDataProvider.buildPyramids`.

:param overviewList: used to construct the pyramid list (optional), when empty the list is defined by the provider.

Expand All @@ -280,7 +280,7 @@ pass the modified list to :py:func:`~QgsRasterDataProvider.buildPryamids`.
Returns ``True`` if raster has at least one existing pyramid.

The :py:func:`~QgsRasterDataProvider.buildPyramidList` method can be used to retrieve additional details about potential and existing
pryamid layers.
pyramid layers.

.. seealso:: :py:func:`buildPyramidList`

Expand Down
4 changes: 2 additions & 2 deletions scripts/spell_check/check_spelling.sh
Expand Up @@ -23,10 +23,10 @@
# fi

# extensions or files that should be excluded from file list if :% is appended in the spelling.dat file
EXCLUDE_SCRIPT_LIST='(\.(xml|svg|sip|pl|sh|qgs|badquote|cmake(\.in)?)|^(debian/copyright|cmake_templates/.*|tests/testdata/labeling/README.rst|tests/testdata/font/QGIS-Vera/COPYRIGHT.TXT|doc/NEWS\.html|debian/build/))$'
EXCLUDE_SCRIPT_LIST='(\.(xml|sip|pl|sh|badquote|cmake(\.in)?)|^(debian/copyright|cmake_templates/.*|tests/testdata/labeling/README.rst|tests/testdata/font/QGIS-Vera/COPYRIGHT.TXT|doc/NEWS\.html|debian/build/))$'

# always exclude these external files
EXCLUDE_EXTERNAL_LIST='(resources/server/src/.*|resources/server/api/ogc/static/landingpage/js/.*|tests/testdata/.*)$'
EXCLUDE_EXTERNAL_LIST='((\.(svg|qgs|laz|las|png|lock))|resources/server/src/.*|resources/server/api/ogc/static/landingpage/js/.*|tests/testdata/.*|doc/api_break.dox)$'

DIR=$(git rev-parse --show-toplevel)/scripts/spell_check

Expand Down
1 change: 1 addition & 0 deletions scripts/spell_check/spelling.dat
Expand Up @@ -5713,6 +5713,7 @@ pursuades:persuades
pususading:persuading
puting:putting:*
pwoer:power
pryamid:pyramid
pyscic:psychic
pythin:python
qgsi:qgis
Expand Down
8 changes: 4 additions & 4 deletions src/core/raster/qgsrasterdataprovider.h
Expand Up @@ -312,7 +312,7 @@ class CORE_EXPORT QgsRasterDataProvider : public QgsDataProvider, public QgsRast
/**
* Creates pyramid overviews.
*
* \param pyramidList a list of QgsRasterPryamids to create overviews for. The QgsRasterPryamid::setBuild() flag
* \param pyramidList a list of QgsRasterPyramids to create overviews for. The QgsRasterPyramid::setBuild() flag
* should be set to TRUE for every layer where pyramids are desired.
* \param resamplingMethod resampling method to use when creating the pyramids. The pyramidResamplingMethods() method
* can be used to retrieve a list of valid resampling methods available for specific raster data providers.
Expand Down Expand Up @@ -349,8 +349,8 @@ class CORE_EXPORT QgsRasterDataProvider : public QgsDataProvider, public QgsRast
* list.
*
* The returned list is suitable for passing to the buildPyramids() method. First, modify the returned list
* by calling `QgsRasterPryamid::setBuild( TRUE )` for every layer you want to create pyramids for, and then
* pass the modified list to buildPryamids().
* by calling `QgsRasterPyramid::setBuild( TRUE )` for every layer you want to create pyramids for, and then
* pass the modified list to buildPyramids().
*
* \param overviewList used to construct the pyramid list (optional), when empty the list is defined by the provider.
*
Expand All @@ -364,7 +364,7 @@ class CORE_EXPORT QgsRasterDataProvider : public QgsDataProvider, public QgsRast
* Returns TRUE if raster has at least one existing pyramid.
*
* The buildPyramidList() method can be used to retrieve additional details about potential and existing
* pryamid layers.
* pyramid layers.
*
* \see buildPyramidList()
* \see buildPyramids()
Expand Down

0 comments on commit 7715a12

Please sign in to comment.