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

Return original GML 3.1.1 and 3.2.1 schemas for a single FeatureStore and WFS endpoint #892

Closed
dstenger opened this issue Mar 13, 2018 · 2 comments · Fixed by #1005
Closed
Labels
enhancement enhancement or improvement

Comments

@dstenger
Copy link
Contributor

Our aim is to return the description of FeatureTypes of a single FeatureStore (operation: DescribeFeatureType) in different GML formats.
The GML schemas should not be generated by deegree but original, provided schemas should be used.
What is the best approach?

@dstenger dstenger added the enhancement enhancement or improvement label Mar 13, 2018
@dstenger
Copy link
Contributor Author

We tried following approach:

In FeatureStore (schema-driven) both GML versions are configured for all FeatureTypes:

    <GMLSchema>../../appschemas/featurestore_3_1.xsd</GMLSchema>
    <GMLSchema>../../appschemas/featurestore_3_2.xsd</GMLSchema>

In WFS service configuration following options are set:

<GMLFormat gmlVersion="GML_31">
  ...
  <GetFeatureResponse>
    ...
    <DisableDynamicSchema baseURL="http://schema/3.1/">true</DisableDynamicSchema>
    ...
</GMLFormat>

<GMLFormat gmlVersion="GML_32">
  ...
  <GetFeatureResponse>
    ...
    <DisableDynamicSchema baseURL="http://schema/3.2/">true</DisableDynamicSchema>
    ...
</GMLFormat>

DescribeFeatureType operation is used to retrieve the schemas.

Currently, the original schema is returned for GML 3.2. For GML 3.1 on the other hand, a dynamically generated schema is returned.

Expected behaviour:
For GML 3.2 and 3.1 the original schema is returned. This is conform to the configuration.

@dstenger
Copy link
Contributor Author

Issue #455 covers a similar topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhancement or improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant