diff --git a/src/core/maprenderer/qgsmaprendererjob.cpp b/src/core/maprenderer/qgsmaprendererjob.cpp index 6b798f038cca..ab675d3a3600 100644 --- a/src/core/maprenderer/qgsmaprendererjob.cpp +++ b/src/core/maprenderer/qgsmaprendererjob.cpp @@ -374,6 +374,8 @@ QImage *QgsMapRendererJob::allocateImage( QString layerId ) QImage *image = new QImage( mSettings.deviceOutputSize(), mSettings.outputImageFormat() ); image->setDevicePixelRatio( static_cast( mSettings.devicePixelRatio() ) ); + image->setDotsPerMeterX( 1000 * mSettings.outputDpi() / 25.4 ); + image->setDotsPerMeterY( 1000 * mSettings.outputDpi() / 25.4 ); if ( image->isNull() ) { mErrors.append( Error( layerId, tr( "Insufficient memory for image %1x%2" ).arg( mSettings.outputSize().width() ).arg( mSettings.outputSize().height() ) ) ); diff --git a/src/core/raster/qgsrasterlayerrenderer.cpp b/src/core/raster/qgsrasterlayerrenderer.cpp index 39d67ad47a91..98b20cd5be54 100644 --- a/src/core/raster/qgsrasterlayerrenderer.cpp +++ b/src/core/raster/qgsrasterlayerrenderer.cpp @@ -203,10 +203,11 @@ QgsRasterLayerRenderer::QgsRasterLayerRenderer( QgsRasterLayer *layer, QgsRender mRasterViewPort->mHeight = static_cast( std::abs( mRasterViewPort->mBottomRightPoint.y() - mRasterViewPort->mTopLeftPoint.y() ) ); + const double dpi = 25.4 * rendererContext.scaleFactor(); if ( mProviderCapabilities & QgsRasterDataProvider::DpiDependentData && rendererContext.dpiTarget() >= 0.0 ) { - const double dpiScaleFactor = rendererContext.dpiTarget() / rendererContext.painter()->device()->logicalDpiX(); + const double dpiScaleFactor = rendererContext.dpiTarget() / dpi; mRasterViewPort->mWidth *= dpiScaleFactor; mRasterViewPort->mHeight *= dpiScaleFactor; } @@ -240,8 +241,7 @@ QgsRasterLayerRenderer::QgsRasterLayerRenderer( QgsRasterLayer *layer, QgsRender // TODO R->mLastViewPort = *mRasterViewPort; // TODO: is it necessary? Probably WMS only? - layer->dataProvider()->setDpi( 25.4 * rendererContext.scaleFactor() ); - + layer->dataProvider()->setDpi( dpi ); // copy the whole raster pipe! mPipe = new QgsRasterPipe( *layer->pipe() ); @@ -372,4 +372,3 @@ bool QgsRasterLayerRenderer::forceRasterRender() const // preview of intermediate raster rendering results requires a temporary output image return renderContext()->testFlag( Qgis::RenderContextFlag::RenderPartialOutput ); } - diff --git a/tests/src/python/test_selective_masking.py b/tests/src/python/test_selective_masking.py index 9cf562670ebb..2e9d4a6c6c77 100644 --- a/tests/src/python/test_selective_masking.py +++ b/tests/src/python/test_selective_masking.py @@ -124,6 +124,8 @@ def setUp(self): # polygon layer with a rule based labeling self.polys_layer2 = QgsProject.instance().mapLayersByName('polys2')[0] + self.raster_layer = QgsProject.instance().mapLayersByName('raster_layer')[0] + # try to fix the font for where labels are defined # in order to have more stable image comparison tests for layer in [self.polys_layer, self.lines_with_labels, self.polys_layer2]: @@ -755,6 +757,27 @@ def test_layout_exports(self): self.report += self.checker.report() self.assertTrue(res) + def test_different_dpi_target(self): + """Test with raster layer and a target dpi""" + + # modify labeling settings + label_settings = self.polys_layer.labeling().settings() + fmt = label_settings.format() + # enable a mask + fmt.mask().setEnabled(True) + fmt.mask().setSize(4.0) + # and mask other symbol layers underneath + fmt.mask().setMaskedSymbolLayers([ + # the black part of roads + QgsSymbolLayerReference(self.lines_layer.id(), QgsSymbolLayerId("", 0))]) + + label_settings.setFormat(fmt) + self.polys_layer.labeling().setSettings(label_settings) + + self.map_settings.setLayers([self.lines_layer, self.polys_layer, self.raster_layer]) + self.map_settings.setDpiTarget(300) + self.check_renderings(self.map_settings, "different_dpi_target") + if __name__ == '__main__': start_app() diff --git a/tests/testdata/control_images/selective_masking/different_dpi_target/different_dpi_target.png b/tests/testdata/control_images/selective_masking/different_dpi_target/different_dpi_target.png new file mode 100644 index 000000000000..93f97163ee2a Binary files /dev/null and b/tests/testdata/control_images/selective_masking/different_dpi_target/different_dpi_target.png differ diff --git a/tests/testdata/selective_masking.qgs b/tests/testdata/selective_masking.qgs index b99b4955a213..2feec9265632 100644 --- a/tests/testdata/selective_masking.qgs +++ b/tests/testdata/selective_masking.qgs @@ -1,5 +1,5 @@ - + @@ -7,7 +7,7 @@ - GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["unknown"],AREA["World"],BBOX[-90,-180,90,180]],ID["EPSG",4326]] + GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] +proj=longlat +datum=WGS84 +no_defs 3452 4326 @@ -19,24 +19,43 @@ - - - + + + + + - - + + + - - + + + - - + + + + + + + - - + + + - - + + + lines_ef106202_b4e1_49c4_a3d0_b65eb8bbb6d6 @@ -45,16 +64,17 @@ polys_838fcb2e_39b2_43e9_8c93_08395c053d89 lines_202ba6f8_21e4_4458_8ebf_c2ff9898a9a1 lines_190b33d5_aa3c_407d_8fb9_375651a6d83a + raster_layer_3a3513ba_d151_47ac_8f32_81acefd9b13e - + - - - - - - + + + + + + @@ -62,15 +82,15 @@ degrees - -122.462125075082227 - 4.99590595158433715 - -48.33097241763677232 - 53.24278440322343897 + -156.605339254933142 + 21.52141156297253133 + -82.47418659748768732 + 69.76829001461163671 0 - GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["unknown"],AREA["World"],BBOX[-90,-180,90,180]],ID["EPSG",4326]] + GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] +proj=longlat +datum=WGS84 +no_defs 3452 4326 @@ -86,40 +106,44 @@ - + - + - + - + - + - + + + + - - + Annotations_7e548daf_5f31_4431_a6e4_5097d85036c6 @@ -167,15 +191,22 @@ 1 0 + - + -117.62319839219053108 23.20820580488508966 -82.32264950769274492 46.18290982947509349 + + -117.62319839219053108 + 23.20820580488508966 + -82.32264950769274492 + 46.18290982947509349 + lines_190b33d5_aa3c_407d_8fb9_375651a6d83a ./lines.shp @@ -184,7 +215,7 @@ lines_with_labels - GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["unknown"],AREA["World"],BBOX[-90,-180,90,180]],ID["EPSG",4326]] + GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] +proj=longlat +datum=WGS84 +no_defs 3452 4326 @@ -228,7 +259,7 @@ - + @@ -246,131 +277,156 @@ + 1 1 1 0 - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -381,194 +437,254 @@ - - - - - + + + + + + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - + + + - - - - - + 0 0 1 - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -576,12 +692,12 @@ - + @@ -589,7 +705,7 @@ - + @@ -622,40 +738,40 @@ - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - + - + - @@ -691,21 +807,28 @@ def my_form_open(dialog, layer, feature): - - + + + Name - + -117.62319839219053108 23.20820580488508966 -82.32264950769274492 46.18290982947509349 + + -117.62319839219053108 + 23.20820580488508966 + -82.32264950769274492 + 46.18290982947509349 + lines_202ba6f8_21e4_4458_8ebf_c2ff9898a9a1 ./lines.shp @@ -714,7 +837,7 @@ def my_form_open(dialog, layer, feature): lines2 - GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["unknown"],AREA["World"],BBOX[-90,-180,90,180]],ID["EPSG",4326]] + GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] +proj=longlat +datum=WGS84 +no_defs 3452 4326 @@ -758,7 +881,7 @@ def my_form_open(dialog, layer, feature): - + @@ -776,173 +899,190 @@ def my_form_open(dialog, layer, feature): + 1 1 1 0 - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -954,76 +1094,90 @@ def my_form_open(dialog, layer, feature): - - - + 0 0 1 - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1031,12 +1185,12 @@ def my_form_open(dialog, layer, feature): - + @@ -1044,7 +1198,7 @@ def my_form_open(dialog, layer, feature): - + @@ -1063,30 +1217,30 @@ def my_form_open(dialog, layer, feature): - - + + - - + + - - + + - - + + - + - + - @@ -1122,21 +1276,28 @@ def my_form_open(dialog, layer, feature): - - + + + Name - + -117.62319839219053108 23.20820580488508966 -82.32264950769274492 46.18290982947509349 + + -117.62319839219053108 + 23.20820580488508966 + -82.32264950769274492 + 46.18290982947509349 + lines_ef106202_b4e1_49c4_a3d0_b65eb8bbb6d6 ./lines.shp @@ -1145,7 +1306,7 @@ def my_form_open(dialog, layer, feature): lines - GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["unknown"],AREA["World"],BBOX[-90,-180,90,180]],ID["EPSG",4326]] + GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] +proj=longlat +datum=WGS84 +no_defs 3452 4326 @@ -1189,7 +1350,7 @@ def my_form_open(dialog, layer, feature): - + @@ -1207,131 +1368,156 @@ def my_form_open(dialog, layer, feature): + 1 1 1 0 - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1341,76 +1527,90 @@ def my_form_open(dialog, layer, feature): - - - + 0 0 1 - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1418,12 +1618,12 @@ def my_form_open(dialog, layer, feature): - + @@ -1431,7 +1631,7 @@ def my_form_open(dialog, layer, feature): - + @@ -1450,30 +1650,30 @@ def my_form_open(dialog, layer, feature): - - + + - - + + - - + + - - + + - + - + - @@ -1509,21 +1709,28 @@ def my_form_open(dialog, layer, feature): - - + + + Name - + -118.88888888888877204 22.80020703933767834 -83.33333333333315807 46.87198067632875365 + + -118.88888888888877204 + 22.80020703933767834 + -83.33333333333315807 + 46.87198067632875365 + points_7f6b06bb_eb6d_486a_af0e_a5f4d56d2188 ./points.shp @@ -1532,7 +1739,7 @@ def my_form_open(dialog, layer, feature): points - GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["unknown"],AREA["World"],BBOX[-90,-180,90,180]],ID["EPSG",4326]] + GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] +proj=longlat +datum=WGS84 +no_defs 3452 4326 @@ -1576,7 +1783,7 @@ def my_form_open(dialog, layer, feature): - + @@ -1594,189 +1801,190 @@ def my_form_open(dialog, layer, feature): + 1 1 1 0 - + - + - - - + + + - + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -1787,126 +1995,185 @@ def my_form_open(dialog, layer, feature): - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - + 0 0 1 - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1914,12 +2181,12 @@ def my_form_open(dialog, layer, feature): - + @@ -1927,7 +2194,7 @@ def my_form_open(dialog, layer, feature): - + @@ -1974,50 +2241,50 @@ def my_form_open(dialog, layer, feature): - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - + - + - @@ -2057,25 +2324,32 @@ def my_form_open(dialog, layer, feature): - - - - - - + + + + + + + Class - + -118.92286230599032137 24.50786971868489061 -83.79001199101509201 46.72617265077044379 + + -118.92286230599032137 + 24.50786971868489061 + -83.79001199101509201 + 46.72617265077044379 + polys_838fcb2e_39b2_43e9_8c93_08395c053d89 ./polys.shp @@ -2084,7 +2358,7 @@ def my_form_open(dialog, layer, feature): polys2 - GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["unknown"],AREA["World"],BBOX[-90,-180,90,180]],ID["EPSG",4326]] + GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] +proj=longlat +datum=WGS84 +no_defs 3452 4326 @@ -2128,7 +2402,7 @@ def my_form_open(dialog, layer, feature): - + @@ -2146,58 +2420,59 @@ def my_form_open(dialog, layer, feature): + 1 1 1 0 - + - + - + - + - - - - - - - - - - - + + + + + + + + + + + @@ -2210,216 +2485,308 @@ def my_form_open(dialog, layer, feature): - - - - - + + + + + + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - + + + - - + - - - - - + + + + + + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - + + + - @@ -2427,76 +2794,90 @@ def my_form_open(dialog, layer, feature): - - - + 0 0 1 - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2504,12 +2885,12 @@ def my_form_open(dialog, layer, feature): - + @@ -2517,7 +2898,7 @@ def my_form_open(dialog, layer, feature): - + @@ -2536,30 +2917,30 @@ def my_form_open(dialog, layer, feature): - - + + - - + + - - + + - - + + - + - + - @@ -2595,21 +2976,28 @@ def my_form_open(dialog, layer, feature): - - + + + Name - + -118.92286230599032137 24.50786971868489061 -83.79001199101509201 46.72617265077044379 + + -118.92286230599032137 + 24.50786971868489061 + -83.79001199101509201 + 46.72617265077044379 + polys_fd5b513a_c3b6_4551_9799_1695824d83f0 ./polys.shp @@ -2618,7 +3006,7 @@ def my_form_open(dialog, layer, feature): polys - GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["unknown"],AREA["World"],BBOX[-90,-180,90,180]],ID["EPSG",4326]] + GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] +proj=longlat +datum=WGS84 +no_defs 3452 4326 @@ -2662,7 +3050,7 @@ def my_form_open(dialog, layer, feature): - + @@ -2680,58 +3068,59 @@ def my_form_open(dialog, layer, feature): + 1 1 1 0 - + - + - + - + - - - - - - - - - - - + + + + + + + + + + + @@ -2742,183 +3131,243 @@ def my_form_open(dialog, layer, feature): - - - - - + + + + + + - + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - + + + - - - - + 0 0 1 - + - + - + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2926,12 +3375,12 @@ def my_form_open(dialog, layer, feature): - + @@ -2939,7 +3388,7 @@ def my_form_open(dialog, layer, feature): - + @@ -2958,30 +3407,30 @@ def my_form_open(dialog, layer, feature): - - + + - - + + - - + + - - + + - + - + - @@ -3017,14 +3466,144 @@ def my_form_open(dialog, layer, feature): - - + + + Name + + + -124.09128184172698184 + 10.07973075499999993 + -74.74135956027302541 + 56.20799638900000161 + + + -124.09128184172698184 + 10.07973075499999993 + -74.74135956027302541 + 56.20799638900000161 + + raster_layer_3a3513ba_d151_47ac_8f32_81acefd9b13e + ./raster_layer.tiff + + + + raster_layer + + + GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] + +proj=longlat +datum=WGS84 +no_defs + 3452 + 4326 + EPSG:4326 + WGS 84 + longlat + EPSG:7030 + true + + + + + + + + + + + + + + + + + 0 + 0 + + + + + false + + + + + gdal + + + + + + + + + + + + 1 + 1 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + MinMax + WholeRaster + Estimated + 0.02 + 0.98 + 2 + + + 255 + 255 + NoEnhancement + + + 96 + 255 + NoEnhancement + + + 17 + 255 + NoEnhancement + + + + + + resamplingFilter + + 0 + @@ -3033,6 +3612,7 @@ def my_form_open(dialog, layer, feature): + @@ -3086,9 +3666,9 @@ def my_form_open(dialog, layer, feature): @@ -3109,9 +3689,9 @@ def my_form_open(dialog, layer, feature): - + - GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["unknown"],AREA["World"],BBOX[-90,-180,90,180]],ID["EPSG",4326]] + GEOGCRS["WGS 84",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]] +proj=longlat +datum=WGS84 +no_defs 3452 4326 @@ -3123,18 +3703,18 @@ def my_form_open(dialog, layer, feature): - +