16 #ifndef QGSTERRAINDOWNLOADER_H
17 #define QGSTERRAINDOWNLOADER_H
90 double findBestTileResolution(
double requestedMupp );
95 static void adjustExtentAndResolution(
double mupp,
const QgsRectangle &extentOrig,
QgsRectangle &extent,
int &res );
101 static void tileImageToHeightMap(
const QImage &img, QByteArray &heightMap );
104 DataSource mDataSource;
105 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)