mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix after review
This commit is contained in:
parent
140425b1e3
commit
d4e60173bc
@ -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 @@ Usage:
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user