Hem...
damn shortcuts, sent the mail by accident :-)

I was saying, here are the salient bits out of the wfs 1.1 spec, when it
comes to describing how
hits mode should work:

1) The value hits indicates that a web feature service should process the
GetFeature request and rather than return the entire result set, it should
*simply*
*indicate the number of feature instance of the requested feature type(s)
that*
*satisfy the request.*

2) If, however, the value of the resultType attribute is
specified as hits, a web feature service must generate a
<wfs:FeatureCollection>
element with no content (i.e. empty) but must populate the values of the
timeStamp
attribute and the numberOfFeatures attribute. *In this way a client may
obtain a count of*
*the number of features that a query would return without having to incur
the cost of*
*transmitting the entire result set.*

The first could be understood both ways, but the second is clear, we should
count the features
that _would be returned_ in results mode, so maxFeatures should be taken
into account
(and it also means that enabling the "ignore max features in hits mode"
flag puts the wfs
server against the spec, even if it's handy to have it behave that way).

Anyways.. no harm done imho, each administrator is free to decide how to
make it behave,
so I'd just leave things as they are

And this time, I'm really done :-)

Feedback?

Cheers
Andrea

-- 
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to