Skip to content
Permalink
Browse files

Fix after review

  • Loading branch information
DelazJ authored and nyalldawson committed Jul 21, 2020
1 parent 140425b commit d4e60173bc07f6f07af3882beb48cac4d0067c1a
@@ -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
@@ -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
@@ -58,7 +58,7 @@ The expressions try to follow both syntax and semantics of SQL expressions.
result = exp.evaluate(feature, fields)
if exp.hasEvalError():
# show error message with evalErrorString()
else
else:
# examine the result
\endcode
@@ -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:
*
@@ -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

0 comments on commit d4e6017

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