Skip to content
Permalink
Browse files

Mark srsDimesion unused - see 93e0259#commitcomment-2871379

  • Loading branch information
timlinux committed Mar 30, 2013
1 parent 5602c8e commit fb0ab57d3cf83ec2fd951ff71e4d4cd95975e479
Showing with 8 additions and 2 deletions.
  1. +8 −2 src/core/qgsogcutils.cpp
@@ -865,7 +865,7 @@ bool QgsOgcUtils::readGMLPositions( std::list<QgsPoint>& coords, const QDomEleme
{
//tupel and coord separator are the same
QString coordSeparator = " ";
QString tupelSeparator = " ";
QString tupleSeparator = " ";
//"decimal" has to be "."


@@ -893,7 +893,9 @@ bool QgsOgcUtils::readGMLPositions( std::list<QgsPoint>& coords, const QDomEleme
srsDimension = 2;
}
}

//srsDimension was added by rdlhont for future support of 3d geometries
//currently it is unused so I have marked it as such. TS
Q_UNUSED(srsDimension);
for ( int i = 0; i < posSize / srsDimension; i++ )
{
x = pos.at( i * srsDimension ).toDouble( &conversionSuccess );
@@ -974,6 +976,10 @@ QgsRectangle QgsOgcUtils::rectangleFromGMLEnvelope( const QDomNode& envelopeNode
srsDimension = 2;
}
}
//srsDimension was added by rdlhont for future support of 3d geometries
//currently it is unused so I have marked it as such. TS
Q_UNUSED(srsDimension);

bString = elem.text();
double xmax = bString.section( " ", 0, 0 ).toDouble( &conversionSuccess );
if ( !conversionSuccess )

0 comments on commit fb0ab57

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