Re: [Geotools-gt2-users] Modifying Feature geometry in a FeatureCollection

2007-04-25 Thread Jody Garnett
[mailto:[EMAIL PROTECTED] > Sent: 25 April 2007 00:49 > To: Swan Jerry > Cc: geotools-gt2-users@lists.sourceforge.net > Subject: Re: [Geotools-gt2-users] Modifying Feature geometry in a > FeatureCollection > > I think I understand ... the Features you get back - they are a copy. &

Re: [Geotools-gt2-users] Modifying Feature geometry in a FeatureCollection

2007-04-25 Thread Swan Jerry
an Jerry Cc: geotools-gt2-users@lists.sourceforge.net Subject: Re: [Geotools-gt2-users] Modifying Feature geometry in a FeatureCollection I think I understand ... the Features you get back - they are a copy. The real features are stored in the file/database/server .. Did you call Transaction

Re: [Geotools-gt2-users] Modifying Feature geometry in a FeatureCollection

2007-04-24 Thread Jody Garnett
I think I understand ... the Features you get back - they are a copy. The real features are stored in the file/database/server .. Did you call Transaction commit() in order to save your modifications? The other possibility is the code behind next() is failing - it is supposed to check if you hav

[Geotools-gt2-users] Modifying Feature geometry in a FeatureCollection

2007-04-24 Thread Swan Jerry
Dear Geotoolers, I'm iterating through a FeatureCollection and setting the geometry of each of its Features. AFAIK, I'm making all the necessary calls to geometryChanged(), setDefaultGeometry() etc. Immediately after the transformation, getDefaultGeometry() yields the expected value. A short time