Skip to content
Permalink
Browse files

#8725-R: no simplify point layers in postgres provider

  • Loading branch information
ahuarte47 authored and m-kuhn committed Jan 15, 2014
1 parent f37b056 commit 2c67e511cd05718d1ca764608bac743906f474c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresfeatureiterator.cpp
@@ -299,7 +299,7 @@ bool QgsPostgresFeatureIterator::declareCursor( const QString& whereClause )

QString query = "SELECT ", delim = "";

if ( mFetchGeometry && !simplifyMethod.forceLocalOptimization() && simplifyMethod.methodType() != QgsSimplifyMethod::NoSimplification )
if ( mFetchGeometry && !simplifyMethod.forceLocalOptimization() && simplifyMethod.methodType() != QgsSimplifyMethod::NoSimplification && QGis::flatType( QGis::singleType( P->geometryType() ) ) != QGis::WKBPoint )
{
QString simplifyFunctionName = simplifyMethod.methodType() == QgsSimplifyMethod::OptimizeForRendering
?

0 comments on commit 2c67e51

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