Thanks for repply.
Does it also mean that other operation like sorting cannot work cause it's
too expensive ?
Actually, i use WFS 2.0.0 on master branch many WFS services don't work
pretty well, i wonder if it is cause the master is a bit broken, or just
because it is app-schema that can't support some of theses services:
sortBy doesnt work (is it because it's too expensive or is it a bug ? )
startIndex doesnt work (it starts with the same feature whatever startindex
value is, and the next="" param in the response is not set)
resultType doesnt work either ..
etc..
Do you think it is normal behavior or bug that i have to investigate on ?
Thanks for help
On Mon, Nov 5, 2012 at 4:03 PM, Andrea Aime <[email protected]>wrote:
> On Mon, Nov 5, 2012 at 3:28 PM, Florent Gravin
> <[email protected]> wrote:
> > Hi,
> >
> > Was wondering why on complex feature schema i have a numberMatched as
> > unknown while the numberReturned is ok.
> >
> > I'm on geoserver master branch. I don't understand because when i debug
> the
> > lines :
> > In GetFeature:buildResults
> >
> > result.setNumberOfFeatures(BigInteger.valueOf(count));
> > result.setTotalNumberOfFeatures(BigInteger.valueOf(total));
> >
> > which are the 2 methods which set the 2 values, both count and total=0, i
> > cant find an other place where the code could set those values in the
> > response, and my response is numberMatched="unknown" numberReturned="4"
> >
> > Just a bit lost with this if someone could give advices thanks
>
> Counting in app-schema is so expensive that it's not even done for the ones
> returned, there is a XSLT sheet counting the results after they are
> encoded to GML.
>
> I believe the reason is that the code can't get to know how many records
> are
> matched without fully reading them anyways.
>
> 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
>
> -------------------------------------------------------
>
--
Florent Gravin
Camptocamp - Chambéry
0479444492
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel