Skip to content

Commit

Permalink
Fix "unexpected geometry type:7" warning thrown by pal geometry handling
Browse files Browse the repository at this point in the history
(cherry picked from commit ae9b8fc)
  • Loading branch information
nyalldawson committed Jan 11, 2019
1 parent 0274be4 commit 53dbb02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/pal/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ QLinkedList<const GEOSGeometry *> *pal::Util::unmulti( const GEOSGeometry *the_g
case GEOS_MULTIPOINT:
case GEOS_MULTILINESTRING:
case GEOS_MULTIPOLYGON:
case GEOS_GEOMETRYCOLLECTION:
nGeom = GEOSGetNumGeometries_r( geosctxt, geom );
for ( i = 0; i < nGeom; i++ )
{
Expand Down

0 comments on commit 53dbb02

Please sign in to comment.