Andrea Aime wrote:
On Tue, Oct 5, 2010 at 10:01 AM, Ben Caradoc-Davies
<ben.caradoc-dav...@csiro.au> wrote:
  
On 05/10/10 15:57, Andrea Aime wrote:
    
On Tue, Oct 5, 2010 at 9:51 AM, Ben Caradoc-Davies
<ben.caradoc-dav...@csiro.au>  wrote:
      
Note that WMS does not yet support any DataAccess or non-simple features.
We
have not even investigated how to use xpaths for complex properties in an
SLD.
        
This is precisely what I want to look into. If it's not too hard I'll
make the changes myself,
      
That would be excellent!

    
otherwise I'll roll our a simple feature equivalent of the complex
featuers that can be used
for web mapping
      
That is what out app-schema users do at the moment. Not pretty, but it
works. The main problem is that GetFeatureInfo gives simple data. Better
would be if GetFeatureInfo gave a complex (app-schema) WFS response.
    

Hmm... I don't think that is possible at all with WMS 1.1: even using the GML
output the spec says the output should be GML2.
Maybe WMS 1.3 says GML3, I don't know, but the thing is, as long as thethe WMS
spec says something about the gml version to be used you cannot go out with
an app-schema that uses a different gml version

Cheers
Andrea

-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer

  
E.1 WMS Capabilities XML schema
This Annex contains the XML schema for WMS Capabilities against which service metadata from a server
compliant with this International Standard may be validated.  Comments and documentation elements in the
schema are informative; in case of conflict with the main body of this  International Standard the main body
takes precedence.  The schemaLocation attributes are also informative.
The schema may also be found on-line at <http://schemas.opengis.net/wms/1.3.0/>.
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.opengis.net/wms"
        xmlns="http://www.w3.org/2001/XMLSchema"
        xmlns:wms="http://www.opengis.net/wms"
        xmlns:xlink="http://www.w3.org/1999/xlink"
        elementFormDefault="qualified">
 
  <import namespace="http://www.w3.org/1999/xlink"
          schemaLocation="http://schemas.opengis.net/gml/2.1.2/xlinks.xsd"/>
......................
If I am reading this correctly, the standard is GML2 for WMS1.3 .
This also affects my plans to activate more formats for app-schema layers in the Layer Preview webpage.

It sounds like there is an existing tool somewhere to convert a complex feature to GML2, with loss of information.
Is this code available?

-- 
Tara Athan
Owner, Athan Ecological Reconciliation Services
tara_athan at alt2is.com
707-272-2115 (cell, preferred)
707-485-1198 (office)
249 W. Gobbi St. #A
Ukiah, CA 95482
------------------------------------------------------------------------------
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/beautyoftheweb
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to