Perhaps I'm being simple-minded here, but what's to prevent someone (having set
up the right tooling) from returning DescribeFeatureType XSD that includes
appropriate choice elements, minOccurs=0 attributes, etc., even using imports
for more flexibility? A schema, in short, that would validate a number of
different forms of feature.
I'm not speaking very much to the question of what your WFS average client
might or might not be able to _do_ with such a creature. {grin} It's possible,
though, that some clients (like OpenLayers) might be able to accept and use
such variable features without validating them. I don't think (I welcome
correction!) that OpenLayers validates features received from WFS against
DescribeFeatureType XSD. You might get runtime errors if you ask for operations
on attributes that aren't there, but if that's an acceptable situation, you
might be able to assume a core set of attributes and then use others in some
generic manner.
---
A. Soroka
Digital Research and Scholarship R & D and Online Library Environment
the University of Virginia Library
On Feb 14, 2011, at 1:24 PM, [email protected]
wrote:
> From: Andrea Aime <[email protected]>
> Date: February 14, 2011 9:49:54 AM EST
> To: Mario Basa <[email protected]>
> Cc: [email protected]
> Subject: Re: [Geoserver-users] Parametric SQL with dynamic attribute tables
>
>
> On Mon, Feb 14, 2011 at 3:21 PM, Mario Basa <[email protected]> wrote:
>> Ouch, this is a bit of a showstopper.
>>
>> So aside from creating a view and registering it one by one, I suppose
>> there is no other way of adding dynamic tables. Really curious now how
>> people are able to link BI reports with Geoserver.
>
> My understanding is that those reports are incompatible with the very concept
> of a WFS where DescribeFeatureType should return one and only one
> schema description.
>
> I know that people did that, but they managed to get somehow always the
> same attributes. Not sure what they did though, maybe a generic structure
> with enough attributes.
>
> 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 333 8128928
>
> 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
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users