[Geoserver-users] Can I apply a wfs-t on shapefile datastore feature type

All,

I'm using geoserver 1.6.x nightly build, just wonder can I apply wfs
transaction like update, delete on a feature type from a shapfile
datastore?

Thanks,
Yingqi

Yingqi Tang ha scritto:

All,

I'm using geoserver 1.6.x nightly build, just wonder can I apply wfs
transaction like update, delete on a feature type from a shapfile
datastore?

Theoretically you can, but we don't run cite tests against it so
I can't provide guarantees if you intend to use it in production.
Moreover, if the shapefile is not small, all operations are going
to be very slow (delete for sure results in the rewrite of the
shapefile, not sure about the other operations).
And oh, shapefiles id are just row numbers in the shapefile, so
if you delete one feature, all subsequent ones will change id.
All in all, I'd suggest you use a database for whatever WFS-T need
you have.

Cheers
Andrea