Skip to content
Permalink
Browse files

don't crash on geometryless wfs features

  • Loading branch information
jef-n committed Jun 2, 2015
1 parent 450c3ef commit 6a019ada8aa9cd4286ac7a157383cc300b46d0fd
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsgml.cpp
@@ -369,6 +369,7 @@ void QgsGml::endElement( const XML_Char* el )
if ( mCurrentWKBSize > 0 )
{
mCurrentFeature->setGeometryAndOwnership( mCurrentWKB, mCurrentWKBSize );
mCurrentWKB = 0;
}
else if ( !mCurrentExtent.isEmpty() )
{

0 comments on commit 6a019ad

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