Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Dox++
  • Loading branch information
nyalldawson committed Jul 19, 2018
1 parent ba10d1b commit b747ff6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Expand Up @@ -288,6 +288,8 @@ is supported by provider.

A null QVariant will be returned if the point is outside data source extent.

.. seealso:: :py:func:`identify`

.. versionadded:: 3.4
%End

Expand Down
3 changes: 2 additions & 1 deletion src/core/raster/qgsrasterdataprovider.h
Expand Up @@ -355,7 +355,7 @@ class CORE_EXPORT QgsRasterDataProvider : public QgsDataProvider, public QgsRast
* Empty if failed or there are no results (TODO: better error reporting).
* \note The arbitraryness of the returned document is enforced by WMS standards
* up to at least v1.3.0
* \see sample()
* \see sample(), which is much more efficient for simple "value at point" queries.
*/
virtual QgsRasterIdentifyResult identify( const QgsPointXY &point, QgsRaster::IdentifyFormat format, const QgsRectangle &boundingBox = QgsRectangle(), int width = 0, int height = 0, int dpi = 96 );

Expand All @@ -369,6 +369,7 @@ class CORE_EXPORT QgsRasterDataProvider : public QgsDataProvider, public QgsRast
*
* A null QVariant will be returned if the point is outside data source extent.
*
* \see identify(), which is much more flexible but considerably less efficient.
* \since QGIS 3.4
*/
virtual QVariant sample( const QgsPointXY &point, int band, const QgsRectangle &boundingBox = QgsRectangle(), int width = 0, int height = 0, int dpi = 96 );
Expand Down

0 comments on commit b747ff6

Please sign in to comment.