Hi Andrea,

On 27/11/13 19:09, Andrea Aime wrote:
> Hi,
> I'm wondering if anybody can shed some detail about how local and 
> remote references
> are handled in app-schema generated GML?
>
> My impression is that the in memory model of app-schema uses pointers, 
> so there are
> no special containment vs reference nodes, but when encoding, the 
> first element encountered
> gets encoded as containment, and all the subsequent references to the 
> same identifiable
> object are encoded as references. Is this right?

This is right, however app-schema also supports the WFS 2.0 local 
resolve parameters such as resolve depth, which can be used to encode 
featured chained features as a reference from a certain level anyhow. 
And it is a full reference rather than a short same-page kind of 
reference. I implemented that last year. It can even be used to resolve 
a reference without feature chaining (in which case all types will be 
searched).

>
> I'm also wondering about remote references, does app-schema has any 
> support for those?
> Something like, cross feature type references, or references to GML 
> hosted on remote
> servers?
Cross-feature types, yes, but remote, no.
>
> What effects do you see the app-schema implementation would have on 
> implementing
> the wfs valueOf() function, that is meant to resolve references and 
> provide the values?
> If the local references are implemented as I think they are, it would 
> be a "no op" when
> run against the in memory features (as in, no different than just 
> using its argument
> path)
>
Not sure but I would think if you use feature chaining, it should work.

Regards
Niels


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to