spelling fixes

This commit is contained in:
Juergen E. Fischer 2015-07-26 14:39:30 +02:00
parent 644bdf046f
commit b165875fa6
19 changed files with 42 additions and 42 deletions

View File

@ -30,7 +30,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#============================================================================= #=============================================================================
# The automoc_qt4 macro is superceded by CMAKE_AUTOMOC from CMake 2.8.6 # The automoc_qt4 macro is superceeded by CMAKE_AUTOMOC from CMake 2.8.6
# A Qt 5 version is not provided by CMake or Qt. # A Qt 5 version is not provided by CMake or Qt.
include(MacroAddFileDependencies) include(MacroAddFileDependencies)

View File

@ -34,7 +34,7 @@ class QgsRasterCalculator
* @param formulaString formula for raster calculation * @param formulaString formula for raster calculation
* @param outputFile output file path * @param outputFile output file path
* @param outputFormat output file format * @param outputFormat output file format
* @param outputExtent output extent, CRS is specifed by outputCrs parameter * @param outputExtent output extent, CRS is specified by outputCrs parameter
* @param outputCrs destination CRS for output raster * @param outputCrs destination CRS for output raster
* @param nOutputColumns number of columns in output raster * @param nOutputColumns number of columns in output raster
* @param nOutputRows number of rows in output raster * @param nOutputRows number of rows in output raster

View File

@ -72,7 +72,7 @@ class QgsEffectStack : QgsPaintEffect
*/ */
bool insertEffect( const int index, QgsPaintEffect* effect /Transfer/); bool insertEffect( const int index, QgsPaintEffect* effect /Transfer/);
/** Replaces the effect at a speficied position within the stack. /** Replaces the effect at a specified position within the stack.
* @param index position of effect to replace * @param index position of effect to replace
* @param effect QgsPaintEffect to replace with. Ownership of the effect will be * @param effect QgsPaintEffect to replace with. Ownership of the effect will be
* transferred to the stack object. * transferred to the stack object.

View File

@ -66,13 +66,13 @@ class QgsHistogramWidget : QWidget
*/ */
QBrush brush() const; QBrush brush() const;
/** Sets the graduated ranges associated with the histogram. If set, the ranges will be used to colour the histogram /** Sets the graduated ranges associated with the histogram. If set, the ranges will be used to color the histogram
* bars and for showing vertical dividers at the histogram breaks. * bars and for showing vertical dividers at the histogram breaks.
* @param ranges graduated range list * @param ranges graduated range list
*/ */
void setGraduatedRanges( const QgsRangeList& ranges ); void setGraduatedRanges( const QgsRangeList& ranges );
/** Returns the graduated ranges associated with the histogram. If set, the ranges will be used to colour the histogram /** Returns the graduated ranges associated with the histogram. If set, the ranges will be used to color the histogram
* bars and for showing vertical dividers at the histogram breaks. * bars and for showing vertical dividers at the histogram breaks.
* @returns graduated range list * @returns graduated range list
* @see setGraduatedRanges * @see setGraduatedRanges

View File

@ -73,7 +73,7 @@
* Create view button. * Create view button.
* Spatial Index tab (find if can be activated: no because Oracle use spatial index internally). * Spatial Index tab (find if can be activated: no because Oracle use spatial index internally).
* Can't open query builder. * Can't open query builder.
* Modify dictionnary to add math/string/aggregates functions/operators. * Modify dictionary to add math/string/aggregates functions/operators.
* Can't open column values from query builder. * Can't open column values from query builder.
* GEOM columns are not retrieved. (Done: don't grab them, just use GEOMETRY string instead to speed columns population) * GEOM columns are not retrieved. (Done: don't grab them, just use GEOMETRY string instead to speed columns population)
* Can't open a query in QGis. * Can't open a query in QGis.
@ -124,7 +124,7 @@
* For rows estimation: use a query to scan nb_rows in object ! * For rows estimation: use a query to scan nb_rows in object !
* Refresh on the fly data that are not stored in cache (comments/table type/row counts). * Refresh on the fly data that are not stored in cache (comments/table type/row counts).
* Bad comparison between metadata extent and calculated extent (was format syntax). * Bad comparison between metadata extent and calculated extent (was format syntax).
* If user can't udpate metadata, dont pull the link for update action. * If user can't udpate metadata, don't pull the link for update action.
* Can't update metadata extent: find if table is in USER_SDO_GEOM_METADATA. * Can't update metadata extent: find if table is in USER_SDO_GEOM_METADATA.
* Print QGis Geometry Type in string instead of int. * Print QGis Geometry Type in string instead of int.
@ -134,10 +134,10 @@
* Indexes: * Indexes:
* Add rebuild index action for indexes. * Add rebuild index action for indexes.
* Add more informations: Compression/Valid/Last analyzed/ityp_name. * Add more information: Compression/Valid/Last analyzed/ityp_name.
* Refresh: * Refresh:
* Make getTables and getVectorTables functions retrieve less informations and manage them on the fly. * Make getTables and getVectorTables functions retrieve less information and manage them on the fly.
* Refreshing a schema refresh only the schema, not the whole connection. * Refreshing a schema refresh only the schema, not the whole connection.
* Still problems with refreshing (QPyNullVariant for detectedSrid). * Still problems with refreshing (QPyNullVariant for detectedSrid).
* Mark views as views. * Mark views as views.
@ -156,7 +156,7 @@
* retrieve definition. * retrieve definition.
* unitary comments retrieving. * unitary comments retrieving.
* Primary key mask. * Primary key mask.
* Refreshing informations. * Refreshing information.
* Action to refresh the mview. * Action to refresh the mview.
* View/MView definition is not interpreted as Html anymore. * View/MView definition is not interpreted as Html anymore.

View File

@ -937,7 +937,7 @@ class OracleDBConnector(DBConnector):
return res return res
def getMViewInfo(self, table): def getMViewInfo(self, table):
"""Find some informations about materialized views""" """Find some information about materialized views"""
schema, tablename = self.getSchemaTableName(table) schema, tablename = self.getSchemaTableName(table)
where = u" AND a.OWNER = {} ".format( where = u" AND a.OWNER = {} ".format(
self.quoteString(schema)) if schema else u"" self.quoteString(schema)) if schema else u""
@ -959,7 +959,7 @@ class OracleDBConnector(DBConnector):
return res return res
def getTableConstraints(self, table): def getTableConstraints(self, table):
"""Find all the contraints for a table.""" """Find all the constraints for a table."""
schema, tablename = self.getSchemaTableName(table) schema, tablename = self.getSchemaTableName(table)
schema_where = u" AND c.OWNER={} ".format( schema_where = u" AND c.OWNER={} ".format(
self.quoteString(schema)) if schema else u"" self.quoteString(schema)) if schema else u""
@ -1279,7 +1279,7 @@ class OracleDBConnector(DBConnector):
# Calculate the extent # Calculate the extent
extent = self.getTableExtent(view, geoCol) extent = self.getTableExtent(view, geoCol)
# Insert informations into metadata table # Insert information into metadata table
self.insertMetadata(view, geoCol, extent, srids[0]) self.insertMetadata(view, geoCol, extent, srids[0])
return True return True
@ -1454,7 +1454,7 @@ class OracleDBConnector(DBConnector):
def updateMetadata(self, table, geom_column, new_geom_column=None, def updateMetadata(self, table, geom_column, new_geom_column=None,
new_table=None, extent=None, srid=None): new_table=None, extent=None, srid=None):
"""update the metadata table with the new informations""" """update the metadata table with the new information"""
schema, tablename = self.getSchemaTableName(table) schema, tablename = self.getSchemaTableName(table)
if not (self.getRawTablePrivileges('USER_SDO_GEOM_METADATA', if not (self.getRawTablePrivileges('USER_SDO_GEOM_METADATA',
@ -1694,7 +1694,7 @@ class OracleDBConnector(DBConnector):
return getQueryBuilderDictionary() return getQueryBuilderDictionary()
def getSqlDictionary(self): def getSqlDictionary(self):
"""Returns the dictionnary for SQL dialog.""" """Returns the dictionary for SQL dialog."""
from .sql_dictionary import getSqlDictionary from .sql_dictionary import getSqlDictionary
sql_dict = getSqlDictionary() sql_dict = getSqlDictionary()

View File

@ -470,14 +470,14 @@ class ORTableInfo(TableInfo):
HtmlSection( HtmlSection(
QApplication.translate( QApplication.translate(
"DBManagerPlugin", "DBManagerPlugin",
'Materialized View informations'), 'Materialized View information'),
mview_info)) mview_info))
return ret return ret
def getMViewInfo(self): def getMViewInfo(self):
"""If the table is a materialized view, grab more """If the table is a materialized view, grab more
informations... information...
""" """
ret = [] ret = []
tbl = [] tbl = []

View File

@ -3,4 +3,4 @@ v.split.length - Split lines to shorter segments by length.
Vector (v.*) Vector (v.*)
ParameterVector|input|Input lines layer|1|False ParameterVector|input|Input lines layer|1|False
ParameterNumber|length|Maximum segment length|None|None|10.0 ParameterNumber|length|Maximum segment length|None|None|10.0
OutputVector|output|Splitted by legth OutputVector|output|Split by length

View File

@ -3,4 +3,4 @@ v.split.vert - Split lines to shorter segments by max number of vertices.
Vector (v.*) Vector (v.*)
ParameterVector|input|Input lines layer|1|False ParameterVector|input|Input lines layer|1|False
ParameterNumber|vertices|Maximum number of vertices in segment|None|None|10 ParameterNumber|vertices|Maximum number of vertices in segment|None|None|10
OutputVector|output|Splitted by vertices OutputVector|output|Split by vertices

View File

@ -3,4 +3,4 @@ v.split.length - Split lines to shorter segments by length.
Vector (v.*) Vector (v.*)
ParameterVector|input|Input lines layer|1|False ParameterVector|input|Input lines layer|1|False
ParameterNumber|length|Maximum segment length|None|None|10.0 ParameterNumber|length|Maximum segment length|None|None|10.0
OutputVector|output|Splitted by length OutputVector|output|Split by length

View File

@ -3,4 +3,4 @@ v.split.vert - Split lines to shorter segments by max number of vertices.
Vector (v.*) Vector (v.*)
ParameterVector|input|Input lines layer|1|False ParameterVector|input|Input lines layer|1|False
ParameterNumber|vertices|Maximum number of vertices in segment|None|None|10 ParameterNumber|vertices|Maximum number of vertices in segment|None|None|10
OutputVector|output|Splitted by vertices OutputVector|output|Split by vertices

View File

@ -44,8 +44,8 @@ class Datasources2Vrt(GeoAlgorithm):
""" This algorithm merge the layers of different data sources in """ This algorithm merge the layers of different data sources in
a single vrt file a single vrt file
This algo is expecially useful in case an algo need multiple layers This algo is especially useful in case an algo need multiple layers
but accept only one vrt in wich the layers are specified but accept only one vrt in which the layers are specified
""" """
# Constants used to refer to parameters and outputs. # Constants used to refer to parameters and outputs.
@ -124,7 +124,7 @@ class Datasources2Vrt(GeoAlgorithm):
####################################################### #######################################################
# function to do the work # function to do the work
# fuction so it can be included in other code # function so it can be included in other code
# IT NOT POSSIBILE TO ADD THIS FUNCTION AS Datasources2Vrt # IT NOT POSSIBILE TO ADD THIS FUNCTION AS Datasources2Vrt
# CLASS METHOD => SET AS SIMPLE FUNCTION # CLASS METHOD => SET AS SIMPLE FUNCTION
####################################################### #######################################################
@ -132,7 +132,7 @@ def mergeDataSources2Vrt(data_sources=[],
outfile=None, outfile=None,
relative=False, relative=False,
schema=False, schema=False,
progress=None): # progress is pased because of avoid interferences with GeoAlgorithm progress=None): # progress is passed because of avoid interferences with GeoAlgorithm
'''Function to do the work of merging datasources in a single vrt format '''Function to do the work of merging datasources in a single vrt format
@param data_sources: Array of path strings @param data_sources: Array of path strings

View File

@ -910,12 +910,12 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
- fixing Requires statements for sub-packages - fixing Requires statements for sub-packages
* Tue May 15 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.0-2 * Tue May 15 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.0-2
- added devel dependancy on qgis - added devel dependency on qgis
- moved qgis-config to devel package - moved qgis-config to devel package
- moving doc directory - moving doc directory
- removed zero-length NEWS doc - removed zero-length NEWS doc
- added postin/postun ldconfig calls - added postin/postun ldconfig calls
- split packages up to reduce package size and split out dependancies - split packages up to reduce package size and split out dependencies
grass, theme-nkids grass, theme-nkids
* Mon May 14 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.0-1 * Mon May 14 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.0-1

View File

@ -473,3 +473,4 @@ an other:another
swaped:swapped swaped:swapped
stoped:stopped stoped:stopped
tranform:transform tranform:transform
wich:which

View File

@ -36,7 +36,7 @@ struct ANALYSIS_EXPORT QgsRasterCalculatorEntry
int bandNumber; //raster band number int bandNumber; //raster band number
}; };
/**Raster calculator class*/ /** Raster calculator class*/
class ANALYSIS_EXPORT QgsRasterCalculator class ANALYSIS_EXPORT QgsRasterCalculator
{ {
public: public:
@ -67,10 +67,9 @@ class ANALYSIS_EXPORT QgsRasterCalculator
QgsRasterCalculator( const QString& formulaString, const QString& outputFile, const QString& outputFormat, QgsRasterCalculator( const QString& formulaString, const QString& outputFile, const QString& outputFormat,
const QgsRectangle& outputExtent, const QgsCoordinateReferenceSystem& outputCrs, int nOutputColumns, int nOutputRows, const QVector<QgsRasterCalculatorEntry>& rasterEntries ); const QgsRectangle& outputExtent, const QgsCoordinateReferenceSystem& outputCrs, int nOutputColumns, int nOutputRows, const QVector<QgsRasterCalculatorEntry>& rasterEntries );
~QgsRasterCalculator(); ~QgsRasterCalculator();
/**Starts the calculation and writes new raster /** Starts the calculation and writes new raster
@param p progress bar (or 0 if called from non-gui code) @param p progress bar (or 0 if called from non-gui code)
@return 0 in case of success*/ @return 0 in case of success*/
int processCalculation( QProgressDialog* p = 0 ); int processCalculation( QProgressDialog* p = 0 );
@ -79,15 +78,15 @@ class ANALYSIS_EXPORT QgsRasterCalculator
//default constructor forbidden. We need formula, output file, output format and output raster resolution obligatory //default constructor forbidden. We need formula, output file, output format and output raster resolution obligatory
QgsRasterCalculator(); QgsRasterCalculator();
/**Opens the output driver and tests if it supports the creation of a new dataset /** Opens the output driver and tests if it supports the creation of a new dataset
@return NULL on error and the driver handle on success*/ @return NULL on error and the driver handle on success*/
GDALDriverH openOutputDriver(); GDALDriverH openOutputDriver();
/**Opens the output file and sets the same geotransform and CRS as the input data /** Opens the output file and sets the same geotransform and CRS as the input data
@return the output dataset or NULL in case of error*/ @return the output dataset or NULL in case of error*/
GDALDatasetH openOutputFile( GDALDriverH outputDriver ); GDALDatasetH openOutputFile( GDALDriverH outputDriver );
/**Sets gdal 6 parameters array from mOutputRectangle, mNumOutputColumns, mNumOutputRows /** Sets gdal 6 parameters array from mOutputRectangle, mNumOutputColumns, mNumOutputRows
@param transform double[6] array that receives the GDAL parameters*/ @param transform double[6] array that receives the GDAL parameters*/
void outputGeoTransform( double* transform ) const; void outputGeoTransform( double* transform ) const;
@ -95,13 +94,13 @@ class ANALYSIS_EXPORT QgsRasterCalculator
QString mOutputFile; QString mOutputFile;
QString mOutputFormat; QString mOutputFormat;
/**Output raster extent*/ /** Output raster extent*/
QgsRectangle mOutputRectangle; QgsRectangle mOutputRectangle;
QgsCoordinateReferenceSystem mOutputCrs; QgsCoordinateReferenceSystem mOutputCrs;
/**Number of output columns*/ /** Number of output columns*/
int mNumOutputColumns; int mNumOutputColumns;
/**Number of output rows*/ /** Number of output rows*/
int mNumOutputRows; int mNumOutputRows;
/***/ /***/

View File

@ -271,9 +271,9 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl ) :
QString proxyExcludedURLs = settings.value( "proxy/proxyExcludedUrls", "" ).toString(); QString proxyExcludedURLs = settings.value( "proxy/proxyExcludedUrls", "" ).toString();
if ( !proxyExcludedURLs.isEmpty() ) if ( !proxyExcludedURLs.isEmpty() )
{ {
QStringList splittedUrls = proxyExcludedURLs.split( "|" ); QStringList splitUrls = proxyExcludedURLs.split( "|" );
QStringList::const_iterator urlIt = splittedUrls.constBegin(); QStringList::const_iterator urlIt = splitUrls.constBegin();
for ( ; urlIt != splittedUrls.constEnd(); ++urlIt ) for ( ; urlIt != splitUrls.constEnd(); ++urlIt )
{ {
QListWidgetItem* newItem = new QListWidgetItem( mExcludeUrlListWidget ); QListWidgetItem* newItem = new QListWidgetItem( mExcludeUrlListWidget );
newItem->setText( *urlIt ); newItem->setText( *urlIt );

View File

@ -34,7 +34,7 @@ class CORE_EXPORT QgsStringUtils
* @param string1 first string * @param string1 first string
* @param string2 second string * @param string2 second string
* @param caseSensitive set to true for case sensitive comparison * @param caseSensitive set to true for case sensitive comparison
* @returns edit distance. Lower distances indicate more similiar strings. * @returns edit distance. Lower distances indicate more similar strings.
*/ */
static int levenshteinDistance( const QString &string1, const QString &string2, bool caseSensitive = false ); static int levenshteinDistance( const QString &string1, const QString &string2, bool caseSensitive = false );

View File

@ -476,7 +476,7 @@ class GRASS_LIB_EXPORT QgsGrass : public QObject
static void sleep( int ms ); static void sleep( int ms );
signals: signals:
/** Signal emited after mapset was opened */ /** Signal emitted after mapset was opened */
void mapsetChanged(); void mapsetChanged();
/** Emitted when path to modules config dir changed */ /** Emitted when path to modules config dir changed */

View File

@ -172,7 +172,7 @@ void QgsServer::printRequestParameters( const QMap< QString, QString>& parameter
} }
/** /**
* @brief QgsServer::printRequestInfos prints debug informations about the request * @brief QgsServer::printRequestInfos prints debug information about the request
*/ */
void QgsServer::printRequestInfos() void QgsServer::printRequestInfos()
{ {