This worked great!
Thanks Jody!
Chad
_____
From: Jody Garnett [mailto:[email protected]]
Sent: Tuesday, September 28, 2010 5:16 PM
To: Hutchins, Mr. Chad
Cc: [email protected]
Subject: Re: [Geotools-gt2-users] Add New Attributes to Existing
SimpleFeature
It is not accomplished directly - since a FeatureType is not changeable
( much like a Java String).
However one thing you can do is create a new SimpleFeatureType using a
builder. There is an init( SimpleFeatureType ) which will configure the
builder with your existing type; you can then modify the type (adding
those two attribtues) and then call build() when done.
Jody
On 29/09/2010, at 1:57 AM, Hutchins, Mr. Chad wrote:
I need to add two new SimpleFeatureType (from a builder, unless there is
another way) attributes to an existing SimpleFeature, how is this
accomplished?
Thanks!
Chad Hutchins
Meteorologist
Naval Research Laboratory
Marine Meteorology Division
------------------------------------------------------------------------
------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev____________________________________
___________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users