Skip to content
Permalink
Browse files

[pal] Avoid overly eager truncation of polygon candidates for long sk…

…inny polygons
  • Loading branch information
nyalldawson committed Apr 30, 2020
1 parent ba7df72 commit d6381bc36c0d470b5684c0169d23a1832cd44535
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/pal/pal.cpp
@@ -312,7 +312,7 @@ std::unique_ptr<Problem> Pal::extract( const QgsRectangle &extent, const QgsGeom
break;

case GEOS_POLYGON:
maxCandidates = feat->feature->maximumPolygonCandidates();
maxCandidates = std::max( static_cast< std::size_t >( 4 ), feat->feature->maximumPolygonCandidates() );
break;
}

0 comments on commit d6381bc

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