Skip to content

Commit

Permalink
GML parser: do not use layer extent as feature geometry if the featur…
Browse files Browse the repository at this point in the history
…e has no geometry
  • Loading branch information
rouault committed Jan 15, 2017
1 parent f10f82b commit 77ff0f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsgml.cpp
Expand Up @@ -913,6 +913,7 @@ void QgsGmlStreamingParser::endElement( const XML_Char* el )
mCurrentFeature == nullptr && mFeatureCount == 0 )
{
mLayerExtent = mCurrentExtent;
mCurrentExtent = QgsRectangle();
}

mParseModeStack.pop();
Expand Down

0 comments on commit 77ff0f8

Please sign in to comment.