GeoServer supports *resultType=hits* either as a query parameter (for GET
requests) or an attribute on the GetFeature element (for XML POST requests)
which achieves this effect.

--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, Aug 8, 2011 at 9:53 AM, Thorsten Reitz <
[email protected]> wrote:

> Dear geoserver mailing list,
>
> is there any (good) way of emulating the equivalent of an SQL COUNT(*)
> operation to know beforehand how many features a given query via the WFS
> interface would return? We have a situation where a client is used to
> iteratively refine queries until the "right" number of features is
> returned, and original data can easily be in the 100's of MB.
>
> Thanks & kind regards,
>
> Thorsten
>
> --
> Thorsten Reitz
> Department Head Geovisualisation and Spatial Data Management
>
> Fraunhofer Institute for Computer Graphics Research (IGD)
> Fraunhoferstr. 5 | 64283 Darmstadt | Germany
> Tel +49 6151 155-416 | Fax +49 6151 155-444
> [email protected] | www.igd.fraunhofer.de
>
>
> ------------------------------------------------------------------------------
> BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to