@@ -1753,10 +1753,10 @@ namespace QgsWms
1753
1753
{
1754
1754
QDomElement bBoxElem = infoDocument.createElement ( QStringLiteral ( " BoundingBox" ) );
1755
1755
bBoxElem.setAttribute ( version == QLatin1String ( " 1.1.1" ) ? " SRS" : " CRS" , outputCrs.authid () );
1756
- bBoxElem.setAttribute ( QStringLiteral ( " minx" ), qgsDoubleToString ( box.xMinimum (), getWMSPrecision () ) );
1757
- bBoxElem.setAttribute ( QStringLiteral ( " maxx" ), qgsDoubleToString ( box.xMaximum (), getWMSPrecision () ) );
1758
- bBoxElem.setAttribute ( QStringLiteral ( " miny" ), qgsDoubleToString ( box.yMinimum (), getWMSPrecision () ) );
1759
- bBoxElem.setAttribute ( QStringLiteral ( " maxy" ), qgsDoubleToString ( box.yMaximum (), getWMSPrecision () ) );
1756
+ bBoxElem.setAttribute ( QStringLiteral ( " minx" ), qgsDoubleToString ( box.xMinimum (), wmsPrecision () ) );
1757
+ bBoxElem.setAttribute ( QStringLiteral ( " maxx" ), qgsDoubleToString ( box.xMaximum (), wmsPrecision () ) );
1758
+ bBoxElem.setAttribute ( QStringLiteral ( " miny" ), qgsDoubleToString ( box.yMinimum (), wmsPrecision () ) );
1759
+ bBoxElem.setAttribute ( QStringLiteral ( " maxy" ), qgsDoubleToString ( box.yMaximum (), wmsPrecision () ) );
1760
1760
featureElement.appendChild ( bBoxElem );
1761
1761
}
1762
1762
@@ -1787,7 +1787,7 @@ namespace QgsWms
1787
1787
}
1788
1788
QDomElement geometryElement = infoDocument.createElement ( QStringLiteral ( " Attribute" ) );
1789
1789
geometryElement.setAttribute ( QStringLiteral ( " name" ), QStringLiteral ( " geometry" ) );
1790
- geometryElement.setAttribute ( QStringLiteral ( " value" ), geom.asWkt ( getWMSPrecision () ) );
1790
+ geometryElement.setAttribute ( QStringLiteral ( " value" ), geom.asWkt ( wmsPrecision () ) );
1791
1791
geometryElement.setAttribute ( QStringLiteral ( " type" ), QStringLiteral ( " derived" ) );
1792
1792
featureElement.appendChild ( geometryElement );
1793
1793
}
@@ -2459,11 +2459,11 @@ namespace QgsWms
2459
2459
QDomElement boxElem;
2460
2460
if ( version < 3 )
2461
2461
{
2462
- boxElem = QgsOgcUtils::rectangleToGMLBox ( &box, doc, getWMSPrecision () );
2462
+ boxElem = QgsOgcUtils::rectangleToGMLBox ( &box, doc, wmsPrecision () );
2463
2463
}
2464
2464
else
2465
2465
{
2466
- boxElem = QgsOgcUtils::rectangleToGMLEnvelope ( &box, doc, getWMSPrecision () );
2466
+ boxElem = QgsOgcUtils::rectangleToGMLEnvelope ( &box, doc, wmsPrecision () );
2467
2467
}
2468
2468
2469
2469
if ( crs.isValid () )
@@ -2487,11 +2487,11 @@ namespace QgsWms
2487
2487
QDomElement gmlElem;
2488
2488
if ( version < 3 )
2489
2489
{
2490
- gmlElem = QgsOgcUtils::geometryToGML ( geom, doc, getWMSPrecision () );
2490
+ gmlElem = QgsOgcUtils::geometryToGML ( geom, doc, wmsPrecision () );
2491
2491
}
2492
2492
else
2493
2493
{
2494
- gmlElem = QgsOgcUtils::geometryToGML ( geom, doc, QStringLiteral ( " GML3" ), getWMSPrecision () );
2494
+ gmlElem = QgsOgcUtils::geometryToGML ( geom, doc, QStringLiteral ( " GML3" ), wmsPrecision () );
2495
2495
}
2496
2496
2497
2497
if ( !gmlElem.isNull () )
@@ -2564,7 +2564,7 @@ namespace QgsWms
2564
2564
return value;
2565
2565
}
2566
2566
2567
- int QgsRenderer::getImageQuality () const
2567
+ int QgsRenderer::imageQuality () const
2568
2568
{
2569
2569
// First taken from QGIS project
2570
2570
int imageQuality = QgsServerProjectUtils::wmsImageQuality ( *mProject );
@@ -2578,7 +2578,7 @@ namespace QgsWms
2578
2578
return imageQuality;
2579
2579
}
2580
2580
2581
- int QgsRenderer::getWMSPrecision () const
2581
+ int QgsRenderer::wmsPrecision () const
2582
2582
{
2583
2583
// First taken from QGIS project and the default value is 6
2584
2584
int WMSPrecision = QgsServerProjectUtils::wmsFeatureInfoPrecision ( *mProject );
0 commit comments