16#ifndef QGSTERRAINDOWNLOADER_H
17#define QGSTERRAINDOWNLOADER_H
87 double findBestTileResolution(
double requestedMupp )
const;
92 static void adjustExtentAndResolution(
double mupp,
const QgsRectangle &extentOrig,
QgsRectangle &extent,
int &res );
98 static void tileImageToHeightMap(
const QImage &img, QByteArray &heightMap );
101 DataSource mDataSource;
102 std::unique_ptr<QgsRasterLayer> mOnlineDtm;
This class represents a coordinate reference system (CRS).
Contains information about the context in which a coordinate transform is executed.
Represents a raster layer.
A rectangle specified with double values.
DataSource dataSource() const
Returns currently configured data source.
Definition of data source for terrain tiles (assuming "terrarium" data encoding with usual XYZ tiling...
QString uri
HTTP(S) template for XYZ tiles requests (e.g. http://example.com/{z}/{x}/{y}.png)