Skip to content
Permalink
Browse files
Fix WFS loading with geoserver layers
  • Loading branch information
mhugent committed Feb 20, 2013
1 parent ace4183 commit 0e9717ba4b77d40b430d2fec0cacc9ee7d0f869e
Showing with 3 additions and 5 deletions.
  1. +3 −5 src/core/qgsgml.cpp
@@ -188,9 +188,7 @@ void QgsGml::startElement( const XML_Char* el, const XML_Char** attr )
mParseModeStack.push( QgsGml::boundingBox );
}
else if ( elementName == GML_NAMESPACE + NS_SEPARATOR + "featureMember" )
{
}
else if ( localName == mTypeName )
//else if ( localName == mTypeName )
{
mCurrentFeature = new QgsFeature( mFeatureCount );
QgsAttributes attributes( mThematicAttributes.size() ); //add empty attributes
@@ -308,8 +306,8 @@ void QgsGml::endElement( const XML_Char* el )
mParseModeStack.pop();
}
}
//else if ( elementName == GML_NAMESPACE + NS_SEPARATOR + "featureMember" )
else if ( localName == mTypeName )
//else if ( localName == mTypeName )
else if ( elementName == GML_NAMESPACE + NS_SEPARATOR + "featureMember" )
{
if ( mCurrentWKBSize > 0 )
{

2 comments on commit 0e9717b

@gioman

This comment has been minimized.

Copy link
Contributor

@gioman gioman replied Feb 21, 2013

@mhugent

This comment has been minimized.

Copy link
Contributor Author

@mhugent mhugent replied Feb 21, 2013

Please sign in to comment.