[mapguide-users] Limiting number of results from Maestro QueryFeatureSource or mapagent SELECTFEATURES?

Galambos, John John.Galambos at vancouver.ca
Thu Apr 17 10:15:51 PDT 2014


Hi all,

Is there a way to limit the number of features returned the MaestroAPI HttpServerConnection.FeatureService.QueryFeatureSource  method? It looks like this accesses the mapagent SELECTFEATURES operation which does not appear to have a  maxFeatures parameter. Are there any FDO query tricks available to accomplish this?

I am hoping to obtain the centroid coordinates of X number of features for every layer in a map definition in order to run some tests on the amount of time it takes to render that layer (at locations that exist). The other approach I see is via the QUERYMAPFEATURES but it seems more oriented to working with a runtime map and selections, whereas I would like to get to those features before the runtime map even exists.

Thank you,

John Galambos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20140417/62afaa15/attachment.html>


More information about the mapguide-users mailing list