Re: [Geotools-devel] SortBy on complex features

2012-09-10 Thread Andrea Aime
On Mon, Sep 10, 2012 at 2:47 AM, Jody Garnett wrote: > Sounds fine Andrea: > > Part of the point of moving to Query as a class was a chance to make > things easier to use. > Err... except we're not talking about query here (but about the filter factory interface instead) Cheers Andrea -- ==

Re: [Geotools-devel] SortBy on complex features

2012-09-09 Thread Jody Garnett
Sounds fine Andrea: Part of the point of moving to Query as a class was a chance to make things easier to use. -- Jody Garnett On Sunday, 9 September 2012 at 6:12 PM, Andrea Aime wrote: > Hi, > the current filter factory allows only one way to build sortBy: > > SortBy sort(String prop

[Geotools-devel] SortBy on complex features

2012-09-09 Thread Andrea Aime
Hi, the current filter factory allows only one way to build sortBy: SortBy sort(String propertyName, SortOrder order); However the above does not work against complex features, we need to be able to use a xpath and provide a namespace support in order for the property to be found using the xp