Skip to content
Permalink
Browse files

fix typos

  • Loading branch information
jef-n committed Sep 24, 2012
1 parent e0e57b5 commit 60ab4b3290b6ccaf5b71ff7fc71637cc92d414d1
@@ -105,7 +105,7 @@ class QgsGraph
int addArc( int outVertexIdx, int inVertexIdx, const QVector< QVariant >& properties );

/**
* retrun vertex count
* return vertex count
*/
int vertexCount() const;

@@ -120,7 +120,7 @@ class QgsGraph
int arcCount() const;

/**
* retrun edge at index
* return edge at index
*/
const QgsGraphArc& arc( int idx ) const;

@@ -153,7 +153,7 @@ class QgsStyleV2
*/
QStringList symbolsWithTag( StyleEntity type, int tagid );

//! applies the specifed group to the symbol or colorramp specified by StyleEntity
//! applies the specified group to the symbol or colorramp specified by StyleEntity
/*!
* \param type is either SymbolEntity of ColorrampEntity
* \param name is the name of the symbol or coloramp whose group is to be set
@@ -231,7 +231,7 @@ <h2>R. Creating R scripts<a class="headerlink" href="#r-creating-r-scripts" titl
<tt class="docutils literal"><span class="pre">vector</span></tt> named <tt class="docutils literal"><span class="pre">polyg</span></tt>. When executing the algorithm,
SEXTANTE will open in R the layer selected by the user and store it in a
variable also named <tt class="docutils literal"><span class="pre">polyg</span></tt>. So the name of a parameter is also the
name of the variable that we can use in R for accesing the value of that
name of the variable that we can use in R for accessing the value of that
parameter (thus, you should avoid using reserved R words as parameter
names).</p>
<p>Spatial elements such as vector and raster layers are read using the
@@ -304,7 +304,7 @@ <h2>R. Creating R scripts<a class="headerlink" href="#r-creating-r-scripts" titl
<h2>GRASS<a class="headerlink" href="#grass" title="Permalink to this headline"></a></h2>
<p>Configuring GRASS is not much different from configuring SAGA. First,
the path to the GRASS folder has to be defined, but only if you are
running Windows. Additionaly, a shell interpreter (usually msys.exe,
running Windows. Additionally, a shell interpreter (usually msys.exe,
which can be found in most GRASS for Windows distributions) has to be
defined and its path set up as well.</p>
<p>By default, SEXTANTE tries to configure its GRASS connector to use the GRASS distribution that ships along with QGIS. This should work without problems in most systems, but if you experience problems, you might have to do it manually. Also, if you want to use a different GRASS version, you can change that setting and point to the folder where that other version is kept. GRASS 6.4 is needed for algorithms to work correctly.</p>
@@ -403,4 +403,4 @@ <h3>Navigation</h3>
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
</div>
</body>
</html>
</html>
@@ -213,7 +213,7 @@ In the above example, we are declaring an input of type
``vector`` named ``polyg``. When executing the algorithm,
SEXTANTE will open in R the layer selected by the user and store it in a
variable also named ``polyg``. So the name of a parameter is also the
name of the variable that we can use in R for accesing the value of that
name of the variable that we can use in R for accessing the value of that
parameter (thus, you should avoid using reserved R words as parameter
names).

@@ -252,7 +252,7 @@ if the number of output layers cannot be know in advance), then it is
not possible to use it within a model, and thus does not appear in the
list of them that you can find in the modeler dialog.

Additionaly, you will see some algorithms in the modeler that are not
Additionally, you will see some algorithms in the modeler that are not
found in the toolbox. This algorithms are meant to be used exclusively
as part of a model, and they are of no interest in a different context.
The *Calculator* algorithm is an example of that. It is just a simple
@@ -2,7 +2,7 @@
* searchtools.js_t
* ~~~~~~~~~~~~~~~~
*
* Sphinx JavaScript utilties for the full-text search.
* Sphinx JavaScript utilities for the full-text search.
*
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
@@ -557,4 +557,4 @@ var Search = {

$(document).ready(function() {
Search.init();
});
});
@@ -2,7 +2,7 @@
* websupport.js
* ~~~~~~~~~~~~~
*
* sphinx.websupport utilties for all documentation.
* sphinx.websupport utilities for all documentation.
*
* :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
@@ -68,7 +68,7 @@ <h2 class="index">Description</h2>
toolbox implementations".
</blockquote>
</p>
<p> As the fuctions are written in pure Python, some functions are
<p> As the functions are written in pure Python, some functions are
not very efficient and may take very long to process. In this case, it
is possible to use a professional version available at
<a href="http://www.mmorph.com/pymorphpro">http://www.mmorph.com/pymorphpro</a>
@@ -138,4 +138,4 @@ <h2 class="index">On-line Documentation</h2>
</table>
</center>
</body>
</html>
</html>
@@ -307,7 +307,7 @@ <H3>Select only the narrow region (small area)</H3>
</div>
</div>
<div class="slide">
<H3>Area measurement and ploting</H3>
<H3>Area measurement and plotting</H3>
<div class="H3">
<p>
<p>
@@ -360,4 +360,4 @@ <H3>Area measurement and ploting</H3>
</table>
</center>
</body>
</html>
</html>
@@ -630,7 +630,7 @@ def overlay(X, red=None, green=None, blue=None, magenta=None, yellow=None, cyan=
"""
Y = overlay(X, red=None, green=None, blue=None, magenta=None, yellow=None, cyan=None)
Apply binary overlays as colour layers on a binary or gray-scale image
Apply binary overlays as color layers on a binary or gray-scale image
Parameters
----------
@@ -4273,7 +4273,7 @@ def to_gray(f):
"""
g = to_gray(f)
Transform (possibly colour) image to gray image.
Transform (possibly color) image to gray image.
If input file is a color RGB image, it is converted to gray-scale using the
equation:
@@ -4283,7 +4283,7 @@ def to_gray(f):
Parameters
----------
f : ndarray of shape HxWx3
colour image.
color image.
Returns
-------
@@ -4294,7 +4294,7 @@ def to_gray(f):
if len(f.shape) == 2:
return f
if len(f.shape) != 3:
raise ValueError, 'pymorph.to_gray: can only handle gray and colour images'
raise ValueError, 'pymorph.to_gray: can only handle gray and color images'
r = f[:,:,0]
g = f[:,:,1]
b = f[:,:,2]
@@ -36,7 +36,7 @@ <h2>Parameters</h2>
<dt>Time Span [h] <div class='type'>Value range</div></dt><dd>Time span used for the calculation of daily radiation sums. <div class='constraints'>Minimum: 1.39579710889e-316; Maximum: 1.395734659e-316</div></dd>
<dt>Time Resolution [h]: Day <div class='type'>Floating point</div></dt><dd>Time step size for a day's calculation given in hours. <div class='constraints'>Maximum: 24.0</div></dd>
<dt>Time Resolution [d]: Range of Days <div class='type'>Integer</div></dt><dd>Time step size for a range of days calculation given in days. <div class='constraints'>Minimum: 1.0</div></dd>
<dt>Update <div class='type'>Choice</div></dt><dd>show direct insolation for each time step. <div class='constraints'>Available choices: do not update, update, colour stretch for each time step, update, fixed colour stretch</div></dd>
<dt>Update <div class='type'>Choice</div></dt><dd>show direct insolation for each time step. <div class='constraints'>Available choices: do not update, update, color stretch for each time step, update, fixed color stretch</div></dd>
<dt>Day of Year <div class='type'>Node</div></dt><dd> <div class='constraints'></div></dd>
<dt>Day of Month <div class='type'>Choice</div></dt><dd> <div class='constraints'>Available choices: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31</div></dd>
<dt>Month <div class='type'>Choice</div></dt><dd> <div class='constraints'>Available choices: January, February, March, April, May, June, July, August, September, October, November, December</div></dd>
@@ -53,6 +53,7 @@ persistant:persistent
developement:development
necesary:necessary
recieved:received
retrun:return
ressize:resize
assigment:assignment
automatizes:automates
@@ -314,7 +314,7 @@ class CORE_EXPORT QgsZipItem : public QgsDataCollectionItem
QVector<QgsDataItem*> createChildren();
const QStringList & getZipFileList();

//! @note not avialable via python bindings
//! @note not available via python bindings
static QVector<dataItem_t *> mDataItemPtr;
static QStringList mProviderNames;

@@ -538,7 +538,7 @@ void QgsProjectFileTransform::convertRasterProperties( QDomDocument& doc, QDomNo
QDomElement& rasterPropertiesElem, QgsRasterLayer* rlayer )
{
//no data
//TODO: We would need to set no data on all bands, but we dont know number of bands here
//TODO: We would need to set no data on all bands, but we don't know number of bands here
QDomNode noDataNode = rasterPropertiesElem.namedItem( "mNoDataValue" );
QDomElement noDataElement = noDataNode.toElement();
if ( !noDataElement.text().isEmpty() )
@@ -83,7 +83,7 @@ void QgsSimpleFillSymbolLayerV2::startRender( QgsSymbolV2RenderContext& context
QColor selPenColor = selColor == mColor ? selColor : mBorderColor;
if ( ! selectionIsOpaque ) selColor.setAlphaF( context.alpha() );
mSelBrush = QBrush( selColor );
// N.B. unless a "selection line colour" is implemented in addition to the "selection colour" option
// N.B. unless a "selection line color" is implemented in addition to the "selection color" option
// this would mean symbols with "no fill" look the same whether or not they are selected
if ( selectFillStyle )
mSelBrush.setStyle( mBrushStyle );
@@ -213,7 +213,7 @@ class CORE_EXPORT QgsStyleV2
*/
QStringList symbolsWithTag( StyleEntity type, int tagid );

//! applies the specifed group to the symbol or colorramp specified by StyleEntity
//! applies the specified group to the symbol or colorramp specified by StyleEntity
/*!
* \param type is either SymbolEntity of ColorrampEntity
* \param name is the name of the symbol or coloramp whose group is to be set
@@ -339,7 +339,7 @@ class CORE_EXPORT QgsStyleV2

//! updates the properties of an existing symbol/colorramp
/*!
* \note This should not be called seperately, only called through addSymbol or addColorRamp
* \note This should not be called separately, only called through addSymbol or addColorRamp
* \param type is either SymbolEntity or ColorrampEntity
* \param name is the name of an existing symbol or a color ramp
* \return Success state of the update operation

0 comments on commit 60ab4b3

Please sign in to comment.
You can’t perform that action at this time.