16 #ifndef QGSTERRAINDOWNLOADER_H 17 #define QGSTERRAINDOWNLOADER_H 85 double findBestTileResolution(
double requestedMupp );
90 static void adjustExtentAndResolution(
double mupp,
const QgsRectangle &extentOrig,
QgsRectangle &extent,
int &res );
96 static void tileImageToHeightMap(
const QImage &img, QByteArray &heightMap );
100 std::unique_ptr<QgsRasterLayer> mOnlineDtm;
104 #endif // QGSTERRAINDOWNLOADER_H A rectangle specified with double values.
This class provides qgis with the ability to render raster datasets onto the mapcanvas.
QString uri
HTTP(S) template for XYZ tiles requests (e.g. http://example.com/{z}/{x}/{y}.png) ...
Definition of data source for terrain tiles (assuming "terrarium" data encoding with usual XYZ tiling...
DataSource dataSource() const
Returns currently configured data source.
Contains information about the context in which a coordinate transform is executed.
3 Takes care of downloading terrain data from a publicly available data source.
This class represents a coordinate reference system (CRS).