Skip to content
Permalink
Browse files
Revert "Add feature bounding box to GetFeatureInfo response if invoke…
…d with filter and without x/y coordinates"

This reverts commit fa6748e8cbf214e171af7844e939145c3b2d9f05.
  • Loading branch information
mach0 committed Nov 13, 2011
1 parent 1361aee commit 44af3250e7af73dbbfda6c163f34824e33952ffd
Showing with 0 additions and 9 deletions.
  1. +0 −9 src/mapserver/qgswmsserver.cpp
@@ -1153,15 +1153,6 @@ int QgsWMSServer::featureInfoFromVectorLayer( QgsVectorLayer* layer,
geometryElement.setAttribute( "type", "derived" );
featureElement.appendChild( geometryElement );
}

//append feature bounding box to feature info xml
QDomElement bBoxElem = infoDocument.createElement( "BoundingBox" );
bBoxElem.setAttribute( "CRS", mapRender->destinationCrs().authid() );
bBoxElem.setAttribute( "minx", box.xMinimum() );
bBoxElem.setAttribute( "maxx", box.xMaximum() );
bBoxElem.setAttribute( "miny", box.yMinimum() );
bBoxElem.setAttribute( "maxy", box.yMaximum() );
featureElement.appendChild( bBoxElem );
}
}

0 comments on commit 44af325

Please sign in to comment.