I am new to geotools . I want to edit every
feature one by one.
I saw featureStore.modifyfeatures function can't be used for
and also i don't know how to commit this transaction.
From: Andrea Aime <aaime@op...> - 2009-03-24 09:28:39
ajay singh ha scritto:
> Hi everybody,
> I am new to geotools . I want to edit every
> feature one by one.
> I saw featureStore.modifyfeatures function can't be used for
> single entity.
> and also i don't know how to commit this transaction.
I can be used for a single entity, you just have to create a FID
filter that only matches the entity you want to edit (which assumes
you have a primary key in your database table).
The transaction is auto-commit unless you explitly create one
and set it into the FeatureStore. If you do so, keep the transaction
object around and call commit on it when you're done.
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Get latest updates about Open Source Projects, Conferences and News.