Skip to content
Permalink
Browse files

wfsprovider: also set srsName of changed geometries (followup 1ea6267)

  • Loading branch information
jef-n committed Jul 14, 2013
1 parent 3b32870 commit 0667b944071a6bdd17561e1a4a9bd2164881b457
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/providers/wfs/qgswfsprovider.cpp
@@ -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 );

0 comments on commit 0667b94

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