Thanks for that Jody. Michael
On 6 May 2010 23:18, Jody Garnett wrote: > Hey you have my input already: Just allow changes to metadata: CS, namespace, > and others :-) > (what does that even mean?) > > Okay all kidding aside the goal here is to replace an existing table; or > shapefile with a new one based on the provided schema. We try and carry > across the current contents; but the technique is not very sophisticated so > we better document as safe for: > - adding attributes (the default value of the new attribute descriptors will > be used) > - removing attributes (don't include them in the schema you are providing) > > And remain carefully silent about modification of existing attributes. > > Thinking: > - To actually allow change/addition of attributes we would need to supply an > expression; for modified attribute. Personally with the current api I would > attach an "update" expression to the attributes descriptors being passed in > and expect them to be evaluated to produce the "new values". > - we should port the uDig "reshape" operation to geotools :-( > > Jody > ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
