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 f10f82b commit 77ff0f833056056665f6e9d2ffaf49add4989017
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsgml.cpp
@@ -913,6 +913,7 @@ void QgsGmlStreamingParser::endElement( const XML_Char* el )
mCurrentFeature == nullptr && mFeatureCount == 0 )
{
mLayerExtent = mCurrentExtent;
mCurrentExtent = QgsRectangle();
}

mParseModeStack.pop();

0 comments on commit 77ff0f8

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