[udig-devel] How to remove all features from a ressource?
Jesse Eichar
jeichar at refractions.net
Thu Apr 5 09:29:28 PDT 2007
There is a "Magic" filter Filter.NONE that indicates that nothing
should be filtered. Use that.
Jesse
On Apr 5, 2007, at 2:59 AM, tony.roth at GMX.de wrote:
> Hi,
> I want to remove all features of an ressource with:
>
> FeatureStore fs = layer.getGeoRessource().resolve
> (FeatureStore.class,null);
> fs.removeFeatures(Filter arg0)
>
> Is it the correct way?
> Since I want to remove all features, I do not have to filter. What
> can I do?
>
> I can take a FidFilter which contains all IDs of all features but I
> hope there is an easier way.
>
> tony roth
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.refractions.net/pipermail/udig-devel/attachments/20070405/31093fd4/attachment.html
More information about the udig-devel
mailing list