Fix after review

This commit is contained in:
Harrissou Sant-anna 2020-07-16 09:13:37 +02:00 committed by Nyall Dawson
parent 140425b1e3
commit d4e60173bc
5 changed files with 5 additions and 9 deletions

View File

@ -27,7 +27,7 @@ Usage:
result = exp.evaluate(feature, fields)
if exp.hasEvalError():
# show error message with evalErrorString()
else
else:
# examine the result
Three Value Logic

View File

@ -28,9 +28,7 @@ Sample usage of the QgsRasterLayer class:
.. code-block:: python
myFileNameQString = "/path/to/file"
myBaseNameQString = "my layer"
myRasterLayer = QgsRasterLayer(myFileNameQString, myBaseNameQString)
my_raster_layer = QgsRasterLayer("/path/to/file.tif", "my layer")
%End
%TypeHeaderCode

View File

@ -58,7 +58,7 @@ Usage:
result = exp.evaluate(feature, fields)
if exp.hasEvalError():
# show error message with evalErrorString()
else
else:
# examine the result
\endcode

View File

@ -108,7 +108,7 @@ typedef void ( *CUSTOM_CRS_VALIDATION )( QgsCoordinateReferenceSystem & ) SIP_SK
* CRS PROJ text: +proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 [output trimmed]
* \endcode
*
* \section crs_def_frmats CRS Definition Formats
* \section crs_def_formats CRS Definition Formats
*
* This section gives an overview of various supported CRS definition formats:
*

View File

@ -64,9 +64,7 @@ typedef QList < QPair< QString, QColor > > QgsLegendColorList;
* Sample usage of the QgsRasterLayer class:
*
* \code{.py}
* myFileNameQString = "/path/to/file"
* myBaseNameQString = "my layer"
* myRasterLayer = QgsRasterLayer(myFileNameQString, myBaseNameQString)
* my_raster_layer = QgsRasterLayer("/path/to/file.tif", "my layer")
* \endcode
*/
class CORE_EXPORT QgsRasterLayer : public QgsMapLayer