Skip to content
Permalink
Browse files

Identation [BUGFIX] QgsCurvePolygonV2::asGML3, build right GML3 polygon

  • Loading branch information
rldhont committed Jun 30, 2017
1 parent b7f252b commit bbe5e1542cec1af70a3237aafe0fae10b9fd249e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/geometry/qgscurvepolygonv2.cpp
@@ -320,7 +320,7 @@ QDomElement QgsCurvePolygonV2::asGML3( QDomDocument& doc, int precision, const Q
QDomElement outerRing = exteriorRing()->asGML3( doc, precision, ns );
if ( outerRing.tagName() == QString( "Curve" ) )
{
QDomNodeList posListElements = outerRing.elementsByTagName("posList");
QDomNodeList posListElements = outerRing.elementsByTagName( "posList" );
outerRing = doc.createElementNS( ns, "LinearRing" );
outerRing.appendChild( posListElements.at( 0 ) );
}
@@ -336,7 +336,7 @@ QDomElement QgsCurvePolygonV2::asGML3( QDomDocument& doc, int precision, const Q
QDomElement innerRing = interiorRing( i )->asGML3( doc, precision, ns );
if ( innerRing.tagName() == QString( "Curve" ) )
{
QDomNodeList posListElements = innerRing.elementsByTagName("posList");
QDomNodeList posListElements = innerRing.elementsByTagName( "posList" );
innerRing = doc.createElementNS( ns, "LinearRing" );
innerRing.appendChild( posListElements.at( 0 ) );
}

0 comments on commit bbe5e15

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