Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to define outputFormat parameter for WFS at operation level? #1698

Open
Kate-Lyndegaard opened this issue Jun 6, 2024 · 2 comments
Labels

Comments

@Kate-Lyndegaard
Copy link

Hi,

I would like to configure the allowed outputFormat parameters for each operation my deegree WFS offers. The INSPIRE validator can make DescribeFeatureType requests, for example, for various output formats which can lead to errors. Please see INSPIRE-MIF/helpdesk-validator#29 for further information.

Does anyone have an example of how to configure this? I cannot find an example in the deegree documentation.

@tfr42 tfr42 added the question label Jun 6, 2024
@dstenger
Copy link
Contributor

dstenger commented Jun 6, 2024

Hi,

Thank you for the question.

Am I understanding you correctly that you try to configure the output format to be defined as a child of the operation element?
E.g.:

...
    <ows:Operation name="DescribeFeatureType">
      <ows:DCP>
        <ows:HTTP>
          <ows:Get xlink:href="https://test/wfs"/>
          <ows:Post xlink:href="https://test/wfs"/>
        </ows:HTTP>
      </ows:DCP>
      <ows:Parameter name="outputFormat">
        <ows:AllowedValues>
          <ows:Value>application/gml+xml; version=3.2</ows:Value>
        </ows:AllowedValues>
      </ows:Parameter>
    </ows:Operation>
...

However, deegree is defining it as child of OperationsMetadata per default?
E.g.:

...
  <ows:OperationsMetadata>
    <ows:Operation name="GetCapabilities">
...
    </ows:Operation>
    <ows:Operation name="DescribeFeatureType">
...
    </ows:Operation>
    <ows:Operation name="ListStoredQueries">
...
    </ows:Operation>
    <ows:Operation name="DescribeStoredQueries">
...
    </ows:Operation>
    <ows:Operation name="GetFeature">
...
    </ows:Operation>
    <ows:Operation name="GetPropertyValue">
...
    </ows:Operation>
...
    <ows:Parameter name="outputFormat">
      <ows:AllowedValues>
        <ows:Value>application/gml+xml; version=3.2</ows:Value>
        <ows:Value>application/xml; subtype="gml/3.2.1"</ows:Value>
      </ows:AllowedValues>
    </ows:Parameter>
...
  </ows:OperationsMetadata>
...

Is this the correct understanding of your problem? If not, can you please provide more details?

@Kate-Lyndegaard
Copy link
Author

Hi @dstenger,

Thank you for your response.

Yes, that is my question. I would like to know if it is possible to define the allowed outFormat(s) as child elements for each operation type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants