Yeah, the mime type for gml output for GetFeatureInfo was not really though
out with regard to gml versions. "application/vnd.ogc.gml" is ambiguous.

Ideally choosing the output format would follow the way other output formats
do it and just use a different mime type. "text/xml; subtype=gml/2.1.2" vs
"text/xml; subtype=gml/3.1.1", etc... Choosing output format based on
backend data source could work... albeit a bit tricky. And I think it is
nicer to be explicit.

I could also see a configuration option that allowed the admin to control
whether gml2 or gml3 is used for the "application/vnd.ogc.gml" mime type.

2c.

-Justin

On Wed, Nov 17, 2010 at 2:17 AM, Niels <niels.charl...@csiro.au> wrote:

>  Hi,
>
> I am currently working on making WMS compatible with app-schema (complex
> features).
> I noticed that GetFeatureInfo can only output GML 2 (when choosing gml as
> output format). However complex features can't be encoded in GML2, only
> GML3.
>
> Somehow GML3 will have to be supported in GetFeatureInfo to be able to
> support complex features. But how would be configured which version to use
> ?  (without changing request specifications!)
>
> Ben Caradoc-Davies has suggested that it shouldn't really be the user who
> specifies which version of GML to use. He has suggested that depending on
> which feature type is being returned, an appropriate (default?) version
> should be chosen or suggested by the data provider. Also considering that
> different versions of geosciml run on different versions of gml. This would
> hit the core of geotools, though. But Ben can probably explain this part
> better.
>
> AnY thoughts?
>
> --
> *Niels Charlier*
>
> Software Engineer
> CSIRO Earth Science and Resource Engineering
> Phone: +61 8 6436 8914
>
> Australian Resources Research Centre
> 26 Dick Perry Avenue, Kensington WA 6151
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> Geotools-devel mailing list
> Geotools-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>


-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to