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 283d45a commit 5abe66b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsgml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,7 @@ void QgsGmlStreamingParser::endElement( const XML_Char* el )
mCurrentFeature == nullptr && mFeatureCount == 0 )
{
mLayerExtent = mCurrentExtent;
mCurrentExtent = QgsRectangle();
}

mParseModeStack.pop();
Expand Down

0 comments on commit 5abe66b

Please sign in to comment.