Skip to content

Commit

Permalink
wfsprovider: set srsName of new geometries (fixes #7880)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 14, 2013
1 parent 1db8347 commit 1ea6267
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/wfs/qgswfsprovider.cpp
Expand Up @@ -365,6 +365,7 @@ bool QgsWFSProvider::addFeatures( QgsFeatureList &flist )
QDomElement gmlElem = QgsOgcUtils::geometryToGML( featureIt->geometry(), transactionDoc );
if ( !gmlElem.isNull() )
{
gmlElem.setAttribute( "srsName", crs().authid() );
geomElem.appendChild( gmlElem );
featureElem.appendChild( geomElem );
}
Expand Down

0 comments on commit 1ea6267

Please sign in to comment.