GeoTools How to add attribute to a FeatureType in DataStore

المشرف العام

Administrator
طاقم الإدارة
As you know, you can create a schema in a DataStore. For example, you may create a table in a postgresql database like this:

SimpleFeatureType schema = ...;// some schemaDataStore dataStore = ...;// A Postgresql DataStoredataStore.createSchema(schema); // creates a table inA challenge is that is it possible to modify a postgresql table adding some columns or changing column names By GeoTools.



أكثر...
 
أعلى