[ZOO-Discuss] Multiple supported mime type defintions

Soeren Gebbert soerengebbert at googlemail.com
Tue Nov 16 04:13:10 PST 2010


Hello,
does anybody know how to specify multiple <supported> formats in a .zcfg file?

I have a lot GRASS GIS processes which support many input and output
data formats.

I thought defining multiple "supported" tags will solve this, but the
generated XML process description has only one format listed?

Any help is appreciated.

This is a part of my .zcfg file:

  [input]
  Title = Data source for OGR access
  Abstract =
  minOccurs = 1
  maxOccurs = 1
  <ComplexData>
    <Default>
      mimeType = text/xml
      encoding = UTF-8
      schema = http://schemas.opengis.net/gml/2.1.2/feature.xsd
    </Default>
    <Supported>
      mimeType = text/xml
      encoding = UTF-8
      schema = http://schemas.opengis.net/gml/2.1.2/feature.xsd
    </Supported>
    <Supported>
      mimeType = text/xml
      encoding = UTF-8
      schema = http://schemas.opengis.net/kml/2.2.0/ogckml22.xsd
    </Supported>
    <Supported>
      mimeType = application/dgn
    </Supported>
    <Supported>
      mimeType = application/shp
    </Supported>
    <Supported>
      mimeType = application/x-zipped-shp
    </Supported>
  </ComplexData>


Best regards
Soeren



More information about the Zoo-discuss mailing list