Skip to content
Permalink
Browse files

fix some warnings

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13080 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Mar 19, 2010
1 parent ee2123e commit a3a7a0d706f80aafc2acd38d9d73476f4d3588fb
Showing with 5 additions and 39 deletions.
  1. +2 −36 src/analysis/interpolation/Vector3D.h
  2. +3 −3 src/analysis/vector/qgszonalstatistics.cpp
@@ -25,8 +25,8 @@

class ANALYSIS_EXPORT Vector3D
/**
Class Vector3D represents a 3D-Vector, capable to store x-,y- and z-coordinates in double values. In fact, the class is the same as Point3D. The name 'vector' makes it easier to understand the programs.
*/
Class Vector3D represents a 3D-Vector, capable to store x-,y- and z-coordinates in double values. In fact, the class is the same as Point3D. The name 'vector' makes it easier to understand the programs.
*/

{
protected:
@@ -117,37 +117,3 @@ inline void Vector3D::setZ( double z )
}

#endif


































@@ -137,7 +137,7 @@ int QgsZonalStatistics::calculateStatistics( QProgressDialog* p )

while ( vectorProvider->nextFeature( f ) )
{
qWarning( QString::number( featureCounter ).toLocal8Bit().data() );
qWarning( "%d", featureCounter );
if ( p )
{
p->setValue( featureCounter );
@@ -338,7 +338,7 @@ void QgsZonalStatistics::statisticsFromMiddlePointTest_improved( void* band, Qgs
}

//debug
char* scanLineIntersectionType = GEOSGeomType( scanLineIntersection );
//char* scanLineIntersectionType = GEOSGeomType( scanLineIntersection );

int numGeoms = GEOSGetNumGeometries( scanLineIntersection );
if ( numGeoms < 1 )
@@ -372,7 +372,7 @@ void QgsZonalStatistics::statisticsFromMiddlePointTest_improved( void* band, Qgs
{
//error
}
for ( int k = 0; k < scanLineIntersectionSize; ++k )
for ( unsigned int k = 0; k < scanLineIntersectionSize; ++k )
{
GEOSCoordSeq_getX( scanLineCoordSequence, k, &currentValue );
scanLineList.push_back( currentValue );

0 comments on commit a3a7a0d

Please sign in to comment.
You can’t perform that action at this time.