mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
fix compile error
git-svn-id: http://svn.osgeo.org/qgis/trunk@12644 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
51580ee266
commit
d70578b8d5
@ -8107,17 +8107,17 @@ Fehler war:%2</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/core/qgscoordinatetransform.cpp" line="456"/>
|
<location filename="../src/core/qgscoordinatetransform.cpp" line="456"/>
|
||||||
<source>inverse</source>
|
<source>inverse transform</source>
|
||||||
<translation>Rücktransformation</translation>
|
<translation>Rücktransformation</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/core/qgscoordinatetransform.cpp" line="463"/>
|
<location filename="../src/core/qgscoordinatetransform.cpp" line="463"/>
|
||||||
<source>forward</source>
|
<source>forward transform</source>
|
||||||
<translation>Transformation</translation>
|
<translation>Transformation</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/core/qgscoordinatetransform.cpp" line="483"/>
|
<location filename="../src/core/qgscoordinatetransform.cpp" line="483"/>
|
||||||
<source>%1 transform of
|
<source>%1 of
|
||||||
%2
|
%2
|
||||||
failed with error: %3
|
failed with error: %3
|
||||||
</source>
|
</source>
|
||||||
|
@ -453,14 +453,14 @@ void QgsCoordinateTransform::transformCoords( const int& numPoints, double *x, d
|
|||||||
if ( direction == ReverseTransform )
|
if ( direction == ReverseTransform )
|
||||||
{
|
{
|
||||||
projResult = pj_transform( mDestinationProjection, mSourceProjection, numPoints, 0, x, y, z );
|
projResult = pj_transform( mDestinationProjection, mSourceProjection, numPoints, 0, x, y, z );
|
||||||
dir = tr( "inverse" );
|
dir = tr( "inverse transform" );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
assert( mSourceProjection != 0 );
|
assert( mSourceProjection != 0 );
|
||||||
assert( mDestinationProjection != 0 );
|
assert( mDestinationProjection != 0 );
|
||||||
projResult = pj_transform( mSourceProjection, mDestinationProjection, numPoints, 0, x, y, z );
|
projResult = pj_transform( mSourceProjection, mDestinationProjection, numPoints, 0, x, y, z );
|
||||||
dir = tr( "forward" );
|
dir = tr( "forward transform" );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( projResult != 0 )
|
if ( projResult != 0 )
|
||||||
@ -480,10 +480,10 @@ void QgsCoordinateTransform::transformCoords( const int& numPoints, double *x, d
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QString msg = tr("%1 transform of\n%2\nfailed with error: %3\n")
|
QString msg = tr("%1 of\n%2\nfailed with error: %3\n")
|
||||||
.arg( dir )
|
.arg( dir )
|
||||||
.arg( points )
|
.arg( points )
|
||||||
.arg( QString::fromUtf8( pj_strerrno( projResult ) ) ) );
|
.arg( QString::fromUtf8( pj_strerrno( projResult ) ) );
|
||||||
|
|
||||||
QgsDebugMsg( "Projection failed emitting invalid transform signal: " + msg );
|
QgsDebugMsg( "Projection failed emitting invalid transform signal: " + msg );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user