Hi Ben and Andrea,

Thanks a lot for your quick replies.

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).

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.).

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?

Thank you very much,
Sunil

On Friday 10 February 2012 01:34:29 PM IST, Andrea Aime wrote:
> On Fri, Feb 10, 2012 at 5:04 AM, Ben Caradoc-Davies 
> <[email protected]> wrote:
>
>     Sunil,
>
>     please have a look at the gt-app-schema module:
>     http://docs.geotools.org/latest/userguide/extension/app-schema.html
>
>     This is the current evolution of the ancient complex features /
>     community schemas branch.
>
>
> One very important thing to realize about the application schema module is
> that it will only work against target schemas that respect the whole 
> set of
> GML rules (which are many and I don't remember exactly).
>
> The two times I had to deal with complex features I had non GML compliant
> target schemas, one time it was close enough that I could install in 
> GeoServer
> an custom made XSLT hack that transformed the GML compliant xml 
> generated by
> app schema to the expected one, the second time it was so far away that
> I ended up building a custom feature store (not based on Content*,
> implementing directly the FeatureStore inteface) that builds complex 
> features
> out of the application internal object model (it's a GML frontend to 
> an existing
> app that already has its own object model).
>
> So beware, before you invest significant time trying to use the app-schema
> module make sure you are playing against its inteded usage, and/or 
> make sure
> to allocate enough time in your estimates to extend it to match your 
> needs.
>
> Cheers
> Andrea
>
> -- 
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax:      +39 0584 962313
> mob:    +39 339 8844549
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -------------------------------------------------------



------------------------------------------------------------------------------
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

Reply via email to