Dear Geotools-User,
I am looking for a method for adding an attribute
to a Datastore...basically it is a ShapefileDatastore (but it can also be a
PostGIS one). So with the AttributeTypeBuilder/-Factory I create the description
of the desired attribute, but how to expand the the FeatureType in the
Datastore? The updateSchema-method is unfortunately not
supported (also createSchema). The result of this modification need not to be a
ShapefileDatastore again...it is only necessary to complete the data concerning
values for the new attribute for later working with the modified features.
Has somebody experiences or advices which can help to solve my
problem?
Thanks a lot...
Christian.
|