@@ -1062,7 +1062,7 @@ int QgsWMSServer::getFeatureInfo( QDomDocument& result, QString version )
1062
1062
QgsDebugMsg ( QString ( " mMapRenderer width = %1 height = %2" ).arg ( mMapRenderer ->outputSize ().width () ).arg ( mMapRenderer ->outputSize ().height () ) );
1063
1063
QgsDebugMsg ( QString ( " mMapRenderer->mapUnitsPerPixel() = %1" ).arg ( mMapRenderer ->mapUnitsPerPixel () ) );
1064
1064
1065
- // find out the current scale denominater and set it to the SLD parser
1065
+ // find out the current scale denominator and set it to the SLD parser
1066
1066
QgsScaleCalculator scaleCalc (( outputImage->logicalDpiX () + outputImage->logicalDpiY () ) / 2 , mMapRenderer ->destinationCrs ().mapUnits () );
1067
1067
QgsRectangle mapExtent = mMapRenderer ->extent ();
1068
1068
double scaleDenominator = scaleCalc.calculate ( mapExtent, outputImage->width () );
@@ -1507,7 +1507,7 @@ int QgsWMSServer::configureMapRender( const QPaintDevice* paintDevice ) const
1507
1507
QgsCoordinateReferenceSystem outputCRS;
1508
1508
1509
1509
// wms spec says that CRS parameter is mandatory.
1510
- // we don't rejeict the request if it is not there but disable reprojection on the fly
1510
+ // we don't reject the request if it is not there but disable reprojection on the fly
1511
1511
if ( crs.isEmpty () )
1512
1512
{
1513
1513
// disable on the fly projection
@@ -1649,7 +1649,7 @@ int QgsWMSServer::infoPointToLayerCoordinates( int i, int j, QgsPoint* layerCoor
1649
1649
// use pixel center instead of corner
1650
1650
// Unfortunately going through pixel (integer) we cannot reconstruct precisely
1651
1651
// the coordinate clicked on client and thus result may differ from
1652
- // the same raster loaded and queried localy on client
1652
+ // the same raster loaded and queried locally on client
1653
1653
mapPoint.setX ( mapPoint.x () + xRes / 2 );
1654
1654
mapPoint.setY ( mapPoint.y () - yRes / 2 );
1655
1655
0 commit comments