Package: qgis / 2.4.0-1

0001-Typo-fixes-from-Rome-airport.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 041eafdfeaae435e2ddb57b8d4f11d8aac7187be Mon Sep 17 00:00:00 2001
From: borys <info@borysjurgiel.pl>
Date: Thu, 3 Jul 2014 16:03:13 +0200
Subject: Typo fixes from Rome airport
Origin: https://github.com/qgis/QGIS/commit/041eafdfeaae435e2ddb57b8d4f11d8aac7187be


--- a/src/mapserver/qgswmsserver.cpp
+++ b/src/mapserver/qgswmsserver.cpp
@@ -1062,7 +1062,7 @@ int QgsWMSServer::getFeatureInfo( QDomDo
   QgsDebugMsg( QString( "mMapRenderer width = %1 height = %2" ).arg( mMapRenderer->outputSize().width() ).arg( mMapRenderer->outputSize().height() ) );
   QgsDebugMsg( QString( "mMapRenderer->mapUnitsPerPixel() = %1" ).arg( mMapRenderer->mapUnitsPerPixel() ) );
 
-  //find out the current scale denominater and set it to the SLD parser
+  //find out the current scale denominator and set it to the SLD parser
   QgsScaleCalculator scaleCalc(( outputImage->logicalDpiX() + outputImage->logicalDpiY() ) / 2 , mMapRenderer->destinationCrs().mapUnits() );
   QgsRectangle mapExtent = mMapRenderer->extent();
   double scaleDenominator = scaleCalc.calculate( mapExtent, outputImage->width() );
@@ -1507,7 +1507,7 @@ int QgsWMSServer::configureMapRender( co
   QgsCoordinateReferenceSystem outputCRS;
 
   //wms spec says that CRS parameter is mandatory.
-  //we don't rejeict the request if it is not there but disable reprojection on the fly
+  //we don't reject the request if it is not there but disable reprojection on the fly
   if ( crs.isEmpty() )
   {
     //disable on the fly projection
@@ -1649,7 +1649,7 @@ int QgsWMSServer::infoPointToLayerCoordi
   // use pixel center instead of corner
   // Unfortunately going through pixel (integer) we cannot reconstruct precisely
   // the coordinate clicked on client and thus result may differ from
-  // the same raster loaded and queried localy on client
+  // the same raster loaded and queried locally on client
   mapPoint.setX( mapPoint.x() + xRes / 2 );
   mapPoint.setY( mapPoint.y() - yRes / 2 );