Gabriel Roldán ha scritto:
> On Tuesday 13 February 2007 22:16, Andrea Aime wrote:
>> Gabriel Roldán ha scritto:
>>> hmmm.... it seems nothing in the CQL grammar talks about id filters,
>>> but... the first thing that arises to my head is to extend the definition
>>> of attribute to support @id?
>>> guess that way we'll easily create
>>> <PropertyIsEqualTo><PropertyName>@id</PropertyName><Literal>fid-1</Litera
>>> l></PropertyIsEqualTo>
>>>
>>> The geotools filters shall support that pretty well with the new
>>> PropertyAccessors, but obviously the datastores are not yet that smart?
>> On 2.3.x @id is not taken into accound, nowhere :-(
>> It seems to me @id is a new extension someone added on trunk only?
> 
> yep, that's true...
> kind of stuck here since I really have no time to develope an extension to 
> support fid filters right now... 
> how do you think they should look like?
> it might be not so hard after all

It's not like I absolutely need it, CQL is a new feature in Geoserver, I 
can simply tell people, look, you can do amazing things with CQL, but no 
FID filter, sorry. It's already a neat pleasure to define things in a 
compact and human readable format.

Anyways, a few proposals on how it may look:
* FIDFILTER("fid1", "fid2", ... , "FIDN")
* @id in ("fid1", "fid2", ... , "FIDN")
* @id = "FID1" OR @id = "FID2" OR ... (don't like very much this one)
* @("fid1", "fid2", ... , "FIDN")

Cheers
Andrea

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to