I have noticed that when using sortBy in a WFS request, no matter how many
features are in the result set, the SortedFeatureReader always uses the
disk-backed file to perform the sort. I think it's because the
SortedSimpleFeatureCollection always creates the iterator with maxFeatures
equal to -1.
https://github.com/geotools/geotools/blob/master/modules/library/main/src/main/java/org/geotools/feature/collection/SortedSimpleFeatureCollection.java#L34
This bypasses the call to MergeSortDumper that uses MAX_FEATURES_SORT so
setting that property is of no help. Nor do I know how to set that
property via the WFS pathway.
Any thoughts?
Thanks,
Anthony
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users