Angel, Eric wrote:
> Thanks Jody-
>
> Are there any code examples that show how to limit the number of results?
The example on this page:
- http://docs.codehaus.org/display/GEOTDOC/06+FeatureSource

Shows how to limit the number of features returned; and also how to 
minimize the number of attributes requested.

> Also, is it possible to use featureid combined with filters on feature values 
> via FF2?
Id id = ff.id( ff.featureId( "roads.3" ) );
Filter filter = ff.and( id, bboxFilter );

While you can combine this with other filters (say a BBOX filter) the 
specification asks that you keep them separate.
> If anyone has any examples on using featureid with shapefiles, I'd greatly 
> appreciate it.
>   
The normal shapefile example shows how to query with a filter:
- http://docs.codehaus.org/display/GEOTDOC/Shapefile+Plugin

Jody

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to