Skip to content

Commit

Permalink
Don't be so strict with bad geometies in spatial query
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed May 28, 2013
1 parent d2831e3 commit a7b92fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/spatialquery/qgsspatialquery.cpp
Expand Up @@ -182,7 +182,7 @@ bool QgsSpatialQuery::hasValidGeometry( QgsFeature &feature )
return false;
}

if ( geom->isGeosEmpty() || !geom->isGeosValid() )
if ( geom->isGeosEmpty() )
{
return false;
}
Expand Down

0 comments on commit a7b92fd

Please sign in to comment.