Skip to content

Commit

Permalink
#6608 QGIS crashes when used as WFS client together with QGIS server …
Browse files Browse the repository at this point in the history
…because of exportToGML2 MultiPolygon has empty coordinates
  • Loading branch information
rldhont committed Nov 18, 2012
1 parent df92f80 commit 4827091
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsgeometry.cpp
Expand Up @@ -5415,6 +5415,7 @@ QDomElement QgsGeometry::exportToGML2( QDomDocument& doc )
}
}
QDomText coordText = doc.createTextNode( coordString );
coordElem.appendChild( coordText );
ringElem.appendChild( coordElem );
boundaryElem.appendChild( ringElem );
polygonElem.appendChild( boundaryElem );
Expand Down

0 comments on commit 4827091

Please sign in to comment.