From: Jody G. <jga...@re...> - 2007-09-21 16:50:32
|
johann Sorel wrote: > 3. Feature edition > Screenshot : > http://img223.imageshack.us/img223/3346/featureeditsr9.jpg > Source : > ~\modules\unsupported\widgets-swing-pending\src\main\java\org\geotools\gui\swing\propertyedit\model\FeatureSourceModel > > Problem : > I have problem here when trying to read and write attributes. > - when i read, i get shaoedatastore error on : FeatureIterator fi = source.getFeatures().features(); > not on all shapes. > You will need to be more specific; and perhaps you are having trouble with a specific shapefile? > - and... how do we write/modify things in 2.5? in 2.4 i used a transaction > and the method store.modifyFeatures(attributeType, aValue, filter); > but under 2.5 it doesn't exist anymore. > what is the new way? > Wow that is news to me; next time I look at 2.5 I will check it out, chances are the new way uses a Name and a Value; but I honestly don't know. Jody |