Skip to content

Commit 44af325

Browse files
committedNov 13, 2011
Revert "Add feature bounding box to GetFeatureInfo response if invoked with filter and without x/y coordinates"
This reverts commit fa6748e8cbf214e171af7844e939145c3b2d9f05.
1 parent 1361aee commit 44af325

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed
 

‎src/mapserver/qgswmsserver.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,15 +1153,6 @@ int QgsWMSServer::featureInfoFromVectorLayer( QgsVectorLayer* layer,
11531153
geometryElement.setAttribute( "type", "derived" );
11541154
featureElement.appendChild( geometryElement );
11551155
}
1156-
1157-
//append feature bounding box to feature info xml
1158-
QDomElement bBoxElem = infoDocument.createElement( "BoundingBox" );
1159-
bBoxElem.setAttribute( "CRS", mapRender->destinationCrs().authid() );
1160-
bBoxElem.setAttribute( "minx", box.xMinimum() );
1161-
bBoxElem.setAttribute( "maxx", box.xMaximum() );
1162-
bBoxElem.setAttribute( "miny", box.yMinimum() );
1163-
bBoxElem.setAttribute( "maxy", box.yMaximum() );
1164-
featureElement.appendChild( bBoxElem );
11651156
}
11661157
}
11671158

0 commit comments

Comments
 (0)
Please sign in to comment.