On 21/02/12 10:40, Sunil Padda wrote: > We want to be able to do both read& write to the underlying database. > As app-schema gives a read-only view of the data, this doesn't suit our > needs. Is there any work in progress for the future to enable > app-schema to support writes? (As I understand, it's not possible. But, > I would like to confirm).
Correct. app-schema does not yet support transactions (and in the GeoServer world, it does not support WFS-T). One missing piece is the parsing of complex feature GML into GeoTools objects. There is a third-party implementation based on GeoTools but it has not yet been contributed. Some of my colleagues are currently in communication with the authors. My colleagues aim to get GeoTools consuming complex GML. This would likely be of *great* assistance to you. > I didn't look at the app-schema code yet, but is there any code in > app-schema that we could potentially leverage when building a custom > solution (maybe something like ComplexFeatureType, ComplexFeature, > ComplexFeatureBuilder etc.). Potentially. These are just FeatureTypeImpl and FeatureImpl. There is not yet any builder (Andrea has justifiably complained about this); building complex features is rather tricky as it refers to external schemas and circular relationships between types. Please have a look at the many app-schema unit tests. > One last question. Assuming we somehow build our own custom solution to > create complex features, does GeoServer support reads and writes from > it? If not, are there any other WFS servers that do? Sorry, I don't know. Kind regards, -- Ben Caradoc-Davies <[email protected]> Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ GeoTools-GT2-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
