Skip to content

Commit af17b56

Browse files
committedJul 3, 2014
Typo fixes from Rome airport
1 parent 2f5d118 commit af17b56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/mapserver/qgswmsserver.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ int QgsWMSServer::getFeatureInfo( QDomDocument& result, QString version )
10621062
QgsDebugMsg( QString( "mMapRenderer width = %1 height = %2" ).arg( mMapRenderer->outputSize().width() ).arg( mMapRenderer->outputSize().height() ) );
10631063
QgsDebugMsg( QString( "mMapRenderer->mapUnitsPerPixel() = %1" ).arg( mMapRenderer->mapUnitsPerPixel() ) );
10641064

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
10661066
QgsScaleCalculator scaleCalc(( outputImage->logicalDpiX() + outputImage->logicalDpiY() ) / 2 , mMapRenderer->destinationCrs().mapUnits() );
10671067
QgsRectangle mapExtent = mMapRenderer->extent();
10681068
double scaleDenominator = scaleCalc.calculate( mapExtent, outputImage->width() );
@@ -1507,7 +1507,7 @@ int QgsWMSServer::configureMapRender( const QPaintDevice* paintDevice ) const
15071507
QgsCoordinateReferenceSystem outputCRS;
15081508

15091509
//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
15111511
if ( crs.isEmpty() )
15121512
{
15131513
//disable on the fly projection
@@ -1649,7 +1649,7 @@ int QgsWMSServer::infoPointToLayerCoordinates( int i, int j, QgsPoint* layerCoor
16491649
// use pixel center instead of corner
16501650
// Unfortunately going through pixel (integer) we cannot reconstruct precisely
16511651
// 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
16531653
mapPoint.setX( mapPoint.x() + xRes / 2 );
16541654
mapPoint.setY( mapPoint.y() - yRes / 2 );
16551655

0 commit comments

Comments
 (0)
Please sign in to comment.