[mapguide][MG105][Modified] QueryFeatures does not honor maximum feature limit
Traian Stanev
traian.stanev at autodesk.com
Tue Mar 14 15:34:01 EST 2006
You can view the artifact detail at the following URL:
https://mapguide.osgeo.org/servlets/Scarab/id/MG105
Type:
Defect
Artifact ID:
MG105 (QueryFeatures does not honor maximum feature limit)
Modified by:
Traian Stanev
traianstanev (traian.stanev at autodesk.com)
The following modifications were made to this artifact:
---------------------------------------------------------------------
Added following comment to artifact::
Automated Comment. Version control commit message.
MG105 : A request to QUERYMAPFEATURES with a parameter MAXFEATURES set to 1 can return more than 1 feature.
Steps to Reproduce: In Sheboygan sample application, make Railroad selectable.
Open Sheboygan sample app for AJAX
Zoom to parcel level where you can see a railroad
Click-select the railroad
=> 2 features are selected, the railroad and the parcel underneath.
The AJAX viewer makes the request with MAXFEATURES=1, so only the first matching feature should be returned, the railroad in that case since it is higher in the drawing order.
Resolution: Fox logic in layer iteration in QueryFeatures().
Modified
File: trunk/MgDev/Server/src/Services/Rendering/ServerRenderingService.cpp https://mapguide.osgeo.org/source/browse/mapguide/trunk/MgDev/Server/src/Services/Rendering/ServerRenderingService.cpp?view=diff&rev=305&p1=trunk/MgDev/Server/src/Services/Rendering/ServerRenderingService.cpp&r1=304&p2=trunk/MgDev/Server/src/Services/Rendering/ServerRenderingService.cpp&r2=305
---------------------------------------------------------------------
This message was automatically generated by Project Tracker.
More information about the Mapguide_issues
mailing list