Re: [Geotools-devel] ShapefileDataStore.modifyFeatureType(...) improvement

2006-10-17 Thread Vitali Diatchkov
] On Behalf Of Cory Horner Sent: Tuesday, October 17, 2006 3:10 AM To: geotools-devel@lists.sourceforge.net Cc: Vitali Diatchkov Subject: Re: [Geotools-devel]ShapefileDataStore.modifyFeatureType(...) improvement Vitali Diatchkov wrote: I would like to see a method public void

Re: [Geotools-devel] ShapefileDataStore.modifyFeatureType(...) improvement

2006-10-16 Thread Cory Horner
Vitali Diatchkov wrote: I would like to see a method public void ShapefileDataStore.modifyFeatureType(AttributeType[] removedTypes, AttributeType[] addedTypes, Object[] defaultAddedValues) throws IOException; for modifying current ShapefileDataStore schema. ... I have implemented the method,

[Geotools-devel] ShapefileDataStore.modifyFeatureType(...) improvement

2006-10-12 Thread Vitali Diatchkov
Hello! I would like to see a method public void ShapefileDataStore.modifyFeatureType(AttributeType[] removedTypes, AttributeType[] addedTypes, Object[] defaultAddedValues) throws IOException; for modifying current ShapefileDataStore schema. There is a unimplemented stuff

Re: [Geotools-devel] ShapefileDataStore.modifyFeatureType(...) improvement

2006-10-12 Thread Jody Garnett
Hi - we had that method in the datastore API but it was removed as nobody ever implemented it as you pointed out. We had proposal as part of the Join idea, with an Expression used to define the default values so that you could calculate them from other attributes (or use a literal expression).