Skip to content
Permalink
Browse files

GML parser: do not use layer extent as feature geometry if the featur…

…e has no geometry
  • Loading branch information
rouault committed Jan 15, 2017
1 parent 283d45a commit 5abe66b4c779801403ee7395b4eee48945c1c552
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsgml.cpp
@@ -904,6 +904,7 @@ void QgsGmlStreamingParser::endElement( const XML_Char* el )
mCurrentFeature == nullptr && mFeatureCount == 0 )
{
mLayerExtent = mCurrentExtent;
mCurrentExtent = QgsRectangle();
}

mParseModeStack.pop();

0 comments on commit 5abe66b

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