Skip to content

Commit

Permalink
wfsprovider: also set srsName of changed geometries (followup 1ea6267)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 14, 2013
1 parent 3b32870 commit 0667b94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/wfs/qgswfsprovider.cpp
Expand Up @@ -515,6 +515,7 @@ bool QgsWFSProvider::changeGeometryValues( QgsGeometryMap & geometry_map )
propertyElem.appendChild( nameElem );
QDomElement valueElem = transactionDoc.createElementNS( WFS_NAMESPACE, "Value" );
QDomElement gmlElem = QgsOgcUtils::geometryToGML( &geomIt.value(), transactionDoc );
gmlElem.setAttribute( "srsName", crs().authid() );
valueElem.appendChild( gmlElem );
propertyElem.appendChild( valueElem );
updateElem.appendChild( propertyElem );
Expand Down

0 comments on commit 0667b94

Please sign in to comment.