Patch for ticket 2459 (v2.6 QUERYMAPFEATURES produces inconsistent results)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Patch for ticket 2459 (v2.6 QUERYMAPFEATURES produces inconsistent results)

Jackie Ng
Hi All,

I've attached a patch for ticket 2459

http://trac.osgeo.org/mapguide/ticket/2459

The decision to use the existing MgRenderingService::QueryFeatureProperties() API for writing attributes for selected features is turning out to be a flawed one. The implementation is known to behave differently from QueryFeatures() in some cases (given the same parameters) that result in an inconsistent v2.6 QUERYMAPFEATURES response.

This attached patch forgoes the use of this API, instead opting to write the feature attributes part of the QUERYMAPFEATURES XML response directly from the MgSelection that is part of the MgFeatureInformation.

Please review. Thanks.

- Jackie